mcp_server_final_with_logging.log•6.03 kB
INFO: Started server process [151068]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://0.0.0.0:8004 (Press CTRL+C to quit)
INFO: 192.168.0.71:53286 - "GET /api/docs HTTP/1.1" 500 Internal Server Error
ERROR: Exception in ASGI application
Traceback (most recent call last):
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\fastapi\encoders.py", line 324, in jsonable_encoder
data = dict(obj)
TypeError: 'ellipsis' object is not iterable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\fastapi\encoders.py", line 329, in jsonable_encoder
data = vars(obj)
TypeError: vars() argument must have __dict__ attribute
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\uvicorn\protocols\http\httptools_impl.py", line 409, in run_asgi
result = await app( # type: ignore[func-returns-value]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
self.scope, self.receive, self.send
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\uvicorn\middleware\proxy_headers.py", line 60, in __call__
return await self.app(scope, receive, send)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\fastapi\applications.py", line 1054, in __call__
await super().__call__(scope, receive, send)
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\starlette\applications.py", line 113, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\starlette\middleware\errors.py", line 186, in __call__
raise exc
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\starlette\middleware\errors.py", line 164, in __call__
await self.app(scope, receive, _send)
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\starlette\middleware\cors.py", line 85, in __call__
await self.app(scope, receive, send)
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\starlette\middleware\exceptions.py", line 63, in __call__
await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app
raise exc
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\starlette\routing.py", line 716, in __call__
await self.middleware_stack(scope, receive, send)
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\starlette\routing.py", line 736, in app
await route.handle(scope, receive, send)
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\starlette\routing.py", line 290, in handle
await self.app(scope, receive, send)
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\starlette\routing.py", line 78, in app
await wrap_app_handling_exceptions(app, request)(scope, receive, send)
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\starlette\_exception_handler.py", line 53, in wrapped_app
raise exc
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\starlette\_exception_handler.py", line 42, in wrapped_app
await app(scope, receive, sender)
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\starlette\routing.py", line 75, in app
response = await f(request)
^^^^^^^^^^^^^^^^
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\fastapi\routing.py", line 328, in app
content = await serialize_response(
^^^^^^^^^^^^^^^^^^^^^^^^^
...<9 lines>...
)
^
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\fastapi\routing.py", line 202, in serialize_response
return jsonable_encoder(response_content)
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\fastapi\encoders.py", line 289, in jsonable_encoder
encoded_value = jsonable_encoder(
value,
...<4 lines>...
sqlalchemy_safe=sqlalchemy_safe,
)
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\fastapi\encoders.py", line 289, in jsonable_encoder
encoded_value = jsonable_encoder(
value,
...<4 lines>...
sqlalchemy_safe=sqlalchemy_safe,
)
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\fastapi\encoders.py", line 289, in jsonable_encoder
encoded_value = jsonable_encoder(
value,
...<4 lines>...
sqlalchemy_safe=sqlalchemy_safe,
)
[Previous line repeated 2 more times]
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\fastapi\encoders.py", line 303, in jsonable_encoder
jsonable_encoder(
~~~~~~~~~~~~~~~~^
item,
^^^^^
...<7 lines>...
sqlalchemy_safe=sqlalchemy_safe,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "C:\Users\mikej\AppData\Local\Programs\Python\Python313\Lib\site-packages\fastapi\encoders.py", line 332, in jsonable_encoder
raise ValueError(errors) from e
ValueError: [TypeError("'ellipsis' object is not iterable"), TypeError('vars() argument must have __dict__ attribute')]