autodoist: Not detecting new tasks / unable to detect my next_action label

I setup Autodoist in a docker container using the following instructions. It’s been working up until now. Before this happened, the container had an uptime of 4 days.

Today, I noticed that any new tasks I input in Todoist weren’t receiving my next_action label. I tried to stop the container and edit the command so it’ll have a sync time of 45 seconds instead of 5. When I tried to start the container back up, I’m getting errors and it’s not acting as if my next_action label isn’t there. Here are the following errors.

I’m going to try to run Autodoist directly from my PC to see if I get the same errors

_autodoist_logs.txt

` File “/app/autodoist.py”, line 166, in initialise label_id = verify_label_existance(args, api, args.label, 1) File “/app/autodoist.py”, line 91, in verify_label_existance response = query_yes_no( File “/app/autodoist.py”, line 65, in query_yes_no choice = input().lower() EOFError: EOF when reading a line Do you want to automatically create this label? [Y/n] ������Q2022-10-03 15:31:05 INFO You are running with the following functionalities:

Next action labelling mode: Enabled Regenerate sub-tasks mode: Enabled Shifted end-of-day mode: Disabled

2022-10-03 15:31:05 INFO

Label ‘next_action’ doesn’t exist in your Todoist

Traceback (most recent call last): File “/app/autodoist.py”, line 1005, in <module> main() File “/app/autodoist.py”, line 959, in main api, label_id, regen_labels_id = initialise(args) File “/app/autodoist.py”, line 166, in initialise label_id = verify_label_existance(args, api, args.label, 1) File “/app/autodoist.py”, line 91, in verify_label_existance response = query_yes_no( File “/app/autodoist.py”, line 65, in query_yes_no choice = input().lower() EOFError: EOF when reading a line Do you want to automatically create this label? [Y/n] ������Q2022-10-03 15:31:07 INFO You are running with the following functionalities:

Next action labelling mode: Enabled Regenerate sub-tasks mode: Enabled Shifted end-of-day mode: Disabled

2022-10-03 15:31:07 INFO

Label ‘next_action’ doesn’t exist in your Todoist

Traceback (most recent call last): File “/app/autodoist.py”, line 1005, in <module> main() File “/app/autodoist.py”, line 959, in main api, label_id, regen_labels_id = initialise(args) File “/app/autodoist.py”, line 166, in initialise label_id = verify_label_existance(args, api, args.label, 1) File “/app/autodoist.py”, line 91, in verify_label_existance response = query_yes_no( File “/app/autodoist.py”, line 65, in query_yes_no choice = input().lower() EOFError: EOF when reading a line Do you want to automatically create this label? [Y/n] ������Q2022-10-03 15:31:10 INFO You are running with the following functionalities:

Next action labelling mode: Enabled Regenerate sub-tasks mode: Enabled Shifted end-of-day mode: Disabled

2022-10-03 15:31:10 INFO

Label ‘next_action’ doesn’t exist in your Todoist

Traceback (most recent call last): File “/app/autodoist.py”, line 1005, in <module> main() File “/app/autodoist.py”, line 959, in main api, label_id, regen_labels_id = initialise(args) File “/app/autodoist.py”, line 166, in initialise label_id = verify_label_existance(args, api, args.label, 1) File “/app/autodoist.py”, line 91, in verify_label_existance response = query_yes_no( File “/app/autodoist.py”, line 65, in query_yes_no choice = input().lower() EOFError: EOF when reading a line Do you want to automatically create this label? [Y/n] ������Q2022-10-03 15:31:15 INFO You are running with the following functionalities:

Next action labelling mode: Enabled Regenerate sub-tasks mode: Enabled Shifted end-of-day mode: Disabled

2022-10-03 15:31:15 INFO

Label ‘next_action’ doesn’t exist in your Todoist

Traceback (most recent call last): File “/app/autodoist.py”, line 1005, in <module> main() File “/app/autodoist.py”, line 959, in main api, label_id, regen_labels_id = initialise(args) File “/app/autodoist.py”, line 166, in initialise label_id = verify_label_existance(args, api, args.label, 1) File “/app/autodoist.py”, line 91, in verify_label_existance response = query_yes_no( File “/app/autodoist.py”, line 65, in query_yes_no choice = input().lower() EOFError: EOF when reading a line Do you want to automatically create this label? [Y/n] `

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 15 (8 by maintainers)

Most upvoted comments

Good news everyone!

I’ve been able to work through all the important parts. I’ll spend some time updating the README, do some final testing, and the goal is to release v2.0.0 this weekend!

Only resetting recurring tasks has not been enabled yet, since nowadays it’s a core functionality of Todoist itself. However:

  • it’s still more limited than Autodoist
  • it does not restore the original order of the sub-tasks
  • deeper sub-tasks can’t be reset

Unfortunately the REST API doesn’t show completed tasks, which makes resetting them a bit complicated. I’ve placed a ticket with the Todoist devs to figure this one out, so for now this feature might be made available again in a future release.

Hi all, I was able to find a workaround and have just pushed a working version to the dev branch. Currently only labelling is working, I’ve disabled most of the other features for now so I could focus on the problem at hand.

Before releasing a new master version, there are a few minor things I still want to do:

  • First of all I’ll slightly tweak how types are specified on each level (project, section, top-task, sub-tasks), in order to have a better handling on how sections and sub-tasks behave. This is because the code was developed before sections where even a thing, and the amount of subtasks possible where fewer. Should give you guys a bit more flexibility.
  • And of course, see if I can easily reactivate the other functionalities.

In any case, v2.0 planned to be released relatively soon.

Oof bad news. The new API’s of Todoist doesn’t allow creating custom properties for tasks any more. This was a functionality that I used to assign my own meta-data, which Autodoist could use to keep track of stuff and work properly.

Even if rewrite all the syntax to the new API, a lot of core functionalities simply don’t work any more. I will need to give this some additional thought to see if I can find some kind of workaround or else use an alternative approach to get the same things done. Unfortunately, no quick fix for now.

I’ll keep you posted.

Hi there! Thanks all for reaching out and looking into this. Sorry I haven’t been able to reply yet, life is bit hectic at the moment. I’ll try to find some time this weekend to take a proper look at this too, since it’s a pretty impactful bug indeed.