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

Unable to update tasks #145

Open
manoelpqueiroz opened this issue Mar 2, 2021 · 0 comments
Open

Unable to update tasks #145

manoelpqueiroz opened this issue Mar 2, 2021 · 0 comments

Comments

@manoelpqueiroz
Copy link

I have downloaded taskw through pip and my tasks are loaded normally. I am able to delete them, but I am unable to update their description through the update_task method. It incurs in the same error as #125 and I believe the two might be related.

The full output is below:

TaskwarriorError                        Traceback (most recent call last)
<ipython-input-13-e3038853540e> in <module>
----> 1 w.task_update(t)

~/.local/lib/python3.9/site-packages/taskw/warrior.py in task_update(self, task)
    804         # (changes *might* just be in annotations).
    805         if modification:
--> 806             self._execute(task_uuid, 'modify', *modification)
    807 
    808         # If there are no existing annotations, add the new ones

~/.local/lib/python3.9/site-packages/taskw/warrior.py in _execute(self, *args)
    482 
    483         if proc.returncode != 0:
--> 484             raise TaskwarriorError(command, stderr, stdout, proc.returncode)
    485 
    486         # We should get bytes from the outside world.  Turn those into unicode

<class 'str'>: (<class 'TypeError'>, TypeError('__str__ returned non-string (type bytes)'))

I don't quite understand if this error is supposed to be fixed or not. #126 seems to have passed, but has it actually been committed?

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