Bug 8603 - Radiotray become unresponsive after unworking station is selected
: Radiotray become unresponsive after unworking station is selected
Status: UNCONFIRMED
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Contributed Packages
: Fresh
: x86_64 Linux
: Low normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-12-28 14:03 MSK by modd1e
Modified: 2017-12-28 14:31 MSK (History)
2 users (show)

See Also:
RPM Package: http://abf-downloads.rosalinux.ru/alekseyz_personal/container/2916174/x86_64/main/release/radiotray-0.7.3-4-rosa2016.1.noarch.rpm
ISO-related:
Bad POT generating:
Upstream: unknown


Attachments
"strace -o radiotray_strace.txt radiotray" when connecting to "Oldies -> SKY.fm Oldies" (2.44 MB, text/plain)
2017-12-28 14:03 MSK, modd1e
Details

Note You need to log in before you can comment on or make changes to this bug.
Description modd1e 2017-12-28 14:03:51 MSK
Created attachment 4783 [details]
"strace -o radiotray_strace.txt radiotray" when connecting to "Oldies -> SKY.fm Oldies"

Description of problem:
Radiotray become unresponsive after unworking station is selected. It does not respond to mouse buttons, so it could only be stopped by killing the process.
If I run it through the Konsole, select unworking station and then press Ctrl+C to kill the process, I get following response:

~ $ radiotray
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
/usr/lib/python2.7/site-packages/radiotray/AudioPlayerGStreamer.py:51: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
  if(cfg_provider._settingExists("buffer_size")):
Sleep Timer, Stops playing after a predefined time, SleepTimerPlugin.py, Carlos Ribeiro
HelloWorld, This is a test plugin, HelloWorld.py, Carlos Ribeiro
started
Notifications, Shows message notifications on the desktop, NotificationPlugin.py, Carlos Ribeiro
Mate Media Keys, Controls Radio Tray through keyboard multimedia keys, MateMediaKeysPlugin.py, Ken
Gnome Media Keys, Controls Radio Tray through keyboard multimedia keys, GnomeMediaKeysPlugin.py, Carlos Ribeiro
History, Shows song history, HistoryPlugin.py, Carlos Ribeiro
Could not bind to Gnome for Media Keys

** (radiotray:8595): WARNING **: Invalid borders specified for theme pixmap:
        /usr/share/themes/Breeze/gtk-2.0/../assets/line-h.png,
borders don't fit within the image

** (radiotray:8595): WARNING **: invalid source position for vertical gradient

** (radiotray:8595): WARNING **: invalid source position for vertical gradient
^CTraceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/radiotray/SysTray.py", line 170, in on_start
    self.mediator.play(radio)
  File "/usr/lib/python2.7/site-packages/radiotray/StateMediator.py", line 74, in play
    self.audioPlayer.start(url)
  File "/usr/lib/python2.7/site-packages/radiotray/AudioPlayerGStreamer.py", line 74, in start
    self.playNextStream()
  File "/usr/lib/python2.7/site-packages/radiotray/AudioPlayerGStreamer.py", line 90, in playNextStream
    urlInfo = self.decoder.getMediaStreamInfo(stream)
  File "/usr/lib/python2.7/site-packages/radiotray/StreamDecoder.py", line 74, in getMediaStreamInfo
    f = opener.open(req, timeout=float(self.url_timeout))
  File "/usr/lib64/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib64/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib64/python2.7/urllib2.py", line 467, in error
    result = self._call_chain(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 654, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib64/python2.7/urllib2.py", line 429, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.7/urllib2.py", line 447, in _open
    '_open', req)
  File "/usr/lib64/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/urllib2.py", line 1228, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "/usr/lib64/python2.7/urllib2.py", line 1195, in do_open
    h.request(req.get_method(), req.get_selector(), req.data, headers)
  File "/usr/lib64/python2.7/httplib.py", line 1042, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib64/python2.7/httplib.py", line 1082, in _send_request
    self.endheaders(body)
  File "/usr/lib64/python2.7/httplib.py", line 1038, in endheaders
    self._send_output(message_body)
  File "/usr/lib64/python2.7/httplib.py", line 882, in _send_output
    self.send(msg)
  File "/usr/lib64/python2.7/httplib.py", line 844, in send
    self.connect()
  File "/usr/lib64/python2.7/httplib.py", line 821, in connect
    self.timeout, self.source_address)
  File "/usr/lib64/python2.7/socket.py", line 566, in create_connection
    sock.connect(sa)
  File "/usr/lib64/python2.7/socket.py", line 228, in meth
    return getattr(self._sock,name)(*args)
KeyboardInterrupt
^CTraceback (most recent call last):
  File "/usr/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 123, in __init__
    self.systray.run()
  File "/usr/lib/python2.7/site-packages/radiotray/SysTray.py", line 187, in run
    gtk.main()
KeyboardInterrupt

I also put strace output as the attachment.

Version-Release number of selected component (if applicable):
I've tried radiotray-0.7.3-4-rosa2016.1.noarch.rpm and tarball version from here: http://radiotray.sourceforge.net/

How reproducible:
Choose the unworking station and try to connect. Reproduced on Fresh R10 Plasma.

Steps to Reproduce:
1. Install specified package and run program through DE or run program from tarball through Konsole
2. Choose station that is known not to work (for me it was Oldies -> SKY.fm Oldies)