Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 25924 - ftpcube-0.4.3 won't run w/ wxPython 2.4.1.2
Summary: ftpcube-0.4.3 won't run w/ wxPython 2.4.1.2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-04 19:47 UTC by Rob Cakebread (RETIRED)
Modified: 2003-08-05 21:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Cakebread (RETIRED) gentoo-dev 2003-08-04 19:47:37 UTC
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.
Comment 1 Rob Cakebread (RETIRED) gentoo-dev 2003-08-05 21:23:39 UTC
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.
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2003-08-05 21:40:27 UTC
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.
Comment 3 SpanKY gentoo-dev 2003-08-05 21:46:35 UTC
so it goes, no worries :)