I'm using Python 2.2.2 wxPython 2.4.1.2 wxGTK 2.4.1 wxGTK and wxPython were compiled with -gtk2 I get this when trying to run it after emerging: Making local file browsing window. Traceback (most recent call last): File "/usr/bin/ftpcube", line 24, in ? main.main (sys.argv) File "/usr/lib/python2.2/site-packages/libftpcube/main.py", line 211, in main app.createMainWindow () File "/usr/lib/python2.2/site-packages/libftpcube/main.py", line 75, in createMainWindow self.main_window = mainwin.MainWindow (NULL, _("Ftpcube")) File "/usr/lib/python2.2/site-packages/libftpcube/mainwin.py", line 119, in __init__ self.localwin = browsewin.LocalWindow (bsplitter) File "/usr/lib/python2.2/site-packages/libftpcube/browsewin.py", line 210, in __init__ util.setListColumnAlignment (self.list, 2, wxLIST_FORMAT_RIGHT) File "/usr/lib/python2.2/site-packages/libftpcube/util.py", line 59, in setListColumnAlignment item_info = list.GetColumn (col) File "/usr/lib/python2.2/site-packages/wxPython/controls2.py", line 645, in GetColumn val = ontrols2c.wxListCtrl_GetColumn(self, *_args, **_kwargs) NameError: global name 'ontrols2c' is not defined Reproducible: Always Steps to Reproduce: 1. 2. 3.
The problem is a bug in wxPython 2.4.12: /usr/lib/python2.2/site-packages/wxPython/controls2.py val = ontrols2c.wxListCtrl_GetColumn(self, *_args, **_kwargs) should read: val = ontrols2c.wxListCtrl_GetColumn(self, *_args, **_kwargs) I've reported this bug and the maintainer of wxPython said it is fixed in the upcoming version.
I was just about to submit a patch for the wxPython 2.4.12 ebuild when I noticed... it was already there. Sorry. I installed 2.4.12 the day it came out, before the official ebuild was ready. This bug is no bug.
so it goes, no worries :)