Public bug reported:
When running radiotray from the terminal this is the error I see:
/usr/lib/python2.7/dist-packages/radiotray/XmlDataProvider.py:23: PyGIWarning:
Gtk was imported without specifying a version first. Use
gi.require_version('Gtk', '3.0') before import to ensure that the right version
gets loaded.
from gi.repository import Gtk
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 looking online, it appears that some dependencies are missing and
that the file /usr/bin/radiotray is not correct. This post on the
radiotray developer bugtracker solved the issue:
https://bitbucket.org/carlmig/radio-tray/issues/266/upgrade-to-
kubuntu-1604-from-1510-killed
Quoting the solution:
" I am able to get radiotray running by doing the following:
sudo apt-get install python-xdg
and editing /usr/bin/radiotray:
ebruck@ebruck-VirtualBox-1604:/usr/bin$ cat radiotray
#!/usr/bin/python
import sys,os
from os.path import dirname, join, pardir
try:
from radiotray import radiotray_runner
except ImportError:
#basedir = os.path.dirname(os.path.realpath(__file__))
#workdir = join(basedir,'src')
workdir = "/usr/lib/python2.7/dist-packages/radiotray/"
sys.path.insert(0, workdir)
os.chdir(workdir)
import radiotray_runner
radiotray_runner.main(sys.argv[1:])
It appears the packaging is broken. Please file a bug in Launchpad."
** Affects: radiotray (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1575309
Title:
Radiotray package is broken
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/radiotray/+bug/1575309/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs