I recently upgraded from 2.2 to 2.4 on my debian system.
When I now start the doodle example it crashes.
Traceback (most recent call last):
File "doodle.py", line 210, in ?
app = DoodleApp(0)
File "/usr/lib/python2.2/site-packages/wxPython/wx.py", line 1742, in __init__
_wxStart(self.OnInit)
File "doodle.py", line 201, in OnInit
frame = DoodleFrame(None)
File "doodle.py", line 193, in __init__
self.doodle = DoodleWindow(self, -1)
File "doodle.py", line 42, in __init__
self.MakeMenu()
File "doodle.py", line 88, in MakeMenu
menu.Append(k, text, checkable=true)
File "/usr/lib/python2.2/site-packages/wxPython/windows.py", line 806, in Append
val = apply(windowsc.wxMenu_Append,(self,) + _args, _kwargs)
TypeError: 'checkable' is an invalid keyword argument for this function
As far as I can see that is still the same version as before. It at
least still contains the "checkable=true" construction that causes
the crash.
···
On Wed, Mar 19, 2003 at 09:52:45AM -0800, Robin Dunn wrote:
Antoon Pardon wrote:
>I recently upgraded from 2.2 to 2.4 on my debian system.
>
>When I now start the doodle example it crashes.
>
[...]
>TypeError: 'checkable' is an invalid keyword argument for this function
>
Did you also get the new version of the demo and samples?