Bug 746012 - [abrt] radiotray-0.6.4-1.fc14: StreamDecoder.py:61:getMediaStreamInfo:AttributeError: 'NoneType' object has no attribute 'startswith'
Summary: [abrt] radiotray-0.6.4-1.fc14: StreamDecoder.py:61:getMediaStreamInfo:Attribu...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: radiotray
Version: 14
Hardware: i686
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jean-Francois Saucier
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:eef4cc40
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-13 16:02 UTC by afsar-servis
Modified: 2012-01-13 18:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-13 18:28:28 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (840 bytes, text/plain)
2011-10-13 16:02 UTC, afsar-servis
no flags Details

Description afsar-servis 2011-10-13 16:02:54 UTC
abrt version: 1.1.18
architecture: i686
cmdline: /usr/bin/python /usr/bin/radiotray
component: radiotray
executable: /usr/bin/radiotray
kernel: 2.6.35.14-97.fc14.i686.PAE
package: radiotray-0.6.4-1.fc14
reason: StreamDecoder.py:61:getMediaStreamInfo:AttributeError: 'NoneType' object has no attribute 'startswith'
release: Fedora release 14 (Laughlin)
time: 1318521749
uid: 500

backtrace
-----
StreamDecoder.py:61:getMediaStreamInfo:AttributeError: 'NoneType' object has no attribute 'startswith'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/radiotray/SysTray.py", line 280, in on_start
    self.mediator.play(radio)
  File "/usr/lib/python2.7/site-packages/radiotray/StateMediator.py", line 61, in play
    self.audioPlayer.start(url)
  File "/usr/lib/python2.7/site-packages/radiotray/AudioPlayerGStreamer.py", line 49, in start
    urlInfo = self.decoder.getMediaStreamInfo(uri)
  File "/usr/lib/python2.7/site-packages/radiotray/StreamDecoder.py", line 61, in getMediaStreamInfo
    if url.startswith("http") == False:
AttributeError: 'NoneType' object has no attribute 'startswith'

Local variables in innermost frame:
url: None
self: <radiotray.StreamDecoder.StreamDecoder instance at 0xa15a36c>

How to reproduce
-----
1.add station

2.
3.

Comment 1 afsar-servis 2011-10-13 16:02:57 UTC
Created attachment 528062 [details]
File: backtrace

Comment 2 Jean-Francois Saucier 2012-01-13 18:28:28 UTC
Thank you for reporting this bug. I just submitted a new update of Radiotray
(0.7.1) to Fedora and you should see it in your list of updates soon.

Please report back here if your problem is still present in this new version.

Please fell free to reopen it or report a new one if you have any problem with
Radiotray.


Note You need to log in before you can comment on or make changes to this bug.