[ wxwindows-Bugs-1885495 ] wx 2.8 - python 2.4 introspection

SourceForge.net noreply at sourceforge.net
Sat Feb 2 16:32:29 PST 2008


Bugs item #1885495, was opened at 2008-02-02 17:32
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1885495&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: wxGTK specific
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Roger (rhm84119)
Assigned to: Nobody/Anonymous (nobody)
Summary: wx 2.8 - python 2.4 introspection

Initial Comment:
A 2.8 change in function signature for _core_.Window_GetAcceleratorTable

seems to break /usr/lib/python2.4/inspect.py as the last 4 lines of the backtrace below illustrate.

My question is what should change to resolve this?
/usr/lib/python2.4/inspect.py ??
wx 2.8 _core.py or _core_.so ??

The same problem exists for AutoLayout, BackgroundColour, BackgroundColour, Bestsize, CharHeight, and many others.


Traceback (most recent call last):
  File "CastPodderGui.py", line 3731, in ?
    main()
  File "CastPodderGui.py", line 3725, in main
    myApp = iPodderGui(ipodder)
  File "CastPodderGui.py", line 725, in __init__
    wx.App.__init__(self, False, None)
  File "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7895, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 7470, in _BootstrapApp
    return _core_.PyApp__BootstrapApp(*args, **kwargs)
  File "CastPodderGui.py", line 1588, in OnInit
    self.InitHooks()
  File "CastPodderGui.py", line 1940, in InitHooks
    for att, method in inspect.getmembers(self, inspect.ismethod):
  File "/usr/lib/python2.4/inspect.py", line 198, in getmembers
    value = getattr(object, key)
  File "/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode/wx/_core.py", line 9517, in GetAcceleratorTable
    return _core_.Window_GetAcceleratorTable(*args, **kwargs)
TypeError: in method 'Window_GetAcceleratorTable', expected argument 1 of type 'wxWindow *'


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=109863&aid=1885495&group_id=9863




More information about the wx-dev mailing list