2009/1/28 Henning Hraban Ramm <[email protected]>:
> since about last week none of my dabo apps starts anymore, same with
> DaboDemo. I always get this traceback:
> File
> "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/dabo/dabo/ui/uiwx/dPemMixin.py",
> line 171, in __init__
> preClass.__init__(self, *args, **kwargs)
> File
> "//usr/local/lib/wxPython-unicode-2.8.9.1/lib/python2.5/site-packages/wx-2.8-mac-unicode/wx/_core.py",
> line 11418, in __init__
> _core_.MenuItem_swiginit(self,_core_.new_MenuItem(*args, **kwargs))
> TypeError: 'ItemID' is an invalid keyword argument for this function
It works if I change uiwx/dPemMixin like this:
line 167:
# Do the init:
if threeWayInit:
pre.Create(*args, **kwargs)
else:
if 'ItemID' in kwargs: del(kwargs['ItemID']) # delete
ItemID
preClass.__init__(self, *args, **kwargs)
But I guess the real error is somewhere else?
Greetlings, Hraban
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]