"zeitgeist-daemon --replace" may fail if an existing Zeitgeist instance is unresponsive

Bug #496750 reported by Bernhard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zeitgeist Framework
Fix Released
Undecided
Unassigned

Bug Description

Whenever I try to run zeitgeist-daemon, I get the following exception that leads to a crash:

> zeitgeist-daemon --replace
DEBUG:zeitgeist.engine:Creating engine 'querymancer'
INFO:zeitgeist.engine:Creating database: /home/bkoenig/.local/share/zeitgeist/database.sqlite
DEBUG:root:Checking for another running instance...
DEBUG:root:Replacing currently running process.
ERROR:dbus.proxies:Introspect error on :1.396:/org/gnome/zeitgeist: 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.
DEBUG:dbus.proxies:Executing introspect queue due to error
Traceback (most recent call last):
  File "/usr/bin/zeitgeist-daemon", line 43, in <module>
    obj = RemoteInterface(mainloop = mainloop)
  File "/usr/share/zeitgeist/_zeitgeist/engine/remote.py", line 38, in __init__
    SingletonApplication.__init__(self)
  File "/usr/share/zeitgeist/_zeitgeist/singleton.py", line 48, in __init__
    interface = DBusInterface()
  File "/usr/lib/pymodules/python2.6/zeitgeist/dbusutils.py", line 137, in __init__
    proxy = self._get_proxy()
  File "/usr/lib/pymodules/python2.6/zeitgeist/dbusutils.py", line 94, in _get_proxy
    introspection_xml = cls.__shared_state["proxy_object"].Introspect()
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.6/dbus/connection.py", line 620, 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.

Revision history for this message
Bernhard (b.a.koenig) wrote :

Btw, since it says something about a broken network: I'm using wicd network manager, does that make a difference?

Revision history for this message
Bernhard (b.a.koenig) wrote :

Btw, I noticed that this problem mostly shows up when I use the "--replace" option. It generally works if I kill the old daemon and start the new one.

summary: - zeitgeist-daemon crashes with exception
+ "zeitgeist-daemon --replace" may fail if an existing Zeitgeist instance
+ is unresponsive
Changed in zeitgeist:
milestone: none → 0.3.1
Revision history for this message
Mikkel Kamstrup Erlandsen (kamstrup) wrote :

Marked as fixed since I can't reproduce in trunk (and basically all of the code in the stack trace has been re-written). This fix will be released in 0.3.1 today.

Changed in zeitgeist:
status: New → 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.