** Attachment added: "fixed hamster.py"
http://launchpadlibrarian.net/45303936/hamster.py
** Description changed:
Using GTG 0.2.4 (from ppa) + Hamster-applet 2.31.1 (from source)
- causes:
+ 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()])
+ 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.
** Changed in: gtg
Status: New => Fix Committed
--
[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.
_______________________________________________
Mailing list: https://launchpad.net/~gtg
Post to : [email protected]
Unsubscribe : https://launchpad.net/~gtg
More help : https://help.launchpad.net/ListHelp