revision (1232)
Author: Siegfried-Angel Gevatter Pujals <>
Date: Wed 2009-12-16 13:10:46 +0100
Branch: zeitgeist-trunk
Bugs: fixed

    Fix GetMostUsedWithSubjects D-Bus to take all 5
    arguments required by get_most_used_with_subjects.
    Fix the test-case in ./test/

** Changed in: zeitgeist
       Status: Confirmed => Fix Released

TypeError: get_most_used_with_subjects() takes exactly 5 arguments (2 given)
You received this bug notification because you are a member of Zeitgeist
Developers, which is the registrant for Zeitgeist Framework.

Status in Zeitgeist Framework: Fix Released

Bug description:
I just added a new testcase to tests/, which is unfortunatly 

mar...@thekorn ~/devel/zeitgeist/trunk % python test/ 
DEBUG:zeitgeist.engine:Creating engine 'resonance'
INFO:zeitgeist.engine:Using database: :memory:
DEBUG:root:Checking for another running instance...
DEBUG:root:No running instances found.
INFO:root:Starting Zeitgeist service...
DEBUG:zeitgeist.engine:Inserted 23 events in 0.010520s
ERROR: testGetMostUsedWithSubjects (__main__.ZeitgeistRemoteAPITest)
Traceback (most recent call last):
  File "test/", line 200, in testGetMostUsedWithSubjects
    result = self.client._iface.GetMostUsedWithSubjects(["i4"])
  File "/usr/lib/pymodules/python2.6/dbus/", line 140, in __call__
  File "/usr/lib/pymodules/python2.6/dbus/", line 620, in 
    message, timeout)
DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent 
call last):
  File "/usr/lib/pymodules/python2.6/dbus/", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
  File "/media/devel/zeitgeist/trunk/_zeitgeist/engine/", line 88, in 
    return _engine.get_most_used_with_subjects(uris)
TypeError: get_most_used_with_subjects() takes exactly 5 arguments (2 given)

Ran 1 test in 3.032s

FAILED (errors=1)

So either make all argument accessible via the DBus API or choose reasonable 

Mailing list:
Post to     :
Unsubscribe :
More help   :

Reply via email to