← Back to team overview

gtg team mailing list archive

[Bug 566040] Re: [hamster plugin] Unknown error while loading

 

I haven't had a chance to test it with 2.31.1, but the patch breaks the
plugin for older Hamster versions. I'm using 2.29.93. There are non-
trivial changes to the Hamster API in 2.31.

Also, Hamster 2.31 has a new python library that may be a better option
than using DBUS directly, especially since the API compatibility is
broken anyway. See http://projecthamster.wordpress.com/2010/04/30
/experimentation-with-real-data/

-- 
[hamster plugin] Unknown error while loading
https://bugs.launchpad.net/bugs/566040
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!: Triaged

Bug description:
Ubuntu 9.10 
Hamster 2.31.1
GTG 0.2.4 (from ppa)
Hamster plugin 0.3

Cant check this module for load. Its said, uknown error while loading. 

...

Oh, it is loaded. Magic. But I cant use it :(. When I select a task and push "Start new activity in Hamster", I see it in debug-output:

** (gtg:13782): CRITICAL **: atk_object_set_name: assertion `name != NULL' failed
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
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
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





References