Bittorent client fails to start. This started to happen a few days ago. (Maybe after some system update.) Reproducible: Always Steps to Reproduce: run bittorent Actual Results: console says: vanya@ravlyk ~ $ bittorrent >>> unable to setrlimit not allowed to raise maximum limit Traceback (most recent call last): File "/usr/bin/bittorrent", line 183, in ? from BitTorrent.GUI_wx.DownloadManager import MainLoop File "/usr/lib/python2.4/site-packages/BitTorrent/GUI_wx/__init__.py", line 29, in ? import wx ImportError: No module named wx and then it exits. Expected Results: bittorrent should start normally as previously.
x11-libs/wxGTK versions installed? emerge --info?
Created attachment 142680 [details] emerge --info
vanya@ravlyk ~ $ emerge wxGTK -s Searching... [ Results for search key : wxGTK ] [ Applications found : 1 ] * x11-libs/wxGTK Latest version available: 2.8.7.1-r1 Latest version installed: 2.6.4.0-r3 Size of files: 25,744 kB Homepage: http://wxwidgets.org/ Description: GTK+ version of wxWidgets, a cross-platform C++ GUI toolkit. License: wxWinLL-3 GPL-2 odbc? ( LGPL-2 ) doc? ( wxWinFDL-3 )
What about wxpython?
* dev-python/wxpython Latest version available: 2.8.7.1 Latest version installed: 2.6.4.0-r1
Ok, I think I found a soultion (or workaround). Here is what I did (maybe some of step(s) are unnecessary, I don't know): 1) I ran eselect wxwidgets as was suggested in some elog file regarding wxwidgets or somthing (already removed it, sorry...), regardless it was said that this is optional ravlyk elog # eselect wxwidgets show Current wxWidgets profile: none ravlyk elog # eselect wxwidgets set gtk2-unicode-release-2.6 Setting wxWidgets profile to gtk2-unicode-release-2.6 2) remerged "<dev-python/wxpython-2.8" 3) remerged bittorrent Now it works.. Can somebody investigate and fix this issue? Looks like last wxWidgets update broke it, but I not that competent in this subject. Hope this helps.
I had the same problem, and I figured out I had not installed this package on my system: dev-python/wxpython So I manually emerged it, and in the operation it also automatically emerged wxGTK that was not installed. Now bittorrent works
I had this problem after updating my system yesterday. I don't know which update broke it, but I had wxPython 2.6 installed. I had to add a slotted install of wxPython 2.8 to fix it. Perhaps bittorrent (and bittornado, which had a similar problem) doesn't have the right version of wxPython in its dependencies?
I had the same problem on my stable amd64 system. Reemerging wxpython fixed the issue for me. I think that these two lines at the end of the emerge is the key to the solution: * Linking /usr/lib64/python2.4/site-packages/wx.pth-2.6 to /usr/lib64/python2.4/site-packages/wx.pth (relative) * Linking /usr/lib64/python2.4/site-packages/wxversion.py-2.6 to /usr/lib64/python2.4/site-packages/wxversion.py (relative) Those symlinks were *not* there before the reemerge.
Familiar problem, but cab't find Crypto.Cipher module: $ bittorrent >>> unable to setrlimit not allowed to raise maximum limit Traceback (most recent call last): File "/usr/bin/bittorrent", line 179, in <module> from BitTorrent.MultiTorrent import MultiTorrent File "/usr/lib/python2.5/site-packages/BitTorrent/MultiTorrent.py", line 25, in <module> from BitTorrent.Torrent import Feedback, Torrent File "/usr/lib/python2.5/site-packages/BitTorrent/Torrent.py", line 32, in <module> from BitTorrent.ConnectionManager import ConnectionManager File "/usr/lib/python2.5/site-packages/BitTorrent/ConnectionManager.py", line 22, in <module> from BitTorrent.Connector import Connector File "/usr/lib/python2.5/site-packages/BitTorrent/Connector.py", line 27, in <module> from Crypto.Cipher import ARC4 ImportError: No module named Crypto.Cipher $ eix -s crypto * app-crypt/cryptoapi Available versions: 2.4.7.0 Homepage: http://www.sourceforge.net/projects/cryptoapi Description: Modules that add encryption ability at the kernel level. * app-xemacs/ecrypto Available versions: 0.20 Homepage: http://xemacs.org/ Description: Crypto functionality in Emacs Lisp. * dev-java/gnu-crypto Available versions: 2.0.1-r2 {doc elibc_FreeBSD source} Homepage: http://www.gnu.org/software/gnu-crypto/ Description: GNU Crypto cryptographic primitives for Java * dev-libs/crypto++ Available versions: 5.5.2 {sse2} Homepage: http://cryptopp.com Description: Crypto++ is a C++ class library of cryptographic schemes * dev-libs/opencryptoki Available versions: (~)2.2.4.1 {tpmtok} Homepage: http://sourceforge.net/projects/opencryptoki Description: PKCS#11 provider for IBM cryptographic hardware * dev-ml/cryptokit Available versions: (~)1.3 {doc ocamlopt} Homepage: http://cristal.inria.fr/~xleroy/software.html Description: Cryptographic primitives library for Objective Caml * dev-python/m2crypto Available versions: 0.16 (~)0.18.2 {doc} Homepage: http://wiki.osafoundation.org/bin/view/Projects/MeTooCrypto Description: A python wrapper for the OpenSSL crypto library [I] dev-python/pycrypto Available versions: 2.0.1-r5 2.0.1-r6 {bindist gmp test} Installed versions: 2.0.1-r6(02:38:58 22.06.2008)(-bindist -gmp -test) Homepage: http://www.amk.ca/python/code/crypto.html Description: Python Cryptography Toolkit Found 8 matches. $ emerge --info WARNING: repository at /usr/local/portage is missing a repo_name entry Portage 2.2_rc1 (default/linux/x86/2008.0, gcc-4.3.1, glibc-2.6.1-r0, 2.6.25-gentoo-r5-oss i686) ================================================================= System uname: Linux-2.6.25-gentoo-r5-oss-i686-Intel-R-_Pentium-R-_4_CPU_3.00GHz-with-glibc2.0 Timestamp of tree: Sat, 28 Jun 2008 02:00:02 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7, 2.1.6 dev-lang/python: 2.4.4-r13, 2.5.2-r4 dev-python/pycrypto: 2.0.1-r6 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.2.5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.62 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1 sys-devel/binutils: 2.18-r2 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.4 virtual/os-headers: 2.6.25-r4 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -pipe -O3 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=prescott -pipe -O3 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.osuosl.org/ " LANG="ru_RU.UTF-8" LC_ALL="" LDFLAGS="" LINGUAS="ru" MAKEOPTS="-j2" 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/local/portage/layman/sunrise /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="16bit 7zip X X509 a52 aac acl acpi adplug alsa apm audiofile bdf berkdb blender-game bzip2 cairo caps cddb cli cpudetection cracklib crypt css cups curl cvs dbus disk-partition djvu dri dts dvd dvdr dvdread dvi emovix encode fame fat ffmpeg flac foomaticdb fortran gdbm gif gimp gimpprint gpm gtk hal hddtemp iconv id3 id3tag idle imagemagick imlib ipv6 isdnlog ithreads jabber jack jack-tmpfs jpeg kde kqemu ladspa ldap libnotify libsamplerate lm_sensors logitech-mouse lzo maps matroska midi mjpeg mmap mmx mmxext modplug mp2 mp3 mp4 mpeg mudflap musepack musicbrainz ncurses nls nptl nptlonly nsplugin nspr ntfs odk ogg openal opengl openmp optimisememory oss pam parse-clocks pcre pdf perl plotutils png pnm policykit postgres postscript ppds pppd pulseaudio python qt3 qt3support qt4 readline reflection reiser4 reiserfs rtc samba scanner sdl session slang smp sndfile sound soundtouch speex spell spl sql sqlite sqlite3 sse sse2 ssl subversion svg symlink tcpd teletext theora threads tiff tk transcode trayicon truetype tta uml unicode urandom usb v4l v4l2 vamp vcd vorbis wav wavpack webdav win32codecs winbind x264 x86 xfce xhtml xine xinerama xml xorg xulrunner xv xvid yv12 zlib" ALSA_CARDS="intel8x0" 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 auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" LIRC_DEVICES="audio audio_alsa avermedia" USERLAND="GNU" VIDEO_CARDS="vesa vga fglrx radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS $
reemerge dev-python/pycrypto to fix "ImportError: No module named Crypto.Cipher " error
(In reply to comment #10) I met the same problem with #10. And it got to work after "emerge pycrypto" mannually. So I think that Bittorrent depends Pycrypto and the dependence hasn't been written into the ebuild of Bittorrent.
We're dropping 5.x. This shouldn't be a problem with 4.4.0.