← Back to team overview

gtg team mailing list archive

[Bug 569706] Re: [hamster plugin] ver2.31.1 is incompatible with GTG

 

*** This bug is a duplicate of bug 566040 ***
    https://bugs.launchpad.net/bugs/566040

** This bug has been marked a duplicate of bug 566040
   [hamster plugin] Unknown error while loading

-- 
[hamster plugin] ver2.31.1 is incompatible with GTG
https://bugs.launchpad.net/bugs/569706
You received this bug notification because you are a member of Gtg
contributors, which is subscribed to Getting Things GNOME!.

Status in Getting Things GNOME!: Fix Committed

Bug description:
Using GTG 0.2.4 (from ppa) + Hamster-applet 2.31.1 (from source)
causes error then trying to start tracking:

Traceback (most recent call last):
  File "/usr/share/gtg/GTG/plugins/hamster/hamster.py", line 242, in browser_cb
    self.sendTask(plugin_api.get_selected_task())
  File "/usr/share/gtg/GTG/plugins/hamster/hamster.py", line 54, in sendTask
    hamster_activities=set([unicode(x[0]).lower() for x in self.hamster.GetActivities()])
KeyError: 0

I investigated it a little bit and found that some methods were changed in Hamster. Attaching my version of hamster.py that fixes it. Also added fix for not to add GTG tags that are duplicates of category or activity.







References