I'm trying to build wxPython+wxWidgets on a Linux based PDA, and get
the following error after building and trying to run the demo:
parlar@nomad:/media/sda2/wxPython-src-2.8.7.1$ python wxPython/demo/demo.py
Traceback (most recent call last):
File "/media/sda2/wxPython-src-2.8.7.1/wxPython/wx/_misc.py", line
1341, in Notify
self.notify()
File "/media/sda2/wxPython-src-2.8.7.1/wxPython/wx/_core.py", line
14466, in Notify
self.result = self.callable(*self.args, **self.kwargs)
File "/media/sda2/wxPython-src-2.8.7.1/wxPython/demo/Main.py", line
2132, in ShowMain
frame = wxPythonDemo(None, "wxPython: (A Demonstration)")
File "/media/sda2/wxPython-src-2.8.7.1/wxPython/demo/Main.py", line
1342, in __init__
leftBox.Add(self.tree, 1, wx.EXPAND)
File "/media/sda2/wxPython-src-2.8.7.1/wxPython/wx/_core.py", line
12475, in Add
return _core_.Sizer_Add(*args, **kwargs)
TypeError: wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item
I've searched around a bit and seen a few other people with the same
"TypeError", but haven't seen any solutions other than "compile
again". I've tried that, and no luck. I'm building with gcc-4.1.2
Any thoughts?
Thanks,
Jay P.