Hi All:
I've downloaded the wxPython 2.8 source RPM and attempted to
build/install it on a Mandriva 2007.0 machine alongside PythonCard
0.8.2. When I run the resource editor, I get an assertion error:
[phile@localhost:/home/phile]
$ /usr/share/PythonCard/tools/resourceEditor/resourceEditor.py
Traceback (most recent call last):
File
"/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
14345, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "/usr/share/PythonCard/tools/resourceEditor/resourceEditor.py",
line 149, in on_initialize
self.updatePanel(self.rsrc)
File "/usr/share/PythonCard/tools/resourceEditor/resourceEditor.py",
line 1273, in updatePanel
self.menuBar.setEnabled('menuFileRun', True)
File "/usr/lib/python2.4/site-packages/PythonCard/menu.py", line 427,
in setEnabled
self.Enable(id, aBoolean)
File
"/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line
11151, in Enable
return _core_.MenuBar_Enable(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "item" failed at
../src/common/menucmn.cpp(1072) in Enable(): attempt to enable an item
which doesn't exist
As you can probably surmise from the message, this is a Unicode build of
wx against GTK2.
Has anybody been able to successfully run PythonCard with wx 2.8 on Linux?
--
Regards
Phil Edwards
Brighton, UK
|