Skip to content

IndentationError crash loop on startup #5

Description

@fmaass

Description

The application crashes repeatedly on startup with a Python IndentationError before eventually recovering (presumably after a container restart).

Error

IndentationError: unindent does not match any outer indentation level
Traceback (most recent call last):
  File "/usr/local/bin/uvicorn", line 8, in <module>
    sys.exit(main())
  ...
  File "/usr/local/lib/python3.12/site-packages/uvicorn/main.py", line 579, in run
    server.run()

The error repeats ~10 times in the logs before the app starts successfully.

Notes

This looks like a syntax error shipped in the Docker image — possibly in a code path that only triggers under certain import/config conditions. The app does eventually come up healthy, but the crash loop delays startup significantly.

Version

1.0.0-beta.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions