Red Hat Bugzilla – Bug 1460069
[abrt] radiotray: __init__(): AudioPlayerGStreamer.py:43:__init__:ElementNotFoundError: souphttpsrc
Last modified: 2017-07-14 03:03:15 EDT
Description of problem:
Just installed and launched radiotray, got this error
Version-Release number of selected component:
cmdline: /usr/bin/python /bin/radiotray
runlevel: N 5
Traceback (most recent call last):
File "/bin/radiotray", line 15, in <module>
File "/usr/lib/python2.7/site-packages/radiotray/radiotray.py", line 38, in main
File "/usr/lib/python2.7/site-packages/radiotray/RadioTray.py", line 72, in __init__
self.audio = AudioPlayerGStreamer(self.mediator, self.cfg_provider, eventManager)
File "/usr/lib/python2.7/site-packages/radiotray/AudioPlayerGStreamer.py", line 43, in __init__
self.souphttpsrc = gst.element_factory_make("souphttpsrc", "source")
Local variables in innermost frame:
eventManager: <radiotray.events.EventManager.EventManager instance at 0x7f82c3b76758>
cfg_provider: <radiotray.XmlConfigProvider.XmlConfigProvider instance at 0x7f82c3b76638>
self: <radiotray.AudioPlayerGStreamer.AudioPlayerGStreamer instance at 0x7f82c3b76a28>
mediator: <radiotray.StateMediator.StateMediator object at 0x7f82c8d46750>
Potential duplicate: bug 1251562
Created attachment 1286267 [details]
Created attachment 1286268 [details]
Created attachment 1286269 [details]
Created attachment 1286270 [details]
Created attachment 1286271 [details]
Created attachment 1286272 [details]
Created attachment 1286273 [details]
Correct list of dependency packages for the radiotray-0.7.3 :
For playing non-free streams (from RPMFusion) (optional):
radiotray with explicitly set free dependencies for f25 and f26 is built at https://copr.fedorainfracloud.org/coprs/dexpl/radiotray/. Would be nice to have it in official Fedora repos.
(In reply to Vadim Raskhozhev from comment #9)
> radiotray with explicitly set free dependencies for f25 and f26 is built at
> https://copr.fedorainfracloud.org/coprs/dexpl/radiotray/. Would be nice to
> have it in official Fedora repos.
Tested. In order to make RPM fully working, make the following line in .spec file to look like this:
Requires: pyxdg pygobject3 dbus-python gstreamer-python pygtk2-libglade python-lxml notify-python gstreamer-plugins-good
> Requires: pygobject3
Are you sure pygobject3 is actually required? As I see, radiotray cannot work without pygobject2 (not 3), which is dependent on pygtk2.
> Requires: dbus-python pygtk2-libglade
That was actually missing. Fixed in radiotray-0.7.3-10. Please retest.
>Are you sure pygobject3 is actually required?
Of course, I'm sure. And not only me -
By the way, is it possible to build radiotray with gstreamer1? Author had promised this in 0.8.0 release, but where is he now?)) Debian could somehow (https://packages.debian.org/stretch/radiotray). Gstreamer0.10 is deprecated pile of junk now.
>As I see, radiotray cannot work without pygobject2
It's not good. In fresh Debian the radiotray package compiled with gstreamer1 and pygobject3. But Fedora is flagmanship distro, not Debian).
Sorry for a delay, I was quite busy for the last month. Just found out that radiotray-0.7.3-10 with (I hope so) correct dependencies was actually missing in the https://copr.fedorainfracloud.org/coprs/dexpl/radiotray/ repo and added it there. So testing is welcome!
> By the way, is it possible to build radiotray with gstreamer1? Author had promised this in 0.8.0 release, but where is he now?)) Debian could somehow (https://packages.debian.org/stretch/radiotray).
I'm going to take a look at that. Stay tuned.