Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107128 - btdownloadgui.py fails to find wxpython
Summary: btdownloadgui.py fails to find wxpython
Status: RESOLVED DUPLICATE of bug 105189
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-24 17:22 UTC by Zak Peirce
Modified: 2005-09-30 16:52 UTC (History)
2 users (show)

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


Attachments
The output of equery (equery.out,48.72 KB, text/plain)
2005-09-25 20:42 UTC, Zak Peirce
Details
Here is the strace (btdownloadgui.log,362.12 KB, text/plain)
2005-09-25 20:43 UTC, Zak Peirce
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zak Peirce 2005-09-24 17:22:45 UTC
After building a fresh gentoo 2005.1 amd64 box i emerged bittornado and when i
try to run btdownloadgui.py i am presented with an error stating that wxpython
is either not installed or not configured correctly.

Reproducible: Always
Steps to Reproduce:
1.Open a terminal
2.type btdownloadgui.py


Actual Results:  
bittornado does not start and gives an error
wxPython is either not installed or has not been installed properly.

Expected Results:  
bittornado should start

localhost zak # emerge --info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
dev-lang/python:     2.4.1-r1
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
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="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac alsa avi berkdb bitmap-fonts cdparanoia cdr cdrw crypt cups
curl directfb dts dvd dvdr dvdread eds emboss encode esd fam firefox flac
foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 ithreads java
jpeg lzw lzw-tiff mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl
png python quicktime readline real samba sdl spell ssl tcpd tiff truetype
truetype-fonts type1-fonts unicode usb userlocales vorbis xml xml2 xmms xpm xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Marcin Kryczek (RETIRED) gentoo-dev 2005-09-25 18:03:09 UTC
please reemerge wxpython one more time. if that won't help, do the following:
1. write which version (or versions) of wxpython and bittorrent are you using (i 
assume, that newest from amd64, but i can be wrong)
2. attach the output of `equery f wxpython` (if you don't have equery, install 
gentoolkit)
3. execute 'strace -o /tmp/btdownloadgui.log btdownloadgui.py' and attach /tmp/
btdownloadgui.log here
Comment 2 Zak Peirce 2005-09-25 20:42:43 UTC
Created attachment 69246 [details]
The output of equery
Comment 3 Zak Peirce 2005-09-25 20:43:09 UTC
Created attachment 69247 [details]
Here is the strace
Comment 4 Zak Peirce 2005-09-25 20:45:12 UTC
localhost ~ # emerge -pv bittornado

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

Calculating dependencies ...done!
[ebuild   R   ] net-p2p/bittornado-0.3.12  +X 0 kB

Total size of downloads: 0 kB
localhost ~ #

localhost ~ # emerge -pv wxpython

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

Calculating dependencies ...done!
[ebuild   R   ] dev-python/wxpython-2.6.1.0  +gtk +gtk2 +opengl +unicode 0 kB

Total size of downloads: 0 kB
localhost ~ #

I have reemerged many different versions of wxpython but i am currently trying
to use 2.6 please take a look at the logs that you asked for

thank you

Comment 5 Marcin Kryczek (RETIRED) gentoo-dev 2005-09-26 02:52:15 UTC
ok. please try to recompile wxGTK either (version 2.6.1). also - paste 'python -
v btdownloadgui.py' if that won't help
Comment 6 Zak Peirce 2005-09-26 12:35:31 UTC
I just rebuilt wxGTK but i still have the same issue.  Here is the -v 

