Bug 3973 - gwibber doesn't start (ImportError: No module named gnomekeyring)
Summary: gwibber doesn't start (ImportError: No module named gnomekeyring)
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on: 3990
Blocks:
  Show dependency treegraph
 
Reported: 2011-12-31 20:25 CET by Samuel Verschelde
Modified: 2012-12-02 14:36 CET (History)
3 users (show)

See Also:
Source RPM: gwibber-3.0.0.1-1.mga1.src.rpm
CVE:
Status comment:


Attachments

Description Samuel Verschelde 2011-12-31 20:25:25 CET
$ gwibber

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

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

** (gwibber:17295): WARNING **: Trying to register gtype 'WnckWindowMoveResizeMask' as enum when in fact it is of type 'GFlags'
ERROR:dbus.proxies:Introspect error on com.Gwibber.Service:/com/gwibber/Service: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/gwibber-service exited with status 1
Traceback (most recent call last):
  File "/usr/bin/gwibber", line 87, in <module>
    client.Client()
  File "/usr/lib/python2.7/site-packages/gwibber/client.py", line 622, in __init__
    self.w = GwibberClient()
  File "/usr/lib/python2.7/site-packages/gwibber/client.py", line 39, in __init__
    self.model = gwui.Model()
  File "/usr/lib/python2.7/site-packages/gwibber/gwui.py", line 50, in __init__
    self.services = json.loads(self.daemon.GetServices())
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/bin/gwibber-service exited with status 1


$ gwibber-service
Traceback (most recent call last):
  File "/usr/bin/gwibber-service", line 36, in <module>
    from gwibber.microblog import dispatcher
  File "/usr/lib/python2.7/site-packages/gwibber/microblog/dispatcher.py", line 6, in <module>
    import urlshorter, storage, network, util, config
  File "/usr/lib/python2.7/site-packages/gwibber/microblog/storage.py", line 4, in <module>
    import util, util.keyring, atexit
  File "/usr/lib/python2.7/site-packages/gwibber/microblog/util/keyring.py", line 4, in <module>
    import gnomekeyring
ImportError: No module named gnomekeyring
Comment 1 Samuel Verschelde 2011-12-31 20:28:17 CET
After installing the probable missing dependency gnome-python-gnomekeyring, I get the following:

$ gwibber

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

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

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

ERROR:dbus.proxies:Introspect error on com.Gwibber.Service:/com/gwibber/Service: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.TimedOut: Activation of com.Gwibber.Service timed out
Traceback (most recent call last):
  File "/usr/bin/gwibber", line 87, in <module>
    client.Client()
  File "/usr/lib/python2.7/site-packages/gwibber/client.py", line 622, in __init__
    self.w = GwibberClient()
  File "/usr/lib/python2.7/site-packages/gwibber/client.py", line 39, in __init__
    self.model = gwui.Model()
  File "/usr/lib/python2.7/site-packages/gwibber/gwui.py", line 50, in __init__
    self.services = json.loads(self.daemon.GetServices())
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Marja Van Waes 2011-12-31 20:38:25 CET

CC: (none) => anssi.hannula, marja11

Comment 2 Manuel Hiebel 2012-01-01 00:31:39 CET
Hi, thanks for reporting this bug.
Assigned to the package maintainer.

(iirc it's not an upstream bug ? )

(Please set the status to 'assigned' if you are working on it)

and happy new year :)

Keywords: (none) => Triaged
Assignee: bugsquad => doktor5000

Comment 3 Florian Hubold 2012-01-01 15:13:24 CET
Well, i can reproduce and working on it. Seems this is the cause, additional to the missing gnome-keyring:

