Crashes on start when trying to load gtk-find icon

Bug #427249 reported by Ilkka Laukkanen
72
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Gwibber
Fix Released
Undecided
Unassigned
Nominated for 1.2 by Séamus Ó Cúile
Nominated for 3.0 by Séamus Ó Cúile

Bug Description

When starting Gwibber (package version 2.0.0~bzr396-0ubuntu1) in Karmic, it always crashes in gwibber.gwui.populate_tree(). This is the output:

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

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

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

** (gwibber:11279): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as flags when in fact it is of type 'GEnum'
Traceback (most recent call last):
  File "/usr/bin/gwibber", line 79, in <module>
    GwibberClient()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 122, in __init__
    self.setup_ui()
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 163, in setup_ui
    self.account_store.populate_tree()
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 161, in populate_tree
    icon = pbfile(resources.icon("gtk-find", use_theme=False))
TypeError: pixbuf_new_from_file() argument 1 must be string, not None

The root cause is that resources.icon() cannot find the "gtk-find" icon in the default icon theme, and returns None, which pixbuf_new_from_file() cannot handle.

This happens at least in KDE, dunno about Gnome. I have a fix for this and I'm linking the branch.

Related branches

Revision history for this message
Ilkka Laukkanen (ilkka) wrote :

The branch is now linked and proposed for merging.

Colin Dean (colindean)
tags: added: kde resources
Revision history for this message
Ryan Paul (segphault) wrote :

Thanks for the fix! Committed in rev 488.

Changed in gwibber:
status: New → Fix Committed
Revision history for this message
Omer Akram (om26er) wrote :

Marking this fixed now. You still face this with gwibber 2.29.95 feel free to open this again

Changed in gwibber:
status: Fix Committed → Fix Released
Revision history for this message
Ravindra Saini (saini7002) wrote :

I am facing same problem in lucid lynx in GNOME...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.