I get this error: await self.lifespan(scope, r...
# pacc-june-14-2023
l
I get this error: await self.lifespan(scope, receive, send) File "C:\Users\10353302\AppData\Local\anaconda3\lib\site-packages\starlette\routing.py", line 677, in lifespan async with self.lifespan_context(app) as maybe_state: File "C:\Users\10353302\AppData\Local\anaconda3\lib\contextlib.py", line 199, in aenter return await anext(self.gen) File "C:\Users\10353302\AppData\Local\anaconda3\lib\site-packages\prefect\server\api\server.py", line 520, in lifespan await stop_services() File "C:\Users\10353302\AppData\Local\anaconda3\lib\site-packages\prefect\server\api\server.py", line 502, in stop_services if app.state.services: File "C:\Users\10353302\AppData\Local\anaconda3\lib\site-packages\starlette\datastructures.py", line 705, in getattr raise AttributeError(message.format(self.class.name, key)) AttributeError: 'State' object has no attribute 'services' (base) C:\Users\10353302\training>prefect version Version: 2.10.13 API version: 0.8.4 Python version: 3.10.9 Git commit: 179edeac Built: Thu, Jun 8, 2023 4:10 PM OS/Arch: win32/AMD64 Profile: local Server type: ephemeral Server: Database: sqlite SQLite version: 3.40.1
j
Talking to Taylor, this worked for Lisa: I would recreate your conda env.