Skip to content
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

fail to create new TaskWarrior object #65

Closed
ghost opened this issue Jul 26, 2014 · 0 comments · Fixed by #67
Closed

fail to create new TaskWarrior object #65

ghost opened this issue Jul 26, 2014 · 0 comments · Fixed by #67

Comments

@ghost
Copy link

ghost commented Jul 26, 2014

Just tried the example code and get a traceback:

Traceback (most recent call last):
  File "tw.py", line 4, in <module>
    w = TaskWarrior()
  File "/usr/local/lib/python2.7/dist-packages/taskw/warrior.py", line 444, in __init__
    self.config = TaskRc(config_filename, overrides=config_overrides)
  File "/usr/local/lib/python2.7/dist-packages/taskw/taskrc.py", line 39, in __init__
    config = self._read(self.path)
  File "/usr/local/lib/python2.7/dist-packages/taskw/taskrc.py", line 89, in _read
    TaskRc(right.strip())
  File "/usr/local/lib/python2.7/dist-packages/taskw/taskrc.py", line 71, in _merge_trees
    left[key] = self._merge_trees(left.get(key), value)
  File "/usr/local/lib/python2.7/dist-packages/taskw/taskrc.py", line 73, in _merge_trees
    left[key] = value
TypeError: 'str' object does not support item assignment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

0 participants