Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56054 - btdownloadgui.py not working !
Summary: btdownloadgui.py not working !
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-04 07:08 UTC by Genady Okrain
Modified: 2004-12-14 21:01 UTC (History)
2 users (show)

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 Genady Okrain 2004-07-04 07:08:56 UTC
$ btdownloadgui.py
wxPython is either not installed or has not been installed properly.
Traceback (most recent call last):
  File "/usr/bin/btdownloadgui.py", line 23, in ?
    sys.exit(1)
NameError: name 'sys' is not defined


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jon Hood (RETIRED) gentoo-dev 2004-07-04 09:38:26 UTC
could you please post your emerge --info along with the versions of python and bittorrent you are using? Python herd, I think this one's your area.
Comment 2 Lukasz Strzygowski (RETIRED) gentoo-dev 2004-07-04 09:47:24 UTC
Please attach also result of command: python -c 'from wxPython.wx import *'
Comment 3 Genady Okrain 2004-07-04 09:50:54 UTC
$ emerge --info
Portage 2.0.51_pre12 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.4.20040619-r0, 2.6.7-love5)
=================================================================
System uname: 2.6.7-love5 i686 AMD Athlon(tm) XP 2000+
Gentoo Base System version 1.5.1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-ftracer -march=athlon-xp -O3 -ffast-math -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/kde/cvs/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-ftracer -march=athlon-xp -O3 -ffast-math -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.hamakor.org.il/pub/mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/trunk /usr/local/kde"
SYNC="rsync://mirror.hamakor.org.il/gentoo-portage"
USE="x86 3dnow X alsa apache2 avi bidi cups divx4linux gif gtk gtk2 jpeg kde maildir mmx motif mozilla mpeg nls nptl ooo-kde opengl pic png qt samba spell sse ssl truetype xml xvid"

dev-lang/python-2.3.4
net-p2p/bittornado-0.3.4
Comment 4 Genady Okrain 2004-07-04 09:58:31 UTC
 python -c 'from wxPython.wx import *'
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib/python2.3/site-packages/wxPython/__init__.py", line 20, in ?
    import wxc
ImportError: /usr/lib/libwx_gtk2-2.4.so: undefined symbol: _gtk_accel_group_detach
Comment 5 Travis 2004-07-04 14:06:57 UTC
I'd try to `emerge gentoolkit` and run `revdep-rebuild` when you get unresolved symbols.

I'm just trying to jump in here and help...Hope this helps.
Comment 6 Travis 2004-07-04 14:07:42 UTC
I'd try to `emerge gentoolkit` and run `revdep-rebuild` when you get unresolved symbols.

I'm just trying to jump in here and be useful...HTH
Comment 7 Rob Cakebread (RETIRED) gentoo-dev 2004-08-17 22:09:32 UTC
Genady, still having problems with this? I'd recommend upgrading to dev-python/wxpython-2.4.2.4 and x11-libs/wxGTK-2.4.2-r2 if you aren't already using them and the newest bittornado (0.3.7)
Comment 8 Craig Duquette 2004-10-21 12:02:30 UTC
I'm having a similar problem to this bug. Here's my python -C 'from wxPython.wx import *'

Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib/python2.3/site-packages/wxPython/__init__.py", line 20, in ?
    import wxc
ImportError: /usr/lib/python2.3/site-packages/wxPython/wxc.so: undefined symbol: _ZN9wxAppBase16OnFatalExceptionEv

Here's my emerge info too:
Portage 2.0.51 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.2, glibc-2.3.4.20041
006-r0, 2.6.9-cko1 i686)
=================================================================
System uname: 2.6.9-cko1 i686 Mobile Intel(R) Pentium(R) 4     CPU 3.06GHz
Gentoo Base System version 1.5.3
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -ftracer -pipe -fomit-frame-pointer -mfpmath=sse -ff
ast-math"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -O2 -ftracer -pipe -fomit-frame-pointer -mfpmath=sse -
ffast-math -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb bitmap-fonts cdr cups encode esd f77 fam flac foomati
cdb gdbm gif glx gnome gpm gstreamer gtk gtk2 imlib java jpeg junit libg++ libww
w mad mikmod motif mozilla moznocompose moznoirc moznomail mpeg ncurses network 
nls no_wxgtk1 nptl oggvorbis opengl oss pam pdflib perl png ppds python quicktim
e readline samba sdl slang spell sse ssl svga tcpd tiff truetype truetype-fonts 
type1-fonts x86 xml2 xprint xv zlib"
Comment 9 Rob Cakebread (RETIRED) gentoo-dev 2004-10-21 12:49:56 UTC
What does ldd /usr/lib/python2.3/site-packages/wxPython/wxc.so
show for libwx_gtk*

If you upgraded a library that you have upgraded since, you may need to run revdep-rebuild or most likely re-emerge wxpython so it links properly to wxGTK

Let us know what version of wxpython/wxGTK you have emerged if that doesn't help
Comment 10 Craig Duquette 2004-10-21 13:12:32 UTC
I've got...
libwx_gtk2-2.4.so => /usr/lib/libwx_gtk2-2.4.so (0xb795f000)

GTK1 support isn't compiled in. I've already reemerged wxpython and wxGTK and revdeped..

I'm using wxGTK-2.4.2-r3 and wxpython-2.4.2.4
Comment 11 Rob Cakebread (RETIRED) gentoo-dev 2004-10-21 13:25:05 UTC
You might try re-emerging python if it was compiled with a different version of gcc than wxpython and wxGTK.
Comment 12 Craig Duquette 2004-10-21 14:02:08 UTC
I did an emerge -e world a few days ago, so everything has been recompiled with gcc-3.4.2-r2. The wxWindows people thought it was due to multiple gcc versions also.
Comment 13 Rob Cakebread (RETIRED) gentoo-dev 2004-10-22 08:12:37 UTC
I see you have -fvisibility-inlines-hidden in your CXXFLAGS. We just got a bug report saying that causes wxGTK to fail: bug# 68500 Could you please try emerging wxGTK without that and let us know if that helps you? Thanks
Comment 14 Rob Cakebread (RETIRED) gentoo-dev 2004-12-14 11:26:38 UTC
Closing. Craig if you still have problems not related to bug# 68500 please feel free to re-open this.
Comment 15 Craig Duquette 2004-12-14 21:01:15 UTC
Nope everything works here now :D. Thanks guys!