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

Auto Updater freezes for user with ProcessLookupError #269

Open
dadmobile opened this issue Feb 23, 2025 · 0 comments
Open

Auto Updater freezes for user with ProcessLookupError #269

dadmobile opened this issue Feb 23, 2025 · 0 comments

Comments

@dadmobile
Copy link
Member

Discord user ankh reported:

After i press ok on the found new update, and it downloads it to 100% it seems to get stuck on this screen. I can click out of it and it will work however it won't get updated.

Here is the log output:

ERROR:    Exception in ASGI application
Traceback (most recent call last):
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/uvicorn/protocols/http/httptools_impl.py", line 409, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/uvicorn/middleware/proxy_headers.py", line 60, in __call__
    return await self.app(scope, receive, send)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/fastapi/applications.py", line 1054, in __call__
    await super().__call__(scope, receive, send)
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/starlette/applications.py", line 112, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/starlette/middleware/errors.py", line 187, in __call__
    raise exc
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/starlette/middleware/errors.py", line 165, in __call__
    await self.app(scope, receive, _send)
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/starlette/middleware/cors.py", line 85, in __call__
    await self.app(scope, receive, send)
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
    await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    raise exc
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    await app(scope, receive, sender)
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/starlette/routing.py", line 715, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/starlette/routing.py", line 735, in app
    await route.handle(scope, receive, send)
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/starlette/routing.py", line 288, in handle
    await self.app(scope, receive, send)
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/starlette/routing.py", line 76, in app
    await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    raise exc
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    await app(scope, receive, sender)
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/starlette/routing.py", line 73, in app
    response = await f(request)
               ^^^^^^^^^^^^^^^^
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/fastapi/routing.py", line 301, in app
    raw_response = await run_endpoint_function(
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/site-packages/fastapi/routing.py", line 212, in run_endpoint_function
    return await dependant.call(**values)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/ankh/.transformerlab/src/api.py", line 302, in server_worker_stop
    worker_process.terminate()
  File "/home/ankh/.transformerlab/envs/transformerlab/lib/python3.11/asyncio/subprocess.py", line 143, in terminate
    self._transport.terminate()
  File "uvloop/handles/process.pyx", line 659, in uvloop.loop.UVProcessTransport.terminate
  File "uvloop/handles/process.pyx", line 401, in uvloop.loop.UVProcessTransport._check_proc
ProcessLookupError
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