Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 322589 - media-sound/radiotray: Wrong dependencies
Summary: media-sound/radiotray: Wrong dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-03 12:22 UTC by Alexandru Cepoi
Modified: 2010-06-04 11:08 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 Alexandru Cepoi 2010-06-03 12:22:41 UTC
RadioTray won't start. Did someone actually get it working?

$ radiotray 
Traceback (most recent call last):
  File "/usr/bin/radiotray", line 12, in <module>
    os.chdir(workdir)
OSError: [Errno 2] No such file or directory: '/usr/bin/src'

I can't understand what the hell it is looking for in /usr/bin/src.
From what i can tell, /usr/lib/python2.6/site-packages/radiotray/radiotray.py is the main program, but:
$ python /usr/lib64/python2.6/site-packages/radiotray/radiotray.py
Traceback (most recent call last):
  File "/usr/lib64/python2.6/site-packages/radiotray/radiotray.py", line 5, in <module>
    from RadioTray import RadioTray
  File "/usr/lib64/python2.6/site-packages/radiotray/RadioTray.py", line 24, in <module>
    from StateMediator import StateMediator
  File "/usr/lib64/python2.6/site-packages/radiotray/StateMediator.py", line 22, in <module>
    from Notification import Notification
  File "/usr/lib64/python2.6/site-packages/radiotray/Notification.py", line 20, in <module>
    import pynotify
ImportError: No module named pynotify

I don't know python, but isn't the module called pyinotify?

Reproducible: Always

Steps to Reproduce:
1. Start radiotray
Actual Results:  
program crashes

Expected Results:  
program starts

# emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.1-r0, 2.6.33-gentoo x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 03 Jun 2010 10:15:02 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
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.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.7b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -pipe -msse4.1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-O2 -march=core2 -pipe -msse4.1"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS=" http://ftp.roedu.net/pub/mirrors/gentoo.org/ http://mirrors.evolva.ro/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j1"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aac acl acpi alsa amd64 apache2 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups cxx dbus dga djvu dri dvd dvdr emacs encode exif fbcon flac fortran gdbm gif gnome gnutls gpm gstreamer gtk hal iconv ieee1394 ipod ipv6 java java6 jpeg jpeg2k libnotify mad mmx modules mono mp3 mplayer mudflap multilib nautilus ncurses networkmanager nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png policykit postgres pppd pulseaudio python qt3support quicktime readline reflection ruby samba sdl session smp spl sqlite3 sse sse2 ssl subversion svg sysfs tcpd tiff truetype unicode vim-syntax vnc vorbis wifi x264 xorg xvid zeroconf 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 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 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="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" NETBEANS_MODULES="apisupport harness ide java nb websvccommon cnd enterprise dlight profiler" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Markos Chandras (RETIRED) gentoo-dev 2010-06-03 12:28:13 UTC
Works for me

Try to emerge it again and launch it from another terminal or from the .desktop file. I had the same problem and it seems like python is getting confused about the paths
Comment 2 Alexandru Cepoi 2010-06-03 16:37:47 UTC
I did try all of those a couple of times and it seems like python is still confused for me..

What is your python version and use flags?

> Works for me
> 
> Try to emerge it again and launch it from another terminal or from the .desktop
> file. I had the same problem and it seems like python is getting confused about
> the paths
> 

Comment 3 Markos Chandras (RETIRED) gentoo-dev 2010-06-03 17:26:00 UTC
2.6.5-r2

gdbm ncurses readline sqlite ssl threads wide-unicode xm


Ccing python to see if they have some ideas about this
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-06-03 19:32:36 UTC
Maybe media-sound/radiotray should have dependency on dev-python/notify-python instead of dev-python/pyinotify?
Comment 5 Alexandru Cepoi 2010-06-04 00:04:16 UTC
Tested and it works. Thanks.
Please close bug and revbump ebuild.

> Maybe media-sound/radiotray should have dependency on dev-python/notify-python
> instead of dev-python/pyinotify?
> 

Comment 6 Alexandru Cepoi 2010-06-04 00:07:25 UTC
weird tho.. on their site it lists pyinotify and not notify-python
> Tested and it works. Thanks.
> Please close bug and revbump ebuild.
> 
> > Maybe media-sound/radiotray should have dependency on dev-python/notify-python
> > instead of dev-python/pyinotify?
> > 
> 

Comment 7 Markos Chandras (RETIRED) gentoo-dev 2010-06-04 08:00:45 UTC
Yes and this is what confused me. Anyway

No reason to bump it. Others will have the right dependencies when they perform a world update

Thanks for reporting this
Comment 8 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-06-04 10:20:12 UTC
You haven't committed anything.
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2010-06-04 11:08:07 UTC
Sorry got disconnected from wan so the commit failed. All done now