[Pythonmac-SIG] wxPython problem...

Jerry LeVan jerry.levan at eku.edu
Mon Apr 23 15:52:25 CEST 2007


Hi,

I am running latest OSX 10.4.9, Python 2.5.1 (r251:54869, Apr 18  
2007, 22:08:04) and
wxPython2.8-osx-unicode-2.8.3.0-universal10.4-py2.5.dmg.

When I try help(wx) I get:

 >>> help(wx)
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site.py", line 346, in __call__
     return pydoc.help(*args, **kwds)
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/pydoc.py", line 1645, in __call__
     self.help(request)
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/pydoc.py", line 1689, in help
     else: doc(request, 'Help on %s:')
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/pydoc.py", line 1481, in doc
     pager(title % desc + '\n\n' + text.document(object, name))
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/pydoc.py", line 324, in document
     if inspect.ismodule(object): return self.docmodule(*args)
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/pydoc.py", line 1084, in docmodule
     contents.append(self.docother(value, key, name, maxlen=70))
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/pydoc.py", line 1283, in docother
     repr = self.repr(object)
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/repr.py", line 24, in repr
     return self.repr1(x, self.maxlevel)
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/pydoc.py", line 951, in repr1
     return cram(stripid(repr(x)), self.maxother)
   File "//Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/wx-2.8-mac-unicode/wx/_gdi.py", line 242, in  
__repr__
     def __repr__(self):                 return 'wx.Colour' + str 
(self.Get(True))
   File "//Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/wx-2.8-mac-unicode/wx/_gdi.py", line 230, in Get
     return _gdi_.Colour_Get(*args, **kwargs)
TypeError: in method 'Colour_Get', expected argument 1 of type  
'wxColour *'
 >>>

Anyone know what the problem could be?

Jerry


More information about the Pythonmac-SIG mailing list