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

Crash after "503 Server Error: Service Unavailable for url: https://api.todoist.com/rest/v2/sections" #45

Open
TobiasWehrum opened this issue Nov 12, 2024 · 0 comments

Comments

@TobiasWehrum
Copy link

Hello,

when I start Autodoist, it will work for several hours until finally crashing (it shows the error and quits) with this output:

...
2024-11-12 00:54:48 INFO     No changes in queue, skipping sync.
2024-11-12 00:54:53 INFO     No changes in queue, skipping sync.
2024-11-12 00:54:57 INFO     No changes in queue, skipping sync.
2024-11-12 00:55:03 ERROR    503 Server Error: Service Unavailable for url: https://api.todoist.com/rest/v2/sections
2024-11-12 00:55:03 WARNING  local variable 'all_tasks' referenced before assignment
Traceback (most recent call last):
  File "C:\Prog\autodoist\autodoist.py", line 1556, in <module>
    main()
  File "C:\Prog\autodoist\autodoist.py", line 1514, in main
    overview_task_ids, overview_task_labels = autodoist_magic(
  File "C:\Prog\autodoist\autodoist.py", line 1051, in autodoist_magic
    for section in sections:
UnboundLocalError: local variable 'sections' referenced before assignment

I wasn't using Todoist at that time, and I didn't notice any problems with my internet either.

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