Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108446 - bittornado gives error when trying to execute.
Summary: bittornado gives error when trying to execute.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-07 19:49 UTC by Jason Edson
Modified: 2005-11-10 04:23 UTC (History)
1 user (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 Jason Edson 2005-10-07 19:49:29 UTC
When I try and run btdownloadgui.py it gives this error: wxPython is either not
installed or has not been installed properly. wxPython installed just fine and
it works with other programs.

Reproducible: Always
Steps to Reproduce:
1. run: btdownloadgui.py
2.
3.

Actual Results:  
I get the error described above.

Expected Results:  
bittornado to load up and ask for the torent.

gentoo tmp # emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.12-gentoo-r10 i686)
=================================================================
System uname: 2.6.12-gentoo-r10 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts avi berkdb bitmap-fonts cdr crypt cups curl eds emboss
encode esd fam foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2
imagemagick imlib ipv6 java jpeg kde libg++ libwww mad mikmod motif mozilla mp3
mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt
quicktime readline sdl spell sqlite ssl tcpd tiff truetype truetype-fonts
type1-fonts vorbis xml xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

gentoo tmp #
Comment 1 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-08 02:08:42 UTC
which version of wxpython and bittornado are you using?
Comment 2 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-08 02:48:34 UTC
decreasing majority. it's a normal bug
Comment 3 Mr. Borje Holmberg 2005-10-09 08:45:31 UTC
I have the same problem whenever I try to start btdownloadgui.py I get this 
wxPython is either not installed or has not been installed properly

Have been trying all kinds of humbug fixes from the forums and the net...
nothing helps. Something went kaputt today with the portage update :(
Comment 4 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-09 13:16:32 UTC
(In reply to comment #3)
> I have the same problem whenever I try to start btdownloadgui.py I get this 
> wxPython is either not installed or has not been installed properly
> 

and you've either not written which versions of bittornado and wxpython are you 
using...
Comment 5 Mr. Borje Holmberg 2005-10-09 13:47:18 UTC
well, praised be the Lord. Found a sulution on a German site. It is a wxpython
problem.

I had two wxpythons installed side by side. So I just did

emerge -C wxpython-2.4.2.4-r2

and voil
Comment 6 Mr. Borje Holmberg 2005-10-09 13:47:18 UTC
well, praised be the Lord. Found a sulution on a German site. It is a wxpython
problem.

I had two wxpythons installed side by side. So I just did

emerge -C wxpython-2.4.2.4-r2

and voilà bittorent works and opens again.

I will probably have to mask this version in some way, as the 2.6 wxpython works
but not the earlier.
Comment 7 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-09 14:03:30 UTC
it's not a solution. bittornado works with both wxpython installed. please - try 
recompile 2.4* with the same USE flags as 2.6
Comment 8 Mr. Borje Holmberg 2005-10-09 15:31:00 UTC
Ok. I did that for eight hours today, back and forth and to and fro and it just
did not work, just complained over the silly 'wxPython is either not
installed or has not been installed properly.'

I have the latest unstable bittornado but the stable pythons.

Even did the /usr/sbin/python-updater, but it did not solve anything and neither
did revdep-rebuild.

Then I deleted bittornado and put in bittorrent instead - same problem, the
graphical interface did not open up.

But now it works, so I guess I will have to manually install all updates and
skip the wxpython until the 2.4 wxpython is obsoleted.

Comment 9 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-10 01:37:33 UTC
python guys: can you explain why it works on my system (and works for other 
users) with both wxpython-2.4 and 2.6 installed at the same time and doesn't 
work for Mr. Borje Holmberg ?
Comment 10 Mr. Borje Holmberg 2005-10-10 11:23:40 UTC
I now did -uDav world and got the wxpython 2.4 installed and bittornado stopped
working. Then I tried to reinstall 2.6.1.0 and emerge -pv says:

emerge -pv wxpython-2.6.1.0

These are the packages that I would merge, in order:

Calculating dependencies

!!! Problem in dev-python/wxpython-2.6.1.0 dependencies.
!!! "Specific key requires an operator (dev-python/wxpython-2.6.1.0) (try adding
an '=')" exceptions

Would be nice to figure out what the "key" is.

Regards,

linfan
Comment 11 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-10 12:12:06 UTC
'emerge =wxpython-2.6.1.0" or "emerge wxpython". it's written in manual pages...
Comment 12 Mr. Borje Holmberg 2005-10-10 15:06:19 UTC
OK. But no difference. btdownloadgui.py /Desktop/Crutch*
wxPython is either not installed or has not been installed properly.

will now delete 2.4 and mask it

Thanks for your kind support.

Comment 13 Mr. Borje Holmberg 2005-10-11 05:27:09 UTC
OK. Referring to bug nr 108643. Seems I am not the only one :)
Comment 14 Rob Cakebread (RETIRED) gentoo-dev 2005-10-11 11:09:14 UTC
Please try wxpython-2.4.2.4-r3 added to CVS today and let us know if that fixes it.
Comment 15 Mr. Borje Holmberg 2005-10-11 12:46:41 UTC
Unfortunately I do not know how to operate CVS :(

I did the temporary workaround from bug #108643


"mv /usr/lib/wx{,Python} /usr/lib/python2.4/site-packages/"

on wxpython-2.4.2.4-r2, which was the only one that emerge sync would give me.

Now bittornado works again.

Hopefully the -r3 will turn up in due time :)

Regards

linfan
Comment 16 Marcin Kryczek (RETIRED) gentoo-dev 2005-10-11 13:13:34 UTC
as far as i understand -r3 fixes this problem and bug can be closed. please 
reopen if anyone still has problems
Comment 17 Jason Edson 2005-11-10 03:45:05 UTC
Ok well I now am getting this bug agian. I just did a fresh install and get the
same error: wxPython is either not installed or has not been installed properly.
I have these versions installed:

bittornado: 0.3.14 (also tried with 0.13.13 )
wxGTK: 2.6.2 (also tried with 2.6.1 )
wxPython: 2.6.1.0

gentoo ~ # emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=i686"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups
dbus dvd dvdr dvdread eds emboss encode esd exif expat fam ffmpeg foomaticdb
fortran gdbm gif glut gnome gnutls gpm gstreamer gtk gtk2 idn imlib ipv6 java
jpeg kde lcms libg++ libwww mad mikmod mng motif mozilla mp3 mpeg ncurses nls
nvidia ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime
readline ruby sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev
vorbis win32codecs xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 18 Jason Edson 2005-11-10 03:47:18 UTC
Ok well I now am getting this bug agian. I just did a fresh install and get the
same error: wxPython is either not installed or has not been installed properly.
I have these versions installed:

bittornado: 0.3.14 (also tried with 0.13.13 )
wxGTK: 2.6.2 (also tried with 2.6.1 )
wxPython: 2.6.1.0

gentoo ~ # emerge info
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,
2.6.13-gentoo-r5 i686)
=================================================================
System uname: 2.6.13-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=i686"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe -mcpu=i686"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr crypt cups
dbus dvd dvdr dvdread eds emboss encode esd exif expat fam ffmpeg foomaticdb
fortran gdbm gif glut gnome gnutls gpm gstreamer gtk gtk2 idn imlib ipv6 java
jpeg kde lcms libg   libwww mad mikmod mng motif mozilla mp3 mpeg ncurses nls
nvidia ogg oggvorbis opengl oss pam pcre pdflib perl png python qt quicktime
readline ruby sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts udev
vorbis win32codecs xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 19 Jason Edson 2005-11-10 04:23:02 UTC
Ok sorry for wasting everyones time and double posting my last post which I'm
sure sent you all emails. For some reason I re-emerged everything 2 more times
and for some reason it works now. Don't know what the problem was but I guess it
was just a problem compiling or something. Sorry agian for wasting your time!