Doesn't render messages if the set theme doesn't exist

Bug #447733 reported by Ken VanDine on 2009-10-10
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gwibber
Undecided
Ken VanDine
gwibber (Ubuntu)
Undecided
Ken VanDine

Bug Description

WARNING:root:desktopcouch is not available. . falling back to gconf

** (gwibber:20795): WARNING **: Trying to register gtype 'WnckWindowState' as flags when in fact it is of type 'GEnum'

** (gwibber:20795): WARNING **: Trying to register gtype 'WnckWindowActions' as flags when in fact it is of type 'GEnum'

** (gwibber:20795): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as flags when in fact it is of type 'GEnum'
/usr/lib/python2.6/dist-packages/gwibber/resources.py:97: GtkWarning: Theme directory devices/22 of theme Humanity has no size field

  finfo = theme.lookup_icon(name, size, 0)
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 561, in change_view
    self.update_view()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 625, in update_view
    self.content_view.display_page("home.mako", messages)
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 274, in display_page
    template_path = os.path.join(theme_path, template_name)
  File "/usr/lib/python2.6/posixpath.py", line 67, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 561, in change_view
    self.update_view()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 625, in update_view
    self.content_view.display_page("home.mako", messages)
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 274, in display_page
    template_path = os.path.join(theme_path, template_name)
  File "/usr/lib/python2.6/posixpath.py", line 67, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 561, in change_view
    self.update_view()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 634, in update_view
    self.populate_view(data["messages"], data["count"], data["total"])
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 609, in populate_view
    self.content_view.load_messages(messages, count, total)
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 301, in load_messages
    template_path = os.path.join(theme_path, "template.mako")
  File "/usr/lib/python2.6/posixpath.py", line 67, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 561, in change_view
    self.update_view()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 634, in update_view
    self.populate_view(data["messages"], data["count"], data["total"])
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 609, in populate_view
    self.content_view.load_messages(messages, count, total)
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 301, in load_messages
    template_path = os.path.join(theme_path, "template.mako")
  File "/usr/lib/python2.6/posixpath.py", line 67, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'
ERROR:dbus.connection:Exception in handler for D-Bus signal:
Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 214, in maybe_handle_message
    self._handler(*args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 595, in on_loading_complete
    self.update_view()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 634, in update_view
    self.populate_view(data["messages"], data["count"], data["total"])
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 609, in populate_view
    self.content_view.load_messages(messages, count, total)
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 301, in load_messages
    template_path = os.path.join(theme_path, "template.mako")
  File "/usr/lib/python2.6/posixpath.py", line 67, in join
    elif path == '' or path.endswith('/'):
AttributeError: 'NoneType' object has no attribute 'endswith'

Changed in gwibber:
assignee: nobody → Ken VanDine (ken-vandine)
status: New → Fix Committed
Changed in gwibber (Ubuntu):
assignee: nobody → Ken VanDine (ken-vandine)
status: New → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gwibber - 2.0.0~bzr466-0ubuntu1

---------------
gwibber (2.0.0~bzr466-0ubuntu1) karmic; urgency=low

  * New upstream snapshot - r466
    - Fixed theme handling when the theme configured doesn't
      exist (LP: #447733) and (LP: #446661)

 -- Ken VanDine <email address hidden> Fri, 09 Oct 2009 22:29:29 -0400

Changed in gwibber (Ubuntu):
status: In Progress → Fix Released
Changed in gwibber:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers