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

Error when shutting teapot down #22

Open
vrbanecd opened this issue Jan 22, 2024 · 0 comments
Open

Error when shutting teapot down #22

vrbanecd opened this issue Jan 22, 2024 · 0 comments

Comments

@vrbanecd
Copy link
Collaborator

When teapot is shutting down it gives the following error message:

ERROR:    Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 738, in lifespan
    async with self.lifespan_context(app) as maybe_state:
  File "/usr/local/lib/python3.10/contextlib.py", line 206, in __aexit__
    await anext(self.gen)
  File "/usr/share/teapot/teapot.py", line 62, in lifespan
    pathlib.Path.unlink(SESSION_STORE_PATH)
  File "/usr/local/lib/python3.10/pathlib.py", line 1206, in unlink
    self._accessor.unlink(self)
AttributeError: 'str' object has no attribute '_accessor'

ERROR:    Application shutdown failed. Exiting.
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