Bug 920962 - Failed activating DVB DBus service 'NoneType' object has no attribute 'set_image'
Summary: Failed activating DVB DBus service 'NoneType' object has no attribute 'set_im...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-dvb-daemon
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Bastien Nocera
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-03-13 07:49 UTC by tomas
Modified: 2015-12-12 15:03 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-29 11:47:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 709483 0 None None None Never

Description tomas 2013-03-13 07:49:29 UTC
Description of problem:
when totem is starting, it stay without dvd or dvb in menu. if totem starts dvd from nautilus, it run ok. 

Version-Release number of selected component (if applicable):
3.8.2-206.fc18.x86_64
totem 3.6.3
How reproducible:
write totem on commanline

Steps to Reproduce:
1.
2.
3.
  
Actual results:

totem

(totem:8090): Grilo-WARNING **: [registry] grl-registry.c:330: Failed to initialize plugin: '/usr/lib64/grilo-0.2/libgrlflickr.so'

(totem:8090): Grilo-WARNING **: [registry] grl-registry.c:330: Failed to initialize plugin: '/usr/lib64/grilo-0.2/libgrltmdb.so'

(totem:8090): Grilo-WARNING **: [registry] grl-registry.c:787: Failed to open module: '/usr/lib64/grilo-0.2/libgrlpodcasts.so'
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 782, 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 798, in get_iter
    path = TreePath(path)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 1209, in __new__
    if len(path) == 0:
TypeError: object of type 'NoneType' has no len()

** (totem:8090): WARNING **: Error creating GUPnP context: Failed to find IP of interface ttyUSB0


Expected results:


Additional info:

Comment 1 Sylvain Petreolle 2013-07-16 21:56:16 UTC
I get this bug with Fedora 19.
Same stacktrace.
totem-3.8.2-1.fc19.x86_64
gnome-dvb-daemon-0.2.10-2.fc19.x86_64

Comment 2 Stefano C 2013-12-15 21:20:59 UTC
Same bug on Fedora 19.

totem-3.8.2-1.fc19.x86_64
gnome-dvb-daemon-0.2.10-2.fc19.x86_64

$ totem
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 767, in __getitem__
    aiter = self._getiter(key)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 755, in _getiter
    aiter = self.get_iter(key)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 789, in get_iter
    path = self._coerce_path(path)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 764, in _coerce_path
    return TreePath(path)
  File "/usr/lib64/python2.7/site-packages/gi/overrides/Gtk.py", line 1114, in __new__
    path = ":".join(str(val) for val in path)
TypeError: 'NoneType' object is not iterable

Comment 3 Fedora End Of Life 2013-12-21 12:06:40 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 4 Blonďák 2014-01-26 10:37:26 UTC
For me helps following:

--- old/dvb-daemon.py	2014-01-26 11:34:17.306941350 +0100
+++ new/dvb-daemon.py	2014-01-25 20:46:28.520696797 +0100
@@ -458,7 +458,8 @@
         totemtv_image.show()
 
         watch_item = uimanager.get_widget('/tmw-menubar/movie/devices-placeholder/dvbdevice')
-        watch_item.set_image(totemtv_image)
+        if watch_item:
+            watch_item.set_image(totemtv_image)
 
         timers_image = Gtk.Image.new_from_icon_name("stock_timer", Gtk.IconSize.MENU)
         timers_image.show()

Comment 5 Fedora End Of Life 2014-02-05 19:55:10 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 6 Felix Schwarz 2014-02-15 19:58:21 UTC
(In reply to Blonďák from comment #4)
> For me helps following: (...)

I can confirm that this bug exists in F20 and Blonďák's patch resolves the issue.

The bug was reported upstream as 
  Totem plugin: DVB not working due to problem in dvb-daemon.py
  https://bugzilla.gnome.org/show_bug.cgi?id=709483
but does not have any "official" solution though another reporter indicated that commenting line 461 removes the bug as well.

The upstream git repository does not have any official bug fix (watch_item line is unchanged since 2009 / git revision 8aafc4f8).

Comment 7 Ville Skyttä 2014-04-09 20:17:21 UTC
Blonďák's patch is now in upstream git:
https://git.gnome.org/browse/gnome-dvb-daemon/commit/?id=76bf99c3f7faf31f4cc563a8002f70d9012cf22f

Comment 8 Fedora End Of Life 2015-05-29 08:55:04 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 9 Fedora End Of Life 2015-06-29 11:47:24 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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