Bug 671182

Summary: Missing Requires of pyxdg
Product: [Fedora] Fedora Reporter: hannes <johannes.lips>
Component: radiotrayAssignee: Jean-Francois Saucier <jsaucier>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 13CC: editor.buzzfeed, jsaucier
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: radiotray-0.6.3-1.fc13 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-02-03 20:20:58 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description hannes 2011-01-20 17:27:07 UTC
Description of problem:
I wasn't able to start radiotray after I did a yum install radiotray the following error occured:
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'

After installatio of pyxdg everything works as expected.

Comment 1 Michael Schwendt 2011-01-20 18:38:39 UTC
Confirmed. Actually, the message about /usr/bin/src is misleading crap. It's only that way because the /usr/bin/radiotray wrapper hides the real exception and then does something that doesn't make sense for an RPM package install. The real exception is this:

Traceback (most recent call last):
  File "./radiotray", line 7, in <module>
    from radiotray import radiotray
  File "/usr/lib/python2.6/site-packages/radiotray/radiotray.py", line 5, in <module>
    from RadioTray import RadioTray
  File "/usr/lib/python2.6/site-packages/radiotray/RadioTray.py", line 24, in <module>
    from SysTray import SysTray
  File "/usr/lib/python2.6/site-packages/radiotray/SysTray.py", line 38, in <module>
    from lib.common import APPNAME, APPVERSION, APP_ICON_ON, APP_ICON_OFF, APP_ICON_CONNECT
  File "/usr/lib/python2.6/site-packages/radiotray/lib/common.py", line 5, in <module>
    from xdg.BaseDirectory import xdg_data_home
ImportError: No module named xdg.BaseDirectory

Comment 2 Jean-Francois Saucier 2011-01-21 21:37:33 UTC
I will fix this in the next release, thanks for pointing this missing requires to me.

Comment 3 Fedora Update System 2011-01-24 17:26:12 UTC
radiotray-0.6.3-1.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/radiotray-0.6.3-1.fc14

Comment 4 Fedora Update System 2011-01-24 17:37:48 UTC
radiotray-0.6.3-1.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/radiotray-0.6.3-1.fc13

Comment 5 Fedora Update System 2011-01-25 20:56:29 UTC
radiotray-0.6.3-1.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update radiotray'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/radiotray-0.6.3-1.fc14

Comment 6 Fedora Update System 2011-02-03 20:20:44 UTC
radiotray-0.6.3-1.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2011-02-03 20:21:39 UTC
radiotray-0.6.3-1.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 johomes 2016-04-02 06:39:17 UTC
 It's only that way because the /usr/bin/radiotray wrapper hides the real exception and then does something that doesn't make sense for an RPM package install. The real exception is this: http://www.qwiknumbers.com/sky-customer-services

Traceback (most recent call last):
  File "./radiotray", line 7, in <module>
    from radiotray import radiotray
  File "/usr/lib/python2.6/site-packages/radiotray/radiotray.py", line 5, in