gtg team mailing list archive
-
gtg team
-
Mailing list archive
-
Message #01927
[Bug 569706] [NEW] [hamster plugin] ver2.31.1 is incompatible with GTG
Public bug reported:
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.
** Affects: gtg
Importance: Undecided
Status: Fix Committed
** Tags: hamster
--
[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.
Follow ups
References