GTG

Comment 6 for bug 1102453

Revision history for this message
Derek Moore (derek-p-moore) wrote :

Basically, line 108 of /usr/lib/python2.7/site-packages/GTG/plugins/hamster/hamster.py needs to change...

The newer function signature to Hamster's AddFact dbus call has an in type string of "siib" and parameter names of "fact, start_time, end_time, temporary = False".

fact is now a string that is parsed by hamster, which can contain "[time] Activity@Category, Description". See "Input" page in hamster-time-tracker help file.

Several things about the hamster plugin need to be fixed. The GTG Tag to Activity preference is kinda broken, and limited due to the fact that activities can have spaces but GTG tags cannot, etc., etc.

I've fixed my GTG->Hamster plugin, but I'll probably be doing more work on it to fix it up to my standards and usage. I'll probably submit a patch as my edits to hamster.py improve.