New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TI-40] extension script fails with an error #45

taskwarrior opened this Issue Feb 11, 2018 · 2 comments


None yet
1 participant

taskwarrior commented Feb 11, 2018

Jan Stolarek on 2016-09-01T20:38:43Z says:

I installed totals extension as described in the tutorial but when I try to run it it fails with an error:

[killy(at)GLaDOS : ~] timew totals
Traceback (most recent call last):
File "/dane/uczelnia/inne/.zadania/extensions/", line 74, in
for tag in object['tags']:
KeyError: 'tags'
/dane/uczelnia/inne/.zadania/ is my custom location for timewarrior data. It already contains some entries:

[killy(at)GLaDOS : ~] timew summary
Wk Date Day Tags Start End Time Total
W35 2016-09-01 Thu Foo, dom 10:38:19 10:43:00 0:04:41
Foo, dom 10:43:14 10:43:51 0:00:37
Foo, dom 10:44:10 10:44:19 0:00:09
Foo, dom 12:35:42 13:05:01 0:29:19
Foo, dom 13:12:40 13:13:13 0:00:33
13:13:16 13:13:27 0:00:11
13:13:29 13:13:30 0:00:01
13:13:32 13:24:17 0:10:45
Bar, dom 14:06:16 15:35:29 1:29:13 2:15:29



@taskwarrior taskwarrior added this to the 1.1.0 milestone Feb 11, 2018


This comment has been minimized.

taskwarrior commented Feb 11, 2018

Migrated metadata:

Created: 2016-09-01T20:38:43Z
Modified: 2017-02-14T22:49:28Z

This comment has been minimized.

taskwarrior commented Feb 11, 2018

Theis Christensen on 2016-10-04T12:02:55Z says:

I had the same problem, it seems like when there is trackings with no tag, it fails..
If you remove the 3 trackings without tags, the script will work.

The data files should be saved with a tag field that is empty instead of no tag field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment