Package: radiotray
Version: 0.6.1-1
Severity: important

Hi,

After upgrading to 0.6.1, radiotray fails to start with the following 
backtrace:

==========================================================
Loading configuration...
/home/dam/.local/share/radiotray/bookmarks.xml
/home/dam/.local/share/radiotray/config.xml
PLS playlist decoder
M3U playlist decoder
ASX-familiy playlist decoder
XSPF playlist decoder
ASF playlist decoder
RAM playlist decoder
Using url timeout = 2000
Traceback (most recent call last):
  File "/usr/bin/radiotray", line 15, in <module>
    radiotray.main(sys.argv[1:])
  File "/usr/lib/pymodules/python2.6/radiotray/radiotray.py", line 33, in main
    RadioTray()
  File "/usr/lib/pymodules/python2.6/radiotray/RadioTray.py", line 61, in 
__init__
    self.systray = SysTray(self.mediator, self.provider, self.log)
  File "/usr/lib/pymodules/python2.6/radiotray/SysTray.py", line 83, in __init__
    self.update_radios()
  File "/usr/lib/pymodules/python2.6/radiotray/SysTray.py", line 230, in 
update_radios
    self.provider.walk_bookmarks(self.group_callback, self.bookmark_callback, 
self.radioMenu)
  File "/usr/lib/pymodules/python2.6/radiotray/XmlDataProvider.py", line 291, 
in walk_bookmarks
    self.walk_bookmarks(group_func, bookmark_func, new_user_data, group + 
"/gro...@name='"+ child_name +"']")                
  File "/usr/lib/pymodules/python2.6/radiotray/XmlDataProvider.py", line 293, 
in walk_bookmarks
    bookmark_func(child_name, user_data)
  File "/usr/lib/pymodules/python2.6/radiotray/SysTray.py", line 256, in 
bookmark_callback
    if radio_name.startswith("[separator-"):
AttributeError: 'NoneType' object has no attribute 'startswith'
==========================================================

Removing ~/.local/share/radiotray/bookmarks.xml makes it start, but I lose all 
my bookmarks.

Problematic bookmarks.xml attached.



-- System Information:
Debian Release: squeeze/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'unstable'), (500, 'testing'), (500, 
'stable'), (450, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.36-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=bg_BG.utf8, LC_CTYPE=bg_BG.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages radiotray depends on:
ii  python                2.6.6-3+squeeze1   interactive high-level object-orie
ii  python-dbus           0.83.1-1           simple interprocess messaging syst
ii  python-gobject        2.21.4+is.2.21.3-1 Python bindings for the GObject li
ii  python-gst0.10        0.10.19-2          generic media-playing framework (P
ii  python-gtk2           2.17.0-4           Python bindings for the GTK+ widge
ii  python-lxml           2.2.8-2            pythonic binding for the libxml2 a
ii  python-notify         0.1.1-2+b2         Python bindings for libnotify
ii  python-support        1.0.11             automated rebuilding support for P
ii  python-xdg            0.19-2             Python library to access freedeskt

radiotray recommends no packages.

radiotray suggests no packages.

-- no debconf information
<bookmarks>
    <group name="root"><bookmark name="Radio Paradise" 
url="http://www.radioparadise.com/musiclinks/rp_128.m3u"/>
    <bookmark name="80s Sky.FM" 
url="http://yp.shoutcast.com/sbin/tunein-station.pls?id=7022"/>
    <bookmark name="Groove Salad" 
url="http://yp.shoutcast.com/sbin/tunein-station.pls?id=6687"/>
    <bookmark name="Smooth Jazz" 
url="http://yp.shoutcast.com/sbin/tunein-station.pls?id=948"/>
    <bookmark name="Радио Нова" url="http://80.72.68.217/nova.ogg"/>
    <bookmark name="Zrock-БГ" url="http://zrock.atlantis.bg:8000/zrock.ogg"/>
<bookmark/><bookmark name="Radio 1 Rock" 
url="http://80.72.68.217:80/radio1rock.ogg"/><bookmark name="StarFM" 
url="http://pulsar.atlantis.bg:8000/inforadio.ogg"/><bookmark name="Tangra Mega 
Rock" 
url="http://stream-bg-02.radiotangra.com:8000/Tangra-high"/></group></bookmarks>

Reply via email to