Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 373529

Summary: deluge clients 1.3.1 fail to start (claims missing pkg_resources)
Product: Gentoo Linux Reporter: Oo.et.oO <erict>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: critical CC: floppym
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Oo.et.oO 2011-06-30 01:34:03 UTC
$> deluge
Traceback (most recent call last):
  File "/usr/bin/deluge-console", line 5, in <module>
    from pkg_resources import load_entry_point
ImportError: No module named pkg_resources

same thing from deluge-gtk and deluge-console.

deluged is running.  python setuptools is installed.

$) emerge --info deluge   dev-python/setuptools-0.6.15
    
Portage 2.1.9.42 (default/linux/amd64/10.0, gcc-4.4.5, libc-0-r0, 2.6.37-gentoo-r4 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.37-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E4600_@_2.40GHz-with-gentoo-2.0.2
Timestamp of tree: Sat, 25 Jun 2011 10:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.4-r1
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.2-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-kernel/linux-headers: 2.6.36.1
sys-libs/glibc:      2.12.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://mirror.datapipe.net/gentoo http://gentoo.osuosl.org/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages/"
PORTAGE_CONFIGROOT="/"
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="/usr/local/portage/tmpdir"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/ibm-internal /usr/portage/local/layman/mozilla /usr/portage/local/erict"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi afs aim alsa amarok amd64 apache2 apic apm arch_perfmon asf aspell automount avahi avi bash-completion beagle bluetooth bts bzip2 cdparanoia cdr clflush cli cmov constant_tsc cpudetection cracklib crypt cups cx16 cx8 cxx dbus de dga directfb divx dri ds_cpl dts dv dvd dvdnav dvdr dvdread enca encode est evo evolution exif fame fbcon firefox flac fortran fpu ftp fxsr gdbm gif gimp gimpprint glib gmedia gnome-keyring gphoto2 gpm gtk gtkhtml hddtemp ht iconv inotify ipod jabber java javascript joystick jpeg keyring kpathsea lahf_lm lame latex ldap libcaca libnotify live lm lm_sensors loop-aes lzma lzo mad mca mce meanwhile mmap mmx mmx2 mmxext mng modules monitor mozilla mp2 mp3 mp4 mp4live mpeg mplayer msn msr mtrr mudflap multilib musepack musicbrainz mysql ncurses nptl nptlonly nsplugin nvidia nx offensive ogg opengl openmp oscar pae pam pat pbe pcre pda pdf pebs perl pge php plotutils pmu png pni pppd prediction pse pse36 pth pulseaudio python qt3support qt4 quicktime readline realmedia rep_good rtc samba sdk sdl sensord sep session smp sound spell ss sse sse2 sse3 ssl startup-notification subtitles svg syscall sysfs tcpd tetex theora threads tiff tivo tm tm2 truetype tsc unicode urandom usb v4l v4l2 vdpau vim-syntax vme vorbis wmf wmp x264 xanim xine xorg xpm xprint xscreensaver xtpr xulrunner xv xvid xvmc yahoo zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 cgi cgid 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" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="atiusb" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="genesys gt68xx" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-p2p/deluge-1.3.1 was built with the following:
USE="gtk libnotify (multilib) -webinterface"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--no-as-needed"

dev-python/setuptools-0.6.15 was built with the following:
USE="(multilib)"


Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2011-06-30 01:52:13 UTC
Does /usr/lib64/$PYTHON/site-packages/pkg_resources.py exist, where $PYTHON the output of "eselect python show"?

If not, run python-updater.
Comment 2 Pacho Ramos gentoo-dev 2011-07-10 09:46:46 UTC
(In reply to comment #1)
> Does /usr/lib64/$PYTHON/site-packages/pkg_resources.py exist, where $PYTHON the
> output of "eselect python show"?
> 
> If not, run python-updater.

Please reply and reopen then