wxPython bug
Jive
someone at microsoft.com
Wed Dec 8 22:24:47 EST 2004
Anyone know what's up with this, and how to fix it?
(I'm running MS Windows 2000 Pro, SP 4)
In wxPython 2.5, run the demo, samples/wxProject/wxProject.py
Create a new project and add a file to it. In the console window you will
probably
see something like this:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Traceback (most recent call last):
File "C:\Python23\Lib\site-packages\wxPython2.5 Docs and
Demos\samples\wxProje
ct\wxProject.py", line 224, in OnFileAdd
self.project_save()
File "C:\Python23\Lib\site-packages\wxPython2.5 Docs and
Demos\samples\wxProje
ct\wxProject.py", line 137, in project_save
(child,iter) = self.tree.GetFirstChild(self.root,iter)
File "C:\PYTHON23\Lib\site-packages\wx-2.5.3-msw-ansi\wx\_controls.py",
line 5
235, in GetFirstChild
return _controls_.TreeCtrl_GetFirstChild(*args, **kwargs)
TypeError: TreeCtrl_GetFirstChild() takes exactly 2 arguments (3 given)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
In the source code _controls.py, the comments say the file was created by
SWIG.
What to do?
More information about the Python-list
mailing list