help(wx) gives TypeError
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wxWidgets |
New
|
Unknown
|
|||
wxwidgets2.8 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hardy comes with python-wxgtk2.6 but one can install python-wxgtk2.8 with "apt-get install python-wxgtk2.8"
Now after installing python-wxgtk2.8, I get the following:
>>> import wx
>>> help(wx)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
return pydoc.help(*args, **kwds)
File "/usr/lib/
self.
File "/usr/lib/
else: doc(request, 'Help on %s:')
File "/usr/lib/
pager(title % desc + '\n\n' + text.document(
File "/usr/lib/
if inspect.
File "/usr/lib/
contents.
File "/usr/lib/
repr = self.repr(object)
File "/usr/lib/
return self.repr1(x, self.maxlevel)
File "/usr/lib/
return cram(stripid(
File "/usr/lib/
def __repr__(self): return 'wx.Colour' + str(self.Get(True))
File "/usr/lib/
return _gdi_.Colour_
TypeError: in method 'Colour_Get', expected argument 1 of type 'wxColour *'
>>> wx.version()
'2.8.7.1 (gtk2-unicode)'
Can you please have a look?
Best regards,
Markos Gogoulos
Changed in wxwidgets: | |
status: | Unknown → New |
I need to test it in the new version, maybe this is already fixed. If not I think this is an upstream bug.