GTG

GTG crash with trace when starting an activity in hamster

Bug #1088930 reported by Jonathan Gibert
32
This bug affects 7 people
Affects Status Importance Assigned to Milestone
GTG
Fix Released
Undecided
Unassigned

Bug Description

Version :
- GTG v 0.3
- hamster 2.91.2

When starting an activity in hamster from GTG, bad things happen. GTG give the following trace :

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/GTG/plugins/hamster/hamster.py", line 264, in browser_cb
    self.sendTask(plugin_api.get_requester().get_task(task_id))
  File "/usr/lib/python2.7/site-packages/GTG/plugins/hamster/hamster.py", line 109, in sendTask
    category, description)
  File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
TypeError: AddFact() takes at most 5 arguments (7 given)

Tags: plugin hamster
Revision history for this message
Manny Luz Cruz (manny-luz-cruz) wrote :

I also have this exact problem! Using latest daily

Traceback (most recent call last):
  File "/usr/share/gtg/GTG/plugins/hamster/hamster.py", line 265, in browser_cb
    self.sendTask(plugin_api.get_requester().get_task(task_id))
  File "/usr/share/gtg/GTG/plugins/hamster/hamster.py", line 110, in sendTask
    category, description)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
TypeError: AddFact() takes at most 5 arguments (7 given)

Revision history for this message
Mani Sabri (mani-sabri) wrote :

Patch for the 0.3 on Ubuntu 12.10 x64 . I hope it works for you.

Revision history for this message
Thomas Schneider (6-launchpad-w) wrote :

Traceback (most recent call last):
  File "/usr/share/gtg/GTG/plugins/hamster/hamster.py", line 244, in browser_cb
    self.sendTask(plugin_api.get_requester().get_task(task_id))
  File "/usr/share/gtg/GTG/plugins/hamster/hamster.py", line 98, in sendTask
    hamster_id=self.hamster.AddFact(activity, tag_str, 0, 0, category, description)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
TypeError: AddFact() takes at most 5 arguments (7 given)

Revision history for this message
John DiPalma (dipalmaj) wrote :

Traceback (most recent call last):
  File "/usr/share/gtg/GTG/plugins/hamster/hamster.py", line 264, in browser_cb
    self.sendTask(plugin_api.get_requester().get_task(task_id))
  File "/usr/share/gtg/GTG/plugins/hamster/hamster.py", line 109, in sendTask
    category, description)
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 145, in __call__
    **keywords)
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
    message, timeout)
DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/dbus/service.py", line 707, in _message_cb
    retval = candidate_method(self, *args, **keywords)
TypeError: AddFact() takes at most 5 arguments (7 given)

I'm running Ubuntu 13 -> going to see if patch works, guessing it won't

Revision history for this message
Parin Porecha (parinporecha) wrote :

John >

We just released GTG 0.3.1. You can download the tarball from here - https://launchpad.net/gtg/+download
The Hamster plugin has been fixed in it.
The errors you are getting at startup should no longer be there.

Marking the bug as fixed

Changed in gtg:
status: New → Fix Released
tags: added: hamster plugin
description: updated
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.