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

i cannot filter any data #114

Open
sakarimov opened this issue May 14, 2022 · 0 comments
Open

i cannot filter any data #114

sakarimov opened this issue May 14, 2022 · 0 comments

Comments

@sakarimov
Copy link

sakarimov commented May 14, 2022

TaskWarrior Version
2.6.2

Tasklib version
2.2.1

Problem
i want to filter data in with filter tw.tasks.filter("status:completed")
but i get this error, where am i wrong?

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/sulthan/.local/lib/python3.10/site-packages/tasklib/task.py", line 464, in __repr__
    data = list(self[:REPR_OUTPUT_SIZE + 1])
  File "/home/sulthan/.local/lib/python3.10/site-packages/tasklib/task.py", line 481, in __getitem__
    self._result_cache = list(self)
  File "/home/sulthan/.local/lib/python3.10/site-packages/tasklib/task.py", line 471, in __len__
    self._result_cache = list(self.__iter__())
  File "/home/sulthan/.local/lib/python3.10/site-packages/tasklib/task.py", line 476, in __iter__
    self._result_cache = self._execute()
  File "/home/sulthan/.local/lib/python3.10/site-packages/tasklib/task.py", line 508, in _execute
    return self.backend.filter_tasks(self.filter_obj)
  File "/home/sulthan/.local/lib/python3.10/site-packages/tasklib/backends.py", line 334, in filter_tasks
    for line in self.execute_command(args):
  File "/home/sulthan/.local/lib/python3.10/site-packages/tasklib/backends.py", line 297, in execute_command
    raise TaskWarriorException(error_msg)
tasklib.backends.TaskWarriorException: TASKDATA override: /home/sulthan/.task
Configuration override rc.confirmation=no
Configuration override rc.dependency.confirmation=no
Configuration override rc.recurrence.confirmation=no
Configuration override rc.json.array=off
Configuration override rc.bulk=0
Configuration override rc.data.location=/home/sulthan/.task
Unable to find report that matches 'status:completed'.
Command used: task rc.confirmation=no rc.dependency.confirmation=no rc.recurrence.confirmation=no rc.json.array=off rc.bulk=0 rc.data.location=/home/sulthan/.task export status:completed
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

No branches or pull requests

1 participant