Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
4.5 kB
1
Indexable
Never
Error: Traceback (most recent call last):
  File "/runtime/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/runtime/lib/python3.10/site-packages/sentry_sdk/integrations/asgi.py", line 115, in _run_asgi3
    return await self._run_app(scope, lambda: self.app(scope, receive, send))
  File "/runtime/lib/python3.10/site-packages/sentry_sdk/integrations/asgi.py", line 162, in _run_app
    raise exc from None
  File "/runtime/lib/python3.10/site-packages/sentry_sdk/integrations/asgi.py", line 159, in _run_app
    return await callback()
  File "/runtime/lib/python3.10/site-packages/starlette/middleware/cors.py", line 92, in __call__
    await self.simple_response(scope, receive, send, request_headers=headers)
  File "/runtime/lib/python3.10/site-packages/starlette/middleware/cors.py", line 147, in simple_response
    await self.app(scope, receive, send)
  File "/runtime/lib/python3.10/site-packages/starlette/exceptions.py", line 93, in __call__
    raise exc
  File "/runtime/lib/python3.10/site-packages/starlette/exceptions.py", line 82, in __call__
    await self.app(scope, receive, sender)
  File "/runtime/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/runtime/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/runtime/lib/python3.10/site-packages/starlette/routing.py", line 670, in __call__
    await route.handle(scope, receive, send)
  File "/runtime/lib/python3.10/site-packages/starlette/routing.py", line 266, in handle
    await self.app(scope, receive, send)
  File "/runtime/lib/python3.10/site-packages/starlette/routing.py", line 65, in app
    response = await func(request)
  File "/runtime/lib/python3.10/site-packages/fastapi/routing.py", line 227, in app
    raw_response = await run_endpoint_function(
  File "/runtime/lib/python3.10/site-packages/fastapi/routing.py", line 160, in run_endpoint_function
    return await dependant.call(**values)
  File "/app/api/v1_entity/nft.py", line 715, in get_detail_nft_assets
    data = await NftAsset.get(pk=asset_id, *query_filter).select_related("collection", "entity")
  File "/runtime/lib/python3.10/site-packages/tortoise/queryset.py", line 1006, in _execute
    instance_list = await self._db.executor_class(
AttributeError: 'Q' object has no attribute 'executor_class'

    at Object.throw_ [as throw] (http://localhost:53551/dart_sdk.js:5080:11)
    at xetia_core_library._RetryService.new._throwDioError (http://localhost:53551/packages/xetia_http/xetia_http_library.dart.lib.js:176:23)
    at _throwDioError.next (<anonymous>)
    at runBody (http://localhost:53551/dart_sdk.js:40660:34)
    at Object._async [as async] (http://localhost:53551/dart_sdk.js:40691:7)
    at [_throwDioError] (http://localhost:53551/packages/xetia_http/xetia_http_library.dart.lib.js:162:20)
    at xetia_http_library.HttpService.new.request$ (http://localhost:53551/packages/xetia_http/xetia_http_library.dart.lib.js:545:55)
    at request$.throw (<anonymous>)
    at http://localhost:53551/dart_sdk.js:40646:38
    at _RootZone.runBinary (http://localhost:53551/dart_sdk.js:40515:59)
    at _FutureListener.thenAwait.handleError (http://localhost:53551/dart_sdk.js:35449:33)
    at handleError (http://localhost:53551/dart_sdk.js:36015:51)
    at _Future._propagateToListeners (http://localhost:53551/dart_sdk.js:36041:17)
    at [_completeError] (http://localhost:53551/dart_sdk.js:35878:23)
    at [_completeError] (http://localhost:53551/dart_sdk.js:35358:36)
    at _SyncCompleter.new.completeError (http://localhost:53551/dart_sdk.js:35282:29)
    at onError (http://localhost:53551/dart_sdk.js:35122:49)
    at _RootZone.runBinary (http://localhost:53551/dart_sdk.js:40515:59)
    at _FutureListener.then.handleError (http://localhost:53551/dart_sdk.js:35449:33)
    at handleError (http://localhost:53551/dart_sdk.js:36015:51)
    at _Future._propagateToListeners (http://localhost:53551/dart_sdk.js:36041:17)
    at [_completeError] (http://localhost:53551/dart_sdk.js:35878:23)
    at async._AsyncCallbackEntry.new.callback (http://localhost:53551/dart_sdk.js:35927:31)
    at Object._microtaskLoop (http://localhost:53551/dart_sdk.js:40778:13)
    at _startMicrotaskLoop (http://localhost:53551/dart_sdk.js:40784:13)
    at http://localhost:53551/dart_sdk.js:36261:9