Bug 746012

Summary: [abrt] radiotray-0.6.4-1.fc14: StreamDecoder.py:61:getMediaStreamInfo:AttributeError: 'NoneType' object has no attribute 'startswith'
Product: [Fedora] Fedora Reporter: afsar-servis
Component: radiotrayAssignee: Jean-Francois Saucier <jsaucier>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: jsaucier, tomspur
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Unspecified   
Whiteboard: abrt_hash:eef4cc40
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-13 18:28:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

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.