Bug 1460069

Summary: [abrt] radiotray: __init__(): AudioPlayerGStreamer.py:43:__init__:ElementNotFoundError: souphttpsrc
Product: [Fedora] Fedora Reporter: Vadim Raskhozhev <iamdexpl>
Component: radiotrayAssignee: Jean-Francois Saucier <jsaucier>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: ghost-87, jsaucier
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/027dc984142a0aa85176886f71691487197dba3a
Whiteboard: abrt_hash:2d271134be31b248d0b5bfcc304e0b7ec1112217;
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-29 11:38:29 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:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Vadim Raskhozhev 2017-06-09 00:56:58 UTC
Description of problem:
Just installed and launched radiotray, got this error

Version-Release number of selected component:
radiotray-0.7.3-8.fc26

Additional info:
reporter:       libreport-2.9.1
cmdline:        /usr/bin/python /bin/radiotray
crash_function: __init__
exception_type: ElementNotFoundError
executable:     /bin/radiotray
kernel:         4.11.3-300.fc26.x86_64
runlevel:       N 5
type:           Python
uid:            1000

Truncated backtrace:
AudioPlayerGStreamer.py:43:__init__:ElementNotFoundError: souphttpsrc

Traceback (most recent call last):
  File "/bin/radiotray", line 15, in <module>
    radiotray.main(sys.argv[1:])
  File "/usr/lib/python2.7/site-packages/radiotray/radiotray.py", line 38, in main
    RadioTray()
  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")
ElementNotFoundError: souphttpsrc

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

Comment 1 Vadim Raskhozhev 2017-06-09 00:57:03 UTC
Created attachment 1286267 [details]
File: backtrace

Comment 2 Vadim Raskhozhev 2017-06-09 00:57:05 UTC
Created attachment 1286268 [details]
File: cgroup

Comment 3 Vadim Raskhozhev 2017-06-09 00:57:06 UTC
Created attachment 1286269 [details]
File: cpuinfo

Comment 4 Vadim Raskhozhev 2017-06-09 00:57:08 UTC
Created attachment 1286270 [details]
File: environ

Comment 5 Vadim Raskhozhev 2017-06-09 00:57:10 UTC
Created attachment 1286271 [details]
File: mountinfo

Comment 6 Vadim Raskhozhev 2017-06-09 00:57:11 UTC
Created attachment 1286272 [details]
File: namespaces

Comment 7 Vadim Raskhozhev 2017-06-09 00:57:13 UTC
Created attachment 1286273 [details]
File: open_fds

Comment 8 ghost-87 2017-06-09 16:27:46 UTC
Correct list of dependency packages for the radiotray-0.7.3 :

gstreamer
gstreamer-plugins-base
gstreamer-plugins-good
gstreamer-python
pygtk2-libglade
dbus-python
pygobject3
python-lxml
notify-python
pyxdg


For playing non-free streams (from RPMFusion) (optional):

gstreamer-plugins-bad
gstreamer-ffmpeg
gstreamer-plugins-ugly

Comment 9 Vadim Raskhozhev 2017-06-11 11:39:03 UTC
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.

Comment 10 ghost-87 2017-06-12 09:42:06 UTC
(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

Comment 11 Vadim Raskhozhev 2017-06-12 11:20:04 UTC
> 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.

Comment 12 ghost-87 2017-06-12 12:09:49 UTC
>Are you sure pygobject3 is actually required?

Of course, I'm sure. And not only me - 

https://packages.debian.org/jessie/radiotray

https://aur.archlinux.org/packages/radiotray/


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.

Comment 13 ghost-87 2017-06-12 13:21:49 UTC
>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).

Comment 14 Vadim Raskhozhev 2017-07-14 07:03:15 UTC
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.

Comment 15 Fedora End Of Life 2018-05-03 08:16:48 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 16 Fedora End Of Life 2018-05-29 11:38:29 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.