[doktor5000@mageia1 gwibber]$ gwibber-service -o -d
ERROR:root:Could not find any typelib for Unity
ERROR:root:Could not find any typelib for Dbusmenu
Loading plugin StatusNet version 1.1
Loading plugin FriendFeed version 0.1
Loading plugin Identi.ca version 1.1
Loading plugin Twitter version 1.0
Loading plugin Ping.fm version 0.1
Loading plugin Digg version 1.0
Loading plugin Qaiku version 1.0
Loading plugin Facebook version 1.1
Loading plugin Foursquare version 1.0
Loading plugin Flickr version 1.0
Loading plugin Buzz version 1.0
Foursquare  : DEBUG    Setting up monitors
DEBUG:Foursquare:Setting up monitors
Loading plugin StatusNet version 1.1
Loading plugin FriendFeed version 0.1
Loading plugin Identi.ca version 1.1
Loading plugin Twitter version 1.0
Loading plugin Ping.fm version 0.1
Loading plugin Digg version 1.0
Loading plugin Qaiku version 1.0
Loading plugin Facebook version 1.1
Loading plugin Foursquare version 1.0
Loading plugin Flickr version 1.0
Loading plugin Buzz version 1.0
Traceback (most recent call last):
  File "/usr/bin/gwibber-service", line 80, in <module>
    dispatcher = dispatcher.Dispatcher(loop)
  File "/usr/lib/python2.7/site-packages/gwibber/microblog/dispatcher.py", line 258, in __init__
    self.accounts = storage.AccountManager(self.db)
  File "/usr/lib/python2.7/site-packages/gwibber/microblog/storage.py", line 255, in __init__
    from util import couchmigrate
  File "/usr/lib/python2.7/site-packages/gwibber/microblog/util/couchmigrate.py", line 71, in <module>
    AccountCouchMigrate()
  File "/usr/lib/python2.7/site-packages/gwibber/microblog/util/couchmigrate.py", line 29, in __init__
    accounts = CouchDatabase(COUCH_DB_ACCOUNTS, create=False)
  File "/usr/lib/python2.7/site-packages/desktopcouch/application/server.py", line 101, in __init__
    oauth_tokens=oauth_tokens, ctx=ctx)
  File "/usr/lib/python2.7/site-packages/desktopcouch/application/server.py", line 75, in __init__
    oauth_tokens=oauth_tokens, ctx=ctx, views_factory=views_factory)
  File "/usr/lib/python2.7/site-packages/desktopcouch/records/database.py", line 123, in __init__
    self._reconnect()
  File "/usr/lib/python2.7/site-packages/desktopcouch/application/server.py", line 81, in _reconnect
    port = find_port(ctx=self.ctx)
  File "/usr/lib/python2.7/site-packages/desktopcouch/application/platform/__init__.py", line 48, in find_port
    return platform_find_port(pid, ctx)
  File "/usr/lib/python2.7/site-packages/desktopcouch/application/platform/linux/__init__.py", line 100, in platform_find_port
    proxy = bus.get_object('org.desktopcouch.CouchDB', '/')
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 244, in get_object
    follow_name_owner_changes=follow_name_owner_changes)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 241, in __init__
    self._named_service = conn.activate_name_owner(bus_name)
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 183, in activate_name_owner
    self.start_service_by_name(bus_name)
  File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 281, in start_service_by_name
    'su', (bus_name, flags)))
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 630, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.Spawn.ChildExited: Process /usr/lib/desktopcouch/desktopcouch-service exited with status 1

And in turn desktopcouch seems missing a dependency on avahi-python and ubuntu-sso-client needs to be imported, it seems. (cf https://bugs.mageia.org/show_bug.cgi?id=3990 )

Status: NEW => ASSIGNED

Comment 4 Florian Hubold 2012-08-12 15:02:15 CEST
Reassigning this to bugsquad, as i miss the knowledge to work on the underlying problem with hte missing/broken python packages.

Status: ASSIGNED => NEW
CC: (none) => doktor5000
Depends on: (none) => 3990
Assignee: doktor5000 => bugsquad

Comment 5 Manuel Hiebel 2012-11-05 16:54:05 CET
This message is a reminder that Mageia 1 is nearing its end of life. 
In approximately 25 days from now, Mageia will stop maintaining and issuing 
updates for Mageia 1. At that time this bug will be closed as WONTFIX (EOL) if it 
remains open with a Mageia 'version' of '1'.

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 
Mageia version prior to Mageia 1's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we may not 
be able to fix it before Mageia 1 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 Mageia, 
you are encouraged to click on "Version" and change it against that version 
of Mageia.

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 Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

--
Mageia Bugsquad
Comment 6 Manuel Hiebel 2012-12-02 14:36:29 CET
Mageia 1 changed to end-of-life (EOL) status on ''1st December''. Mageia 1 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 Mageia 
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

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

--
Mageia Bugsquad

Status: NEW => RESOLVED
Resolution: (none) => WONTFIX


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