TypeError in bbc plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
totem (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: totem
when starting the bbc plugin i get the error
(totem:22470): GLib-GObject-
Traceback (most recent call last):
File "/usr/lib/
self.populate()
File "/usr/lib/
genre.
File "/usr/lib/
gst.
TypeError: cannot concatenate 'str' and 'NoneType' objects
this turns out to be because brand.title is None.
i tried using str() to allow the None to be send to gst.log, but they cause problems later on.
a better solution seems to be to return early from the function. see attached patch. with the patch i can load the bbc plugin and listen to most feeds.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: totem 2.30.0-0ubuntu3
ProcVersionSign
Uname: Linux 2.6.32-20-generic x86_64
Architecture: amd64
Date: Thu Apr 15 10:35:22 2010
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_GB.utf8
SourcePackage: totem
Thank you for your bug report; I can confirm the issue there though