# coding: utf-8 import taskw # create a local config file: # echo "data.location=." > .taskrc tw = taskw.TaskWarrior(config_filename=".taskrc") tw.task_add("test task1", project="test-project", **{'due':"tomorrow+1week"}) # the above command works fine tw._marshal = True tw.task_add("test task1", project="test-project", **{'due':"tomorrow+1week"}) # this command fails with a ValueError in /usr/lib/python3/dist-packages/dateutil/parser.py