Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 233004 - net-p2p/bittorrent-5.0.9-r1: bittorent fails to start
Summary: net-p2p/bittorrent-5.0.9-r1: bittorent fails to start
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo net-p2p team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 336166
  Show dependency tree
 
Reported: 2008-07-26 16:04 UTC by Thomas Jäger
Modified: 2011-03-16 02:35 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 Thomas Jäger 2008-07-26 16:04:35 UTC
When running bittorrent it dies showing the following error stack:


# bittorrent

Traceback (most recent call last):
  File "/usr/bin/bittorrent", line 198, in <module>
    mainloop = MainLoop(config)
  File "/usr/lib64/python2.5/site-packages/BitTorrent/GUI_wx/DownloadManager.py", line 2958, in __init__
    BTApp.__init__(self, 0)
  File "/usr/lib64/python2.5/site-packages/BitTorrent/GUI_wx/__init__.py", line 782, in __init__
    wx.App.__init__(self, *a, **k)
  File "usr/lib64/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 7755, in __init__
  File "usr/lib64/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 7407, in _BootstrapApp
  File "/usr/lib64/python2.5/site-packages/BitTorrent/GUI_wx/DownloadManager.py", line 2973, in OnInit
    self.main_window = MainWindow(None, wx.ID_ANY, app_name, style=style)
  File "/usr/lib64/python2.5/site-packages/BitTorrent/GUI_wx/DownloadManager.py", line 2350, in __init__
    self.sizer.Add(self.tool_sizer, flag=wx.GROW)
  File "usr/lib64/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/_core.py", line 11766, in Add
TypeError: wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item


# eselect wxwidgets list
Available wxWidgets profiles:
  [1]   gtk2-ansi-release-2.6
  [2]   gtk2-unicode-release-2.6 *
  [3]   gtk2-unicode-release-2.8


# emerge =wxGTK-2.6*, =wxpython-2.6*, bittorrent
after re-emerge wxGTK,wxpython,bittorent bittorrent isnt running at all



Reproducible: Always

Steps to Reproduce:




 emerge --info
Portage 2.1.4.4 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo x86_64)
=================================================================
System uname: 2.6.26-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Timestamp of tree: Sat, 26 Jul 2008 06:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r13, 2.5.2-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse3 "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/lib/jboss-bin-4/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3 "
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks maketest metadata-transfer sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://gentoo.ynet.sk/pub http://gentoo.mirror.solnet.ch http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay /usr/portage/local/layman/gentoo-de /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 apache2 berkdb bidi bluetooth bzip2 cairo cddb cdparanoia cdr cgi chroot cli cracklib crypt ctype cups curl dbus dedicated dga dri dvb dvd dvdr dvdread eds encode esd evo exif expat fastcgi ffmpeg flac foomaticdb gd gdbm geoip gif gimp gnome gnome-keyring gnutls gphoto2 gpm gstreamer gtk hal iconv imagemagick imap isdnlog java jpeg jpeg2k lame lcms lm_sensors mad mbox midi mikmod mmx mozilla mp3 mpeg mudflap multilib mysql nautilus ncurses networkmanager nls nntp nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl php png ppds pppd python quicktime readline reflection samba sasl sdl session spell spl sqlite3 sse sse2 ssl svg tcpd theora threads tiff truetype unicode usb v4l vcd videos vorbis wmf wxwindows x264 xattr xinetd xml xorg xpm xprint xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling status substitute unique_id userdir usertrack version vhost_alias" APACHE2_MPMS="worker" CAMERAS="directory fuji ptp2 template" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia fbdev v4l vesa vga nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Clemmitt M. Sigler 2008-08-11 16:51:32 UTC
(In reply to comment #0)
> When running bittorrent it dies showing the following error stack:
> 
> # bittorrent
> 
> Traceback (most recent call last):
>   File "/usr/bin/bittorrent", line 198, in <module>
>     mainloop = MainLoop(config)
> .
> .
> .
>   File "usr/lib64/python2.5/site-packages/wx-2.6-gtk2-unicode/wx/_core.py",
> line 11766, in Add
> TypeError: wx.Window, wx.Sizer, wx.Size, or (w,h) expected for item

FWIW, I had the *EXACT* same error on Intel x86.  Installed versions:

[ebuild   R   ] x11-libs/wxGTK-2.8.7.1-r1  USE="X gstreamer opengl sdl -debug -doc -gnome -odbc -pch" 0 kB
[ebuild   R   ] x11-libs/wxGTK-2.6.4.0-r3  USE="X opengl sdl unicode -debug -doc -gnome -odbc -pch" 0 kB
[ebuild   R   ] dev-python/wxpython-2.6.4.0-r1  USE="opengl unicode" 0 kB
[ebuild   R   ] dev-python/wxpython-2.8.7.1  USE="opengl" 0 kB
[ebuild   R   ] net-p2p/bittorrent-5.0.9-r1  USE="gtk" 0 kB

Also, wxwidgets profile set:

# eselect wxwidgets list
Available wxWidgets profiles:
  [1]   gtk2-ansi-release-2.6
  [2]   gtk2-unicode-release-2.6
  [3]   gtk2-unicode-release-2.8 *

I seemed able to fix this problem by re-emerging all the wxGTK, wxpython and bittorrent packages above, then running 'python-updater'. (revdep-rebuild found no packages with outdated dependencies.)  After this, bittorrent ran fine *shrug*  HTH.

Clemmitt
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2011-03-16 02:35:42 UTC
We're dropping 5.x.  This shouldn't be a problem with 4.4.0.