After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 709483 - Totem plugin: DVB not working due to problem in dvb-daemon.py
Totem plugin: DVB not working due to problem in dvb-daemon.py
Status: RESOLVED FIXED
Product: dvb-daemon
Classification: Other
Component: UI
0.2.x
Other Linux
: Normal major
: ---
Assigned To: dvb-daemon-maint
dvb-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2013-10-05 19:20 UTC by Jan-Michael Brummer
Modified: 2014-05-25 18:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch proposed by Fedora user Blonďák in rhbz 920962 (823 bytes, patch)
2014-02-15 20:09 UTC, Felix Schwarz
committed Details | Review

Description Jan-Michael Brummer 2013-10-05 19:20:29 UTC
I could successfully configure the device through the plugin but the menu entry for viewing a channel is not there. Debug output of totem shows:

Failed activating DVB DBus service 'NoneType' object has no attribute 'set_image'
Traceback (most recent call last):
  • File "/usr/lib64/totem/plugins/dvb-daemon/dvb-daemon.py", line 680 in _on_group_loaded
    self._configure_mode()
  • File "/usr/lib64/totem/plugins/dvb-daemon/dvb-daemon.py", line 481 in _configure_mode
    self.single_group = self.channels[group_iter][self.channels.COL_GROUP]
  • File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 788 in __getitem__
    aiter = self._getiter(key)
  • File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 776 in _getiter
    aiter = self.get_iter(key)
  • File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 810 in get_iter
    path = self._coerce_path(path)
  • File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 785 in _coerce_path
    return TreePath(path)
  • File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 1135 in __new__
    path = ":".join(str(val) for val in path)
TypeError: 'NoneType' object is not iterable


Commenting line 461 in dvb-daemon.py solves the problem.
Comment 1 Lukáš Říha 2013-10-23 16:05:22 UTC
Ran into same problem on F19, 3.11.4-201.fc19.x86_64, Totem 3.8.2.
Comment 2 Marco Milone 2013-12-16 11:01:45 UTC
I can confirm this since Fedora 18.
Comment 3 Felix Schwarz 2014-02-15 20:09:08 UTC
Created attachment 269225 [details] [review]
patch proposed by Fedora user Blonďák in rhbz 920962

The bug was also reported in the Fedora bug tracker: https://bugzilla.redhat.com/show_bug.cgi?id=920962

Fedora user Blonďák proposed a patch in the rhbz which solves the problem for me. From looking at the code I'm not sure if "watch_item" is supposed to be None (or if the real fix is more subtle) but the patch resolves the issue and enables me to watch DVB-T.
Comment 4 Felix Schwarz 2014-02-15 20:13:33 UTC
just for completeness: Ubuntu bug is https://bugs.launchpad.net/gnome-dvb-daemon/+bug/1202768
Comment 5 Sebastian Pölsterl 2014-03-09 13:21:10 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.
Comment 6 Emilio Pozuelo Monfort 2014-05-25 18:31:06 UTC
(In reply to comment #5)
> This problem has been fixed in the development version. The fix will be
> available in the next major software release. Thank you for your bug report.

The last release was over a year and a half ago. Any plans for a new release anytime soon?