help(wx) gives TypeError

Bug #248330 reported by Markos Gogoulos
2
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/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

Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

I need to test it in the new version, maybe this is already fixed. If not I think this is an upstream bug.

Revision history for this message
Markos Gogoulos (mgogoulos) wrote :

Hi Devid,

indeed this seems to be an upstream bug, since I've seen it on a fedora box with the same version.

Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

Yes, I want to test this on intrepid with 2.8.8.1 version, maybe this is already fixed. If not I will report this to upstream.

Revision history for this message
Markos Gogoulos (mgogoulos) wrote : Re: [Bug 248330] Re: help(wx) gives TypeError

Cool, thanks and regards

On Wed, Jul 23, 2008 at 1:31 PM, Devid Antonio Filoni <
<email address hidden>> wrote:

> Yes, I want to test this on intrepid with 2.8.8.1 version, maybe this is
> already fixed. If not I will report this to upstream.
>
> --
> help(wx) gives TypeError
> https://bugs.launchpad.net/bugs/248330
> You received this bug notification because you are a direct subscriber
> of the bug.
>

--
Under the paving stones, the beach

Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

Confirmed also in 2.8.8.0. I'm going to report this to upstream.

Changed in wxwidgets2.8:
status: New → Confirmed
Revision history for this message
Devid Antonio Filoni (d.filoni) wrote :

The link to the upstream bug:
http://trac.wxwidgets.org/ticket/9780

Changed in wxwidgets:
status: Unknown → New
Revision history for this message
Matthias Klose (doko) wrote :

fixed in 2.8.9.1 in jaunty

Changed in wxwidgets2.8 (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.