GothenburgBitFactory / GothenburgBitFactory/tasklib

Example given in README Fails

Open
#93 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
159
Forks
29
PR merge metrics
No merged PRs in 30d

Description

The below lines fail with the error

>>> from tasklib import TaskWarrior
>>> tw = TaskWarrior('~/.task')
>>> tasks = tw.tasks.pending()
>>> tasks
Traceback (most recent call last):
File "", line 1, in
File "/Users/vnkt/anaconda3/lib/python3.7/site-packages/tasklib/task.py", line 464, in __repr__
data = list(self[:REPR_OUTPUT_SIZE + 1])
File "/Users/vnkt/anaconda3/lib/python3.7/site-packages/tasklib/task.py", line 481, in __getitem__
self._result_cache = list(self)
File "/Users/vnkt/anaconda3/lib/python3.7/site-packages/tasklib/task.py", line 476, in __iter__
self._result_cache = self._execute()
File "/Users/vnkt/anaconda3/lib/python3.7/site-packages/tasklib/task.py", line 508, in _execute
return self.backend.filter_tasks(self.filter_obj)
File "/Users/vnkt/anaconda3/lib/python3.7/site-packages/tasklib/backends.py", line 334, in filter_tasks
for line in self.execute_command(args):
File "/Users/vnkt/anaconda3/lib/python3.7/site-packages/tasklib/backends.py", line 297, in execute_command
raise TaskWarriorException(error_msg)
**tasklib.backends.TaskWarriorException: Could not read include file '/usr/local/Cellar/task/2.5.1/share/doc/task/rc/dark-16.theme'.**
Command used: task rc.confirmation=no rc.dependency.confirmation=no rc.recurrence.confirmation=no rc.json.array=off rc.bulk=0 rc.data.location=/Users/vnkt/.task export status:'pending'

I have upgraded TaskWarrior to 2.5.3 and looks like the lib still searching for a file in 2.5.1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.