Public bug reported:
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/python2.5/site.py", line 342, in __call__
return pydoc.help(*args, **kwds)
File "/usr/lib/python2.5/pydoc.py", line 1646, in __call__
self.help(request)
File "/usr/lib/python2.5/pydoc.py", line 1690, in help
else: doc(request, 'Help on %s:')
File "/usr/lib/python2.5/pydoc.py", line 1481, in doc
pager(title % desc + '\n\n' + text.document(object, name))
File "/usr/lib/python2.5/pydoc.py", line 324, in document
if inspect.ismodule(object): return self.docmodule(*args)
File "/usr/lib/python2.5/pydoc.py", line 1084, in docmodule
contents.append(self.docother(value, key, name, maxlen=70))
File "/usr/lib/python2.5/pydoc.py", line 1283, in docother
repr = self.repr(object)
File "/usr/lib/python2.5/repr.py", line 24, in repr
return self.repr1(x, self.maxlevel)
File "/usr/lib/python2.5/pydoc.py", line 951, in repr1
return cram(stripid(repr(x)), self.maxother)
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode/wx/_gdi.py", line
242, in __repr__
def __repr__(self): return 'wx.Colour' + str(self.Get(True))
File "/usr/lib/python2.5/site-packages/wx-2.8-gtk2-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 *'
>>> wx.version()
'2.8.7.1 (gtk2-unicode)'
Can you please have a look?
Best regards,
Markos Gogoulos
** Affects: wxwidgets2.8 (Ubuntu)
Importance: Undecided
Status: New
--
help(wx) gives TypeError
https://bugs.launchpad.net/bugs/248330
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs