GAJ Not Launching - ERROR:dbus.connection:Unable to set arguments

Bug #599138 reported by naesk
74
This bug affects 16 people
Affects Status Importance Assigned to Milestone
GNOME Activity Journal
Triaged
Undecided
Unassigned

Bug Description

Ubuntu Lucid 10.4
GAJ 0.3.4.1+bzr20100619

GAJ is no longer launching, instead I get the following error;

$ gnome-activity-journal
ERROR:dbus.connection:Unable to set arguments (1277506800, 1277593199) according to signature u'uus': <type 'exceptions.TypeError'>: More items found in D-Bus signature than in Python arguments
Traceback (most recent call last):
  File "/usr/bin/gnome-activity-journal", line 99, in <module>
    from src.main import PortalWindow
  File "/usr/share/gnome-activity-journal/src/main.py", line 30, in <module>
    from activity_widgets import MultiViewContainer, TimelineViewContainer, ThumbViewContainer, PinnedPane
  File "/usr/share/gnome-activity-journal/src/activity_widgets.py", line 34, in <module>
    from store import ContentStruct, CLIENT
  File "/usr/share/gnome-activity-journal/src/store.py", line 471, in <module>
    STORE = Store()
  File "/usr/share/gnome-activity-journal/src/store.py", line 351, in __init__
    day = Day(date)
  File "/usr/share/gnome-activity-journal/src/store.py", line 186, in __init__
    facts = external.HAMSTER.get_facts(self.start, self.end)
  File "/usr/share/gnome-activity-journal/src/external.py", line 259, in get_facts
    return map(self.Fact, self.iface.GetFacts(start, end))
  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 610, in call_blocking
    message.append(signature=signature, *args)
TypeError: More items found in D-Bus signature than in Python arguments

Revision history for this message
Terje Andre Arnøy (terjeaar) wrote :

I have a similar problem, I believe it is the same as this although the output in the terminal is somewhat different:

ERROR:dbus.connection:Unable to set arguments (1277589600, 1277675999) according to signature u'uus': <type 'exceptions.TypeError'>: More items found in D-Bus signature than in Python arguments
Traceback (most recent call last):
  File "/usr/bin/gnome-activity-journal", line 99, in <module>
    from src.main import PortalWindow
  File "/usr/share/gnome-activity-journal/src/main.py", line 30, in <module>
    from activity_widgets import MultiViewContainer, TimelineViewContainer, ThumbViewContainer, PinnedPane
  File "/usr/share/gnome-activity-journal/src/activity_widgets.py", line 34, in <module>
    from store import ContentStruct, CLIENT
  File "/usr/share/gnome-activity-journal/src/store.py", line 471, in <module>
    STORE = Store()
  File "/usr/share/gnome-activity-journal/src/store.py", line 351, in __init__
    day = Day(date)
  File "/usr/share/gnome-activity-journal/src/store.py", line 186, in __init__
    facts = external.HAMSTER.get_facts(self.start, self.end)
  File "/usr/share/gnome-activity-journal/src/external.py", line 259, in get_facts
    return map(self.Fact, self.iface.GetFacts(start, end))
  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 610, in call_blocking
    message.append(signature=signature, *args)
TypeError: More items found in D-Bus signature than in Python arguments

Revision history for this message
Siegfried Gevatter (rainct) wrote : Re: [Gnome-zeitgeist] [Bug 599138] Re: GAJ Not Launching - ERROR:dbus.connection:Unable to set arguments

Do you have the latest PPA release of both Zeitgeist (zeitgeist-core) and GAJ?

Revision history for this message
naesk (naesk) wrote :

I can confirm I have the latest PPAs installed

zeitgeist-core 0.4.0-0ubuntu1~lucid~ppa
gnome-activity-journal 0.3.4.1+bzr20100619-0ubuntu1~lucid~ppa2

Revision history for this message
Terje Andre Arnøy (terjeaar) wrote :

I have the same versions installed, latest ppa release.

Revision history for this message
brx75 (brx75x) wrote :

Same problem for me.

Revision history for this message
brx75 (brx75x) wrote :

I worked around the problem by removing hamster-applet:

sudo apt-get remove hamster-applet
mv ~/.local/share/hamster-applet ~/.local/share/hamster-applet.bk
pkill hamster-service

The problem could be related with a change in the hamstre db format.

Revision history for this message
naesk (naesk) wrote :

I can confirm @brx75 work around of removing the hamster-applet resulted in GAJ launching correctly :)

Revision history for this message
Randal Barlow (email-tehk) wrote :

revision 1006 disables hamster support for those versions of hamster experiencing this issue. It will remain this way until I can find the cause and update the hamster support for these users.

Changed in gnome-activity-journal:
status: New → Triaged
Revision history for this message
Yuriy Padlyak (gneeot) wrote :

brx75's work around doesn't work for me

Revision history for this message
Anton (ademaro-mail) wrote :

brx75's work around doesn't work for me too... (((

Revision history for this message
UndiFineD (k.dejong) wrote :

$ mv ~/.local/share/hamster-applet ~/.local/share/hamster-applet.bk
$ pkill hamster-service
$ gnome-activity-journal
** Message: pygobject_register_sinkfunc is deprecated (GstObject)
Traceback (most recent call last):
  File "/usr/bin/gnome-activity-journal", line 94, in <module>
    from src.main import PortalWindow
  File "/usr/share/gnome-activity-journal/src/main.py", line 30, in <module>
    from activity_widgets import MultiViewContainer, TimelineViewContainer, ThumbViewContainer
  File "/usr/share/gnome-activity-journal/src/activity_widgets.py", line 35, in <module>
    from store import ContentStruct, CLIENT
  File "/usr/share/gnome-activity-journal/src/store.py", line 504, in <module>
    STORE = Store()
  File "/usr/share/gnome-activity-journal/src/store.py", line 367, in __init__
    days_population = ZeitgeistDBusInterface().get_extension("Log", "journal/activity").GetHistogramData()
  File "/usr/lib/pymodules/python2.6/zeitgeist/client.py", line 82, in __getattr__
    raise TypeError("Unknown method name: %s" % name)
TypeError: Unknown method name: GetHistogramData

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.