This message was deleted.
# ask-for-help
s
This message was deleted.
m
Copy code
2024-01-22T15:10:01-0800 [ERROR] [api_server:isleroyale:7] Exception in ASGI application
Traceback (most recent call last):
  File "/Users/mikekuhlen/.virtualenvs/isleroyale-bento/lib/python3.11/site-packages/bentoml/_internal/server/http/traffic.py", line 26, in __call__
    await <http://self.app|self.app>(scope, receive, send)
  File "/Users/mikekuhlen/.virtualenvs/isleroyale-bento/lib/python3.11/site-packages/bentoml/_internal/server/http/instruments.py", line 135, in __call__
    await <http://self.app|self.app>(scope, receive, wrapped_send)
  File "/Users/mikekuhlen/.virtualenvs/isleroyale-bento/lib/python3.11/site-packages/opentelemetry/instrumentation/asgi/__init__.py", line 596, in __call__
    await <http://self.app|self.app>(scope, otel_receive, otel_send)
  File "/Users/mikekuhlen/.virtualenvs/isleroyale-bento/lib/python3.11/site-packages/bentoml/_internal/server/http/access.py", line 126, in __call__
    await <http://self.app|self.app>(scope, receive, wrapped_send)
  File "/Users/mikekuhlen/.virtualenvs/isleroyale-bento/lib/python3.11/site-packages/starlette/middleware/exceptions.py", line 62, in __call__
    await wrap_app_handling_exceptions(<http://self.app|self.app>, conn)(scope, receive, send)
  File "/Users/mikekuhlen/.virtualenvs/isleroyale-bento/lib/python3.11/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
    raise exc
  File "/Users/mikekuhlen/.virtualenvs/isleroyale-bento/lib/python3.11/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    await app(scope, receive, sender)
  File "/Users/mikekuhlen/.virtualenvs/isleroyale-bento/lib/python3.11/site-packages/starlette/routing.py", line 758, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/Users/mikekuhlen/.virtualenvs/isleroyale-bento/lib/python3.11/site-packages/starlette/routing.py", line 778, in app
    await route.handle(scope, receive, send)
  File "/Users/mikekuhlen/.virtualenvs/isleroyale-bento/lib/python3.11/site-packages/starlette/routing.py", line 487, in handle
    await <http://self.app|self.app>(scope, receive, send)
  File "/Users/mikekuhlen/.virtualenvs/isleroyale-bento/lib/python3.11/site-packages/starlette/staticfiles.py", line 104, in __call__
    await response(scope, receive, send)
  File "/Users/mikekuhlen/.virtualenvs/isleroyale-bento/lib/python3.11/site-packages/starlette/responses.py", line 340, in __call__
    elif "http.response.pathsend" in scope["extensions"]:
                                     ~~~~~^^^^^^^^^^^^^^
KeyError: 'extensions'
j
Thanks for spotting this!
@Mike Kuhlen I'm on starlette 0.36.1 and it seems that they fixed it
m
Nice!