localhost zak # python -v /usr/bin/btdownloadgui.py
# installing zipimport hook
import zipimport # builtin
# installed zipimport hook
# /usr/lib/python2.4/site.pyc matches /usr/lib/python2.4/site.py
import site # precompiled from /usr/lib/python2.4/site.pyc
# /usr/lib/python2.4/os.pyc matches /usr/lib/python2.4/os.py
import os # precompiled from /usr/lib/python2.4/os.pyc
import posix # builtin
# /usr/lib/python2.4/posixpath.pyc matches /usr/lib/python2.4/posixpath.py
import posixpath # precompiled from /usr/lib/python2.4/posixpath.pyc
# /usr/lib/python2.4/stat.pyc matches /usr/lib/python2.4/stat.py
import stat # precompiled from /usr/lib/python2.4/stat.pyc
# /usr/lib/python2.4/UserDict.pyc matches /usr/lib/python2.4/UserDict.py
import UserDict # precompiled from /usr/lib/python2.4/UserDict.pyc
# /usr/lib/python2.4/copy_reg.pyc matches /usr/lib/python2.4/copy_reg.py
import copy_reg # precompiled from /usr/lib/python2.4/copy_reg.pyc
# /usr/lib/python2.4/types.pyc matches /usr/lib/python2.4/types.py
import types # precompiled from /usr/lib/python2.4/types.pyc
# /usr/lib/python2.4/warnings.pyc matches /usr/lib/python2.4/warnings.py
import warnings # precompiled from /usr/lib/python2.4/warnings.pyc
# /usr/lib/python2.4/linecache.pyc matches /usr/lib/python2.4/linecache.py
import linecache # precompiled from /usr/lib/python2.4/linecache.pyc
import encodings # directory /usr/lib/python2.4/encodings
# /usr/lib/python2.4/encodings/__init__.pyc matches
/usr/lib/python2.4/encodings/__init__.py
import encodings # precompiled from /usr/lib/python2.4/encodings/__init__.pyc
# /usr/lib/python2.4/codecs.pyc matches /usr/lib/python2.4/codecs.py
import codecs # precompiled from /usr/lib/python2.4/codecs.pyc
import _codecs # builtin
# /usr/lib/python2.4/encodings/aliases.pyc matches
/usr/lib/python2.4/encodings/aliases.py
import encodings.aliases # precompiled from /usr/lib/python2.4/encodings/aliases.pyc
# /usr/lib/python2.4/encodings/ascii.pyc matches
/usr/lib/python2.4/encodings/ascii.py
import encodings.ascii # precompiled from /usr/lib/python2.4/encodings/ascii.pyc
Python 2.4.1 (#1, Sep 24 2005, 11:14:10)
[GCC 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
import BitTornado # directory /usr/lib64/python2.4/site-packages/BitTornado
# /usr/lib64/python2.4/site-packages/BitTornado/__init__.pyc matches
/usr/lib64/python2.4/site-packages/BitTornado/__init__.py
import BitTornado # precompiled from
/usr/lib64/python2.4/site-packages/BitTornado/__init__.pyc
dlopen("/usr/lib64/python2.4/lib-dynload/sha.so", 2);
import sha # dynamically loaded from /usr/lib64/python2.4/lib-dynload/sha.so
dlopen("/usr/lib64/python2.4/lib-dynload/time.so", 2);
import time # dynamically loaded from /usr/lib64/python2.4/lib-dynload/time.so
# /usr/lib64/python2.4/site-packages/BitTornado/PSYCO.pyc matches
/usr/lib64/python2.4/site-packages/BitTornado/PSYCO.py
import BitTornado.PSYCO # precompiled from
/usr/lib64/python2.4/site-packages/BitTornado/PSYCO.pyc
import wxPython # directory
/usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython
# /usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/__init__.pyc
matches /usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/__init__.py
import wxPython # precompiled from
/usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/__init__.pyc
# /usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/_wx.pyc
matches /usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/_wx.py
import wxPython._wx # precompiled from
/usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/_wx.pyc
# /usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/_core.pyc
matches /usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/_core.py
import wxPython._core # precompiled from
/usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wxPython/_core.pyc
import wx # directory /usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wx
# /usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/__init__.pyc matches
/usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/__init__.py
import wx # precompiled from
/usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/__init__.pyc
# /usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/__version__.pyc
matches /usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/__version__.py
import wx.__version__ # precompiled from
/usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/__version__.pyc
# /usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.pyc matches
/usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.py
import wx._core # precompiled from
/usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core.pyc
dlopen("/usr/lib64/python2.4/site-packages/wx-2.6-gtk2-unicode/wx/_core_.so", 2);
# clear __builtin__._
# clear sys.path
# clear sys.argv
# clear sys.ps1
# clear sys.ps2
# clear sys.exitfunc
# clear sys.exc_type
# clear sys.exc_value
# clear sys.exc_traceback
# clear sys.last_type
# clear sys.last_value
# clear sys.last_traceback
# clear sys.path_hooks
# clear sys.path_importer_cache
# clear sys.meta_path
# restore sys.stdin
# restore sys.stdout
# restore sys.stderr
# cleanup __main__
# cleanup[1] site
# cleanup[1] wx.__version__
# cleanup[1] encodings
# cleanup[1] sha
# cleanup[1] BitTornado
# cleanup[1] _codecs
# cleanup[1] zipimport
# cleanup[1] warnings
# cleanup[1] encodings.ascii
# cleanup[1] codecs
# cleanup[1] types
# cleanup[1] BitTornado.PSYCO
# cleanup[1] signal
# cleanup[1] linecache
# cleanup[1] posix
# cleanup[1] encodings.aliases
# cleanup[1] time
# cleanup[1] exceptions
# cleanup[2] copy_reg
# cleanup[2] posixpath
# cleanup[2] os.path
# cleanup[2] stat
# cleanup[2] UserDict
# cleanup[2] os
# cleanup sys
# cleanup __builtin__
# cleanup ints: 8 unfreed ints in 1 out of 20 blocks
# cleanup floats
localhost zak # vi python.out
localhost zak #
Comment 7 Zak Peirce 2005-09-30 11:57:42 UTC
Looks like this is a known bug with wxGTK-2.6.1 i got it fixed by doing an ugly
fix...

Since wxGTK-2.6.2 is not in portage i did the below and now it is all working :)

cd /home/zak
wget http://easynews.dl.sourceforge.net/sourceforge/wxwindows/wxGTK-2.6.2.tar.gz
tar -xfvz wxGTK-2.6.2.tar.gz
cd wxGTK-2.6.2
mkdir unicode
cd unicode
../configure --with-gtk --enable-unicode --enable-opengl --enable-sdl
make
cd lib
cp * /usr/lib/
btdownloadgui.py 

*** This bug has been marked as a duplicate of 105189 ***
Comment 8 Marcin Kryczek (RETIRED) gentoo-dev 2005-09-30 16:52:03 UTC
well - i can't reproduce that with 2.6.1 either... however it's certainly not 
nice to install soft without portage support. 
wxwindows herd: can you help somehow or add 2.6.2 into the tree?