I just upgraded Python to 2.5 and upgraded wxPython to 2.8.4.0.
When I attempt to run simpleDemo1.py I get this traceback:
Traceback (most recent call last):
File "C:\Program Files\Python\dabo\dabodemo\simpleDemo1.py", line 103, in
<module>
main()
File "C:\Program Files\Python\dabo\dabodemo\simpleDemo1.py", line 100, in
main
app.start()
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\dApp.py", line
170, in start
self.setup()
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\dApp.py", line
151, in setup
self.initUIApp()
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\dApp.py", line
162, in initUIApp
self.uiApp.setup()
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\uiApp.py",
line 175, in setup
frm = self.dApp.MainForm = mfc()
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dForm.py",
line 762, in __init__
BaseForm.__init__(self, preClass, parent, properties, *args, **kwargs)
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dForm.py",
line 40, in __init__
fm.dFormMixin.__init__(self, preClass, parent, properties, *args, **kwargs)
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dFormMixin.py",
line 55, in __init__
attProperties, *args, **kwargs)
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dPemMixin.py",
line 170, in __init__
self._afterInit()
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dForm.py",
line 62, in _afterInit
super(BaseForm, self)._afterInit()
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dFormMixin.py",
line 68, in _afterInit
self.MenuBar = self.MenuBarClass()
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dMenuBar.py",
line 19, in __init__
pm.dPemMixin.__init__(self, preClass, None, properties, *args, **kwargs)
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dPemMixin.py",
line 170, in __init__
self._afterInit()
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dBaseMenuBar.py",
line 132, in _afterInit
self.appendMenu(FileMenu(self))
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dBaseMenuBar.py",
line 22, in __init__
FileMenu.doDefault(*args, **kwargs)
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\lib\doDefaultMixin.py",
line 45, in doDefault
return method(*args, **kwargs)
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dMenu.py",
line 31, in __init__
pm.dPemMixin.__init__(self, preClass, parent, properties, *args, **kwargs)
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dPemMixin.py",
line 170, in __init__
self._afterInit()
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dBaseMenuBar.py",
line 32, in _afterInit
help=_("Open up a command window for debugging") )
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dMenu.py",
line 173, in append
item = self._getItem(bindfunc, help, bmp, menutype, **kwargs)
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dMenu.py",
line 278, in _getItem
kind=itmtyp, **kwargs)
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dMenuItem.py",
line 18, in __init__
pm.dPemMixin.__init__(self, preClass, parent, properties, *args, **kwargs)
File
"C:\PROGRA~1\PYTHON\Lib\site-packages\Dabo-0.6.2s-py2.4.egg\dabo\ui\uiwx\dPemMixin.py",
line 149, in __init__
preClass.__init__(self, *args, **kwargs)
File "C:\Program
Files\Python\lib\site-packages\wx-2.8-msw-unicode\wx\_core.py", line 11088, in
__init__
_core_.MenuItem_swiginit(self,_core_.new_MenuItem(*args, **kwargs))
wx._core.PyAssertionError: C++ assertion "wxAssertFailure" failed at
..\..\src\common\stockitem.cpp(166) in wxGetStockLabel(): invalid stock item ID
How can I fix this?
Thanks,
--
--Brendan Barnwell
"Do not follow where the path may lead. Go, instead, where there is no path,
and leave a trail."
--author unknown
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/dabo-users/[EMAIL PROTECTED]