Gwibber does not start if gnome-keyring-daemon is not running

Bug #567616 reported by CatchesAStar
82
This bug affects 13 people
Affects Status Importance Assigned to Milestone
Gwibber
Fix Released
Undecided
Unassigned
NULL Project
Invalid
Undecided
Unassigned
gwibber (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Im getting the error

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

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

** (gwibber:8568): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Traceback (most recent call last):
  File "/usr/bin/gwibber", line 50, in <module>
    from gwibber import client
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 3, in <module>
    import gtk, gobject, gwui, util, resources, actions, json, gconf
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 2, in <module>
    import os, json, urlparse, resources, util
  File "/usr/lib/python2.6/dist-packages/gwibber/util.py", line 2, in <module>
    from microblog.util.couch import RecordMonitor
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/util/couch.py", line 4, in <module>
    import desktopcouch, pycurl, oauth, threading, urllib, re, json
  File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 20, in <module>
    from desktopcouch.start_local_couchdb import process_is_couchdb, read_pidfile
  File "/usr/lib/python2.6/dist-packages/desktopcouch/start_local_couchdb.py", line 38, in <module>
    from desktopcouch import local_files
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 297, in <module>
    xdg_base_dirs.save_config_path("desktop-couch"))
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 237, in __init__
    self.configuration = _Configuration(self)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 91, in __init__
    {'desktopcouch': 'basic'})
gnomekeyring.IOError

when trying to start gwibber. There seems to be an issue with desktopcouch causing gnomekeyring IO errors.

Revision history for this message
Omer Akram (om26er) wrote :

Thanks for taking time to report this bug. Can you please tell which version of gwibber are you using, which Linux distro?

Changed in gwibber:
status: New → Incomplete
Revision history for this message
Mehul J. Rajput (mehulrajput) wrote :

I am getting the same error. Using kubuntu 10.04 beta on KDE4.

Gtk-Message: Failed to load module "canberra-gtk-module": libcanberra-gtk-module.so: cannot open shared object file: No such file or directory

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

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

** (gwibber:8127): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
** Message: secret service operation failed: The name org.freedesktop.secrets was not provided by any .service files
Traceback (most recent call last):
  File "/usr/bin/gwibber", line 50, in <module>
    from gwibber import client
  File "/usr/lib/python2.6/dist-packages/gwibber/client.py", line 3, in <module>
    import gtk, gobject, gwui, util, resources, actions, json, gconf
  File "/usr/lib/python2.6/dist-packages/gwibber/gwui.py", line 2, in <module>
    import os, json, urlparse, resources, util
  File "/usr/lib/python2.6/dist-packages/gwibber/util.py", line 2, in <module>
    from microblog.util.couch import RecordMonitor
  File "/usr/lib/python2.6/dist-packages/gwibber/microblog/util/couch.py", line 4, in <module>
    import desktopcouch, pycurl, oauth, threading, urllib, re, json
  File "/usr/lib/python2.6/dist-packages/desktopcouch/__init__.py", line 20, in <module>
    from desktopcouch.start_local_couchdb import process_is_couchdb, read_pidfile
  File "/usr/lib/python2.6/dist-packages/desktopcouch/start_local_couchdb.py", line 38, in <module>
    from desktopcouch import local_files
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 297, in <module>
    xdg_base_dirs.save_config_path("desktop-couch"))
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 237, in __init__
    self.configuration = _Configuration(self)
  File "/usr/lib/python2.6/dist-packages/desktopcouch/local_files.py", line 91, in __init__
    {'desktopcouch': 'basic'})
gnomekeyring.IOError

Changed in gwibber:
status: Incomplete → New
Revision history for this message
Mehul J. Rajput (mehulrajput) wrote :

seems this happens if gnome-keyring-daemon is not started.

Solution was found here http://ubuntuforums.org/showthread.php?t=1446216

Changed in gwibber:
status: New → Invalid
Revision history for this message
Victor Vargas (kamus) wrote :

Maybe this issue is same as bug 534649, @dolphinaura is this workaround works for you or are still facing this problem? Thanks

Changed in gwibber (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Changed in desktopcouch:
status: New → Invalid
Revision history for this message
CatchesAStar (catchesastar) wrote :

Duplicate of 534649 it seems. starting gnome-keyring-daemon seems to fix it.

Omer Akram (om26er)
Changed in gwibber (Ubuntu):
status: Incomplete → New
Revision history for this message
tamalet (tamalet) wrote :

I read somewhere on the forums that a way to avoid having to start the gnome-keyring-daemon every time you log in is to change in System->Preferences->Startup Application the command for Secret Store Service from
gnome-keyring-daemon --start --components=secrets
to just
gnome-keyring-daemon

It worked for me.

Revision history for this message
Victor Vargas (kamus) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 534649, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Omer Akram (om26er)
summary: - Gwibber crashed with gnome-keyring issue
+ Gwibber does not start if gnome-keyring-daemon is not running
affects: desktopcouch → null
Changed in gwibber:
status: Invalid → Confirmed
Changed in gwibber (Ubuntu):
status: New → Triaged
Revision history for this message
Omer Akram (om26er) wrote :

the issue is fixed in gwibber 2.32.2 in ubuntu-10.10 I renamed gnome-keyring-daemon and rebooted and gwibber still started fine.

Changed in gwibber:
status: Confirmed → Fix Released
Changed in gwibber (Ubuntu):
status: Triaged → Fix Released
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.