question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not detecting new tasks / unable to detect my next_action label

See original GitHub issue

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] `

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
Hoffelhascommented, Dec 18, 2022

Oof bad news. The new API’s of Todoist don’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 though 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.

1reaction
Hoffelhascommented, Dec 17, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Hoffelhas/autodoist: Added functionality for Todoist. - GitHub
Automatic next action labels. The program looks for pre-defined tags in the name of every project, section, or parentless tasks in your Todoist...
Read more >
9 Ways to Use Todoist Labels & Filters to Manage Task List ...
Learn 9 powerful and simple ways to use Todoist's labels and filters to help you organize your tasks and manage your time.
Read more >
4 Common Mistakes New Wrike Users Make, and Tips to ...
2. There is no context. Assignees can't see how orphaned tasks fit into the larger picture of a project. Without the context that...
Read more >
GTD in 15 minutes – A Pragmatic Guide to Getting Things Done
GTD—or “Getting things done”—is a framework created by David Allen for organizing and tracking your tasks and projects. Its aim is a bit...
Read more >
Re: Unable to connect to a SharePoint task list
Hello,. I'd like to use conditions on items from a SharePoint task list. The name of this task list does not appear in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found