Open noisufnoc opened 6 years ago
Try to regenerate token in todoist and replace it in the workflow.
no such luck, I just tried a new token
Ok, I updated some dependencies, this may help. New workflow: https://github.com/agladky/todoist-overdue-alfred/blob/master/Todoist%20overdue.alfredworkflow
I tried the new version, looks like it's complaining about urllib3
[2018-03-14 10:23:24][input.keyword] Processing output of 'utility.argument' with arg '' [2018-03-14 10:23:24][utility.argument] Processing output of 'action.script' with arg '' [2018-03-14 10:23:25][ERROR: action.script] Traceback (most recent call last): File "todoist_overdue.py", line 13, in
from todoist import TodoistAPI File "/Users/noisufnoc/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.82048476-481D-43EC-8AEA-6515019BF74A/lib/todoist/init.py", line 1, in from .api import TodoistAPI File "/Users/noisufnoc/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.82048476-481D-43EC-8AEA-6515019BF74A/lib/todoist/api.py", line 4, in import requests File "/Users/noisufnoc/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.82048476-481D-43EC-8AEA-6515019BF74A/lib/requests/init.py", line 43, in import urllib3 ImportError: No module named urllib3 [2018-03-14 10:23:25][action.script] Processing output of 'output.notification' with arg ''
Sorry for that, I fixed it. Try to download again, please.
[2018-03-15 10:11:59][input.keyword] Processing output of 'utility.argument' with arg '' [2018-03-15 10:11:59][utility.argument] Processing output of 'action.script' with arg '' [2018-03-15 10:11:59][ERROR: action.script] Traceback (most recent call last): File "todoist_overdue.py", line 13, in
from todoist import TodoistAPI File "/Users/noisufnoc/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.82048476-481D-43EC-8AEA-6515019BF74A/lib/todoist/init.py", line 1, in from .api import TodoistAPI File "/Users/noisufnoc/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.82048476-481D-43EC-8AEA-6515019BF74A/lib/todoist/api.py", line 4, in import requests File "/Users/noisufnoc/Library/Application Support/Alfred 3/Alfred.alfredpreferences/workflows/user.workflow.82048476-481D-43EC-8AEA-6515019BF74A/lib/requests/init.py", line 44, in import chardet ImportError: No module named chardet [2018-03-15 10:11:59][action.script] Processing output of 'output.notification' with arg ''
I think I need to rebuild the workflow after my vacation. For now, try to download for last time. I added all necessary libraries.
Thank you for your help. I tried the latest version, no errors but no tasks were moved.
So I grabbed your python code and started walking through it, it seems that I dont get any overdue items at this point:
I'm not sure if it's my account or what. Right now I have many items in the todoist UI as 'overdue' but when I query the api for 'overdue' I get an empty list.
I opened in debug console, says that my tasks are being moved but they actually don't move in todoist.
Thoughts?