← Back to team overview

gtg-contributors team mailing list archive

[Bug 620313] Re: [hamster plugin] not start tracking tasks

 

@wimpunk, 
that patch did not work for me. I wrote, another one, that worked fine. The only problem is that the AddFact method exported via dbus has a parameter, named 'temporary' which I do no have the value. So, I set it to default value, which is 'False'.  Hope this help too. 

Working on an updated ubuntu 10.10.

** Patch added: "Use the new AddFact DBUS interface of hamster"
   https://bugs.launchpad.net/gtg/+bug/620313/+attachment/1690445/+files/hamster-plugin-patch-Ubuntu10.10.patch

-- 
[hamster plugin] not start tracking tasks
https://bugs.launchpad.net/bugs/620313
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to gtg in ubuntu.

Status in Getting Things GNOME!: New
Status in “gtg” package in Ubuntu: New
Status in “gtg” package in Arch Linux: New

Bug description:
Ubuntu 10.04
Hamster 2.33.1
GTG 0.3-0~ubuntu108
Hamster plugin 0.3

I cant start tracking a task from gtg

Traceback (most recent call last):
  File "/usr/share/gtg/GTG/plugins/hamster/hamster.py", line 245, in task_cb
    self.sendTask(plugin_api.get_task())
  File "/usr/share/gtg/GTG/plugins/hamster/hamster.py", line 97, in sendTask
    hamster_id=self.hamster.AddFact('%s%s,%s%s'%(activity, category, description, tag_str), 0, 0)
  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.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
TypeError: AddFact() takes at least 5 arguments (4 given)