gwibber-preferences always crashes on startup

Bug #623335 reported by Alexander Sack
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gwibber (Ubuntu)
Fix Released
Undecided
Ken VanDine

Bug Description

Binary package hint: gwibber

starting gwibber-preferences from gwibber menu or command line fails like:

gwibber-preferences

** (gwibber-preferences:23576): WARNING **: Trying to register gtype 'WnckWindowState' as enum when in fact it is of type 'GFlags'

** (gwibber-preferences:23576): WARNING **: Trying to register gtype 'WnckWindowActions' as enum when in fact it is of type 'GFlags'

** (gwibber-preferences:23576): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
Traceback (most recent call last):
  File "/usr/bin/gwibber-preferences", line 64, in <module>
    preferences.GwibberPreferences()
  File "/usr/lib/python2.6/dist-packages/gwibber/preferences.py", line 77, in __init__
    self.settings.bind(getattr(self, key + "_selector"), key)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/config.py", line 82, in bind
    return Wrapper.bind(self, widget, key, **args)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/config.py", line 60, in bind
    gwp.create_persistency_link(widget, "%s/%s" % (self.path, key), **args)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/swp.py", line 192, in __call__
    return handler(widget, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/gwp.py", line 414, in _persistency_link_combobox
    return PersistencyLink(combo, combo.get_active_text, lambda val: combo.set_active_iter([x.iter for x in combo.get_model() if x[0].strip() == val][0]), "changed", GConfValue(key, data_spec, *args, **kwargs))
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/swp.py", line 81, in __init__
    if self.widget is not None: self.sync_widget()
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/swp.py", line 139, in sync_widget
    self._widget_setter(val)
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/gwp.py", line 414, in <lambda>
    return PersistencyLink(combo, combo.get_active_text, lambda val: combo.set_active_iter([x.iter for x in combo.get_model() if x[0].strip() == val][0]), "changed", GConfValue(key, data_spec, *args, **kwargs))
IndexError: list index out of range

Alexander Sack (asac)
Changed in gwibber (Ubuntu):
assignee: nobody → Ken VanDine (ken-vandine)
status: New → Confirmed
Revision history for this message
Ken VanDine (ken-vandine) wrote :

Can't reproduce this, even with Alexander's gconf config. Un-setting theme, urlshorter and retweet_style keys fixed it for him.

Changed in gwibber (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Omar Campagne (ocampagne) wrote :

Un-setting the values above mentioned didn't fix it for me.

Revision history for this message
Ken VanDine (ken-vandine) wrote :

I couldn't reproduce it, but I have committed a fix to trunk that will prevent it from happening in the future.

Changed in gwibber (Ubuntu):
status: Invalid → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gwibber - 2.31.91-0ubuntu1

---------------
gwibber (2.31.91-0ubuntu1) maverick; urgency=low

  * New upstream release
    - Port twitter service to OAuth, basic auth is no longer
      supported (LP: #627565)
    - Delay setting the position of the vertical splitter
    - Fix PerformOp for single operation, including delete and
      like (LP: #616798)
    - Make the string for the Translate action i18n
      friendly (Vadim Rutkovsky)
    - Convert identi.ca groups (!) to hashtags (#) for re-denting if
      global_retweet is true (Vadim Rutkovsky) (LP: #539786)
    - Handle null responses gracefully (James Ogley) (LP: #623309)
    - recognize valid unicode URLs (LP: #333390)
    - Don't crash if there is an invalid value for a preference (LP: #623335)
  * debian/gwibber-service.install
    - Install files needed for twitter oauth
 -- Ken VanDine <email address hidden> Mon, 23 Aug 2010 23:35:05 -0400

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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