点击“更多配置”时日志打印的异常是这样的,你看下根据错误提示能不能有点头绪:
有句TypeError: ‘NoneType’ object is not callable是不是关键问题?
2023-06-16 19:25:20,341 INFO list_component_parameters (component_handler.py:147 ) [b4dc24a103fb457992c9f7f1d3cca132] dump config
Exception in ASGI application
Traceback (most recent call last):
File "uvicorn/protocols/http/h11_impl.py", line 407, in run_asgi
File "uvicorn/middleware/proxy_headers.py", line 78, in __call__
File "fastapi/applications.py", line 270, in __call__
File "starlette/applications.py", line 124, in __call__
File "starlette/middleware/errors.py", line 184, in __call__
File "starlette/middleware/errors.py", line 162, in __call__
File "starlette/middleware/gzip.py", line 24, in __call__
File "starlette/middleware/gzip.py", line 43, in __call__
File "asgi_correlation_id/middleware.py", line 81, in __call__
File "starlette/middleware/base.py", line 106, in __call__
File "starlette_prometheus/middleware.py", line 57, in dispatch
File "starlette_prometheus/middleware.py", line 53, in dispatch
File "starlette/middleware/base.py", line 80, in call_next
File "starlette/middleware/base.py", line 69, in coro
File "starlette/middleware/base.py", line 106, in __call__
File "service/middleware/request_response_log.py", line 42, in dispatch
File "starlette/middleware/base.py", line 80, in call_next
File "starlette/middleware/base.py", line 69, in coro
File "starlette/middleware/base.py", line 106, in __call__
File "service/middleware/process_time.py", line 32, in dispatch
File "starlette/middleware/base.py", line 80, in call_next
File "starlette/middleware/base.py", line 69, in coro
File "starlette/middleware/exceptions.py", line 79, in __call__
File "starlette/middleware/exceptions.py", line 68, in __call__
File "fastapi/middleware/asyncexitstack.py", line 21, in __call__
File "fastapi/middleware/asyncexitstack.py", line 18, in __call__
File "starlette/routing.py", line 706, in __call__
File "starlette/routing.py", line 276, in handle
File "starlette/routing.py", line 66, in app
File "fastapi/routing.py", line 235, in app
File "fastapi/routing.py", line 161, in run_endpoint_function
File "service/api/v1/components.py", line 42, in list_component_parameters
File "service/handler/component_handler.py", line 161, in list_component_param eters
File "core.py", line 184, in call_plugin
TypeError: 'NoneType' object is not callable