← Back to team overview

gtg-contributors team mailing list archive

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

 

Running gtg trunk (0.3-development) with 2.32.1-ubuntu (from 11.04)
gives a similar error:

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/GTG/plugins/hamster/hamster.py", line 248, in task_cb
    self.sendTask(task)
  File "/usr/local/lib/python2.7/dist-packages/GTG/plugins/hamster/hamster.py", line 98, in sendTask
    hamster_id=self.hamster.AddFact(activity, tag_str, 0, 0, category, description)
  File "/usr/lib/pymodules/python2.7/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/pymodules/python2.7/dbus/connection.py", line 630, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/dbus/service.py", line 702, in _message_cb
    retval = candidate_method(self, *args, **keywords)
TypeError: AddFact() takes at most 5 arguments (7 given)

As far as I understand, the error comes from mismatching version trunk - 2.32.1. Is this correct?
If so, could someone give me a description on how to get hamster trunk or a 2.32.1 compatible gtg version?
I've tried to install gtg from the ubuntu repos, but gtg could not start. I guess the problem is that some config settings are not backward compatible. The error was something related to the localfile module.

-- 
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to gtg in Ubuntu.
https://bugs.launchpad.net/bugs/620313

Title:
  [hamster plugin] not start tracking tasks

Status in Getting Things GNOME!:
  Fix Committed
Status in “gtg” package in Ubuntu:
  Confirmed
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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/gtg/+bug/620313/+subscriptions