Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Legal Notice
  • Privacy Policy
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. Help
  4. Bambuddy will not list archives

Bambuddy will not list archives

Scheduled Pinned Locked Moved Help
6 Posts 2 Posters 71 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote last edited by
    #1

    Basically I have bambuddy setup, and when I click on "archives" it shows nothing and the docker instance log prints out like 10 pages of python errors, and nothing shows up in the actual bambuddy logs.. because I assume the python error is preempting it.

    There's no FTP issue, the archives are getting created and transferred to the directory. The error occurs when I try to view Archives in the web-app, and it appears to be something wrong with the API call not getting what it expects. I don't know enough about the code to understand the error.

    I am using version 2.4.6 on maziggy/bambuddy docker instance on a raspberry pi 5 with docker setup.

    I'm hoping this is something simple/weird with my setup and not an actual bug.

    Here is the error in the docker logs:

    INFO:     172.16.6.29:49362 - "POST /api/v1/cloud/filament-info HTTP/1.1" 200 OK
    
    ERROR:    Exception in ASGI application
    
      + Exception Group Traceback (most recent call last):
    
      |   File "/usr/local/lib/python3.13/site-packages/starlette/_utils.py", line 81, in collapse_excgroups
    
      |     yield
    
      |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 192, in __call__
    
      |     async with anyio.create_task_group() as task_group:
    
      |                ~~~~~~~~~~~~~~~~~~~~~~~^^
    
      |   File "/usr/local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 799, in __aexit__
    
      |     raise BaseExceptionGroup(
    
      |         "unhandled errors in a TaskGroup", self._exceptions
    
      |     ) from None
    
      | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
    
      +-+---------------- 1 ----------------
    
        | Traceback (most recent call last):
    
        |   File "/usr/local/lib/python3.13/site-packages/uvicorn/protocols/http/httptools_impl.py", line 421, in run_asgi
    
        |     result = await app(  # type: ignore[func-returns-value]
    
        |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        |         self.scope, self.receive, self.send
    
        |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        |     )
    
        |     ^
    
        |   File "/usr/local/lib/python3.13/site-packages/uvicorn/middleware/proxy_headers.py", line 62, in __call__
    
        |     return await self.app(scope, receive, send)
    
        |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/fastapi/applications.py", line 1159, in __call__
    
        |     await super().__call__(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/applications.py", line 90, in __call__
    
        |     await self.middleware_stack(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/errors.py", line 186, in __call__
    
        |     raise exc
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/errors.py", line 164, in __call__
    
        |     await self.app(scope, receive, _send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 191, in __call__
    
        |     with recv_stream, send_stream, collapse_excgroups():
    
        |                                    ~~~~~~~~~~~~~~~~~~^^
    
        |   File "/usr/local/lib/python3.13/contextlib.py", line 162, in __exit__
    
        |     self.gen.throw(value)
    
        |     ~~~~~~~~~~~~~~^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
    
        |     raise exc
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 193, in __call__
    
        |     response = await self.dispatch_func(request, call_next)
    
        |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        |   File "/app/backend/app/main.py", line 6031, in trace_id_middleware
    
        |     response = await call_next(request)
    
        |                ^^^^^^^^^^^^^^^^^^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 168, in call_next
    
        |     raise app_exc from app_exc.__cause__ or app_exc.__context__
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 144, in coro
    
        |     await self.app(scope, receive_or_disconnect, send_no_error)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 191, in __call__
    
        |     with recv_stream, send_stream, collapse_excgroups():
    
        |                                    ~~~~~~~~~~~~~~~~~~^^
    
        |   File "/usr/local/lib/python3.13/contextlib.py", line 162, in __exit__
    
        |     self.gen.throw(value)
    
        |     ~~~~~~~~~~~~~~^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
    
        |     raise exc
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 193, in __call__
    
        |     response = await self.dispatch_func(request, call_next)
    
        |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        |   File "/app/backend/app/main.py", line 5992, in auth_middleware
    
        |     return await call_next(request)
    
        |            ^^^^^^^^^^^^^^^^^^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 168, in call_next
    
        |     raise app_exc from app_exc.__cause__ or app_exc.__context__
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 144, in coro
    
        |     await self.app(scope, receive_or_disconnect, send_no_error)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 191, in __call__
    
        |     with recv_stream, send_stream, collapse_excgroups():
    
        |                                    ~~~~~~~~~~~~~~~~~~^^
    
        |   File "/usr/local/lib/python3.13/contextlib.py", line 162, in __exit__
    
        |     self.gen.throw(value)
    
        |     ~~~~~~~~~~~~~~^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
    
        |     raise exc
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 193, in __call__
    
        |     response = await self.dispatch_func(request, call_next)
    
        |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        |   File "/app/backend/app/main.py", line 5800, in security_headers_middleware
    
        |     response = await call_next(request)
    
        |                ^^^^^^^^^^^^^^^^^^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 168, in call_next
    
        |     raise app_exc from app_exc.__cause__ or app_exc.__context__
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 144, in coro
    
        |     await self.app(scope, receive_or_disconnect, send_no_error)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/exceptions.py", line 63, in __call__
    
        |     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    
        |     raise exc
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    
        |     await app(scope, receive, sender)
    
        |   File "/usr/local/lib/python3.13/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    
        |     await self.app(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 660, in __call__
    
        |     await self.middleware_stack(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 680, in app
    
        |     await route.handle(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 276, in handle
    
        |     await self.app(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 134, in app
    
        |     await wrap_app_handling_exceptions(app, request)(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    
        |     raise exc
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    
        |     await app(scope, receive, sender)
    
        |   File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 120, in app
    
        |     response = await f(request)
    
        |                ^^^^^^^^^^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 695, in app
    
        |     content = await serialize_response(
    
        |               ^^^^^^^^^^^^^^^^^^^^^^^^^
    
        |     ...<11 lines>...
    
        |     )
    
        |     ^
    
        |   File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 300, in serialize_response
    
        |     raise ResponseValidationError(
    
        |     ...<3 lines>...
    
        |     )
    
        | fastapi.exceptions.ResponseValidationError: 3 validation errors:
    
        |   {'type': 'datetime_type', 'loc': ('response', 0, 'created_at'), 'msg': 'Input should be a valid datetime', 'input': None}
    
        |   {'type': 'datetime_type', 'loc': ('response', 1, 'created_at'), 'msg': 'Input should be a valid datetime', 'input': None}
    
        |   {'type': 'datetime_type', 'loc': ('response', 2, 'created_at'), 'msg': 'Input should be a valid datetime', 'input': None}
    
        | 
    
        |   File "/app/backend/app/api/routes/archives.py", line 309, in list_archives
    
        |     GET /api/v1/archives/
    
        +------------------------------------
    
    The above exception was the direct cause of the following exception:
    
    Traceback (most recent call last):
    
      File "/usr/local/lib/python3.13/site-packages/uvicorn/protocols/http/httptools_impl.py", line 421, in run_asgi
    
        result = await app(  # type: ignore[func-returns-value]
    
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
            self.scope, self.receive, self.send
    
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        )
    
        ^
    
      File "/usr/local/lib/python3.13/site-packages/uvicorn/middleware/proxy_headers.py", line 62, in __call__
    
        return await self.app(scope, receive, send)
    
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/fastapi/applications.py", line 1159, in __call__
    
        await super().__call__(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/applications.py", line 90, in __call__
    
        await self.middleware_stack(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/errors.py", line 186, in __call__
    
        raise exc
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/errors.py", line 164, in __call__
    
        await self.app(scope, receive, _send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 191, in __call__
    
        with recv_stream, send_stream, collapse_excgroups():
    
                                       ~~~~~~~~~~~~~~~~~~^^
    
      File "/usr/local/lib/python3.13/contextlib.py", line 162, in __exit__
    
        self.gen.throw(value)
    
        ~~~~~~~~~~~~~~^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
    
        raise exc
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 193, in __call__
    
        response = await self.dispatch_func(request, call_next)
    
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
      File "/app/backend/app/main.py", line 6031, in trace_id_middleware
    
        response = await call_next(request)
    
                   ^^^^^^^^^^^^^^^^^^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 168, in call_next
    
        raise app_exc from app_exc.__cause__ or app_exc.__context__
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 144, in coro
    
        await self.app(scope, receive_or_disconnect, send_no_error)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 191, in __call__
    
        with recv_stream, send_stream, collapse_excgroups():
    
                                       ~~~~~~~~~~~~~~~~~~^^
    
      File "/usr/local/lib/python3.13/contextlib.py", line 162, in __exit__
    
        self.gen.throw(value)
    
        ~~~~~~~~~~~~~~^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
    
        raise exc
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 193, in __call__
    
        response = await self.dispatch_func(request, call_next)
    
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
      File "/app/backend/app/main.py", line 5992, in auth_middleware
    
        return await call_next(request)
    
               ^^^^^^^^^^^^^^^^^^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 168, in call_next
    
        raise app_exc from app_exc.__cause__ or app_exc.__context__
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 144, in coro
    
        await self.app(scope, receive_or_disconnect, send_no_error)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 191, in __call__
    
        with recv_stream, send_stream, collapse_excgroups():
    
                                       ~~~~~~~~~~~~~~~~~~^^
    
      File "/usr/local/lib/python3.13/contextlib.py", line 162, in __exit__
    
        self.gen.throw(value)
    
        ~~~~~~~~~~~~~~^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
    
        raise exc
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 193, in __call__
    
        response = await self.dispatch_func(request, call_next)
    
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
      File "/app/backend/app/main.py", line 5800, in security_headers_middleware
    
        response = await call_next(request)
    
                   ^^^^^^^^^^^^^^^^^^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 168, in call_next
    
        raise app_exc from app_exc.__cause__ or app_exc.__context__
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 144, in coro
    
        await self.app(scope, receive_or_disconnect, send_no_error)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/exceptions.py", line 63, in __call__
    
        await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    
        raise exc
    
      File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    
        await app(scope, receive, sender)
    
      File "/usr/local/lib/python3.13/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    
        await self.app(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 660, in __call__
    
        await self.middleware_stack(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 680, in app
    
        await route.handle(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 276, in handle
    
        await self.app(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 134, in app
    
        await wrap_app_handling_exceptions(app, request)(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    
        raise exc
    
      File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    
        await app(scope, receive, sender)
    
      File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 120, in app
    
        response = await f(request)
    
                   ^^^^^^^^^^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 695, in app
    
        content = await serialize_response(
    
                  ^^^^^^^^^^^^^^^^^^^^^^^^^
    
        ...<11 lines>...
    
        )
    
        ^
    
      File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 300, in serialize_response
    
        raise ResponseValidationError(
    
        ...<3 lines>...
    
        )
    
    fastapi.exceptions.ResponseValidationError: 3 validation errors:
    
      {'type': 'datetime_type', 'loc': ('response', 0, 'created_at'), 'msg': 'Input should be a valid datetime', 'input': None}
    
      {'type': 'datetime_type', 'loc': ('response', 1, 'created_at'), 'msg': 'Input should be a valid datetime', 'input': None}
    
      {'type': 'datetime_type', 'loc': ('response', 2, 'created_at'), 'msg': 'Input should be a valid datetime', 'input': None}
    
      File "/app/backend/app/api/routes/archives.py", line 309, in list_archives
    
        GET /api/v1/archives/
    
    ERROR:    Exception in ASGI application
    
      + Exception Group Traceback (most recent call last):
    
      |   File "/usr/local/lib/python3.13/site-packages/starlette/_utils.py", line 81, in collapse_excgroups
    
      |     yield
    
      |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 192, in __call__
    
      |     async with anyio.create_task_group() as task_group:
    
      |                ~~~~~~~~~~~~~~~~~~~~~~~^^
    
      |   File "/usr/local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 799, in __aexit__
    
      |     raise BaseExceptionGroup(
    
      |         "unhandled errors in a TaskGroup", self._exceptions
    
      |     ) from None
    
      | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
    
      +-+---------------- 1 ----------------
    
        | Traceback (most recent call last):
    
        |   File "/usr/local/lib/python3.13/site-packages/uvicorn/protocols/http/httptools_impl.py", line 421, in run_asgi
    
        |     result = await app(  # type: ignore[func-returns-value]
    
        |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        |         self.scope, self.receive, self.send
    
        |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        |     )
    
        |     ^
    
        |   File "/usr/local/lib/python3.13/site-packages/uvicorn/middleware/proxy_headers.py", line 62, in __call__
    
        |     return await self.app(scope, receive, send)
    
        |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/fastapi/applications.py", line 1159, in __call__
    
        |     await super().__call__(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/applications.py", line 90, in __call__
    
        |     await self.middleware_stack(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/errors.py", line 186, in __call__
    
        |     raise exc
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/errors.py", line 164, in __call__
    
        |     await self.app(scope, receive, _send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 191, in __call__
    
        |     with recv_stream, send_stream, collapse_excgroups():
    
        |                                    ~~~~~~~~~~~~~~~~~~^^
    
        |   File "/usr/local/lib/python3.13/contextlib.py", line 162, in __exit__
    
        |     self.gen.throw(value)
    
        |     ~~~~~~~~~~~~~~^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
    
        |     raise exc
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 193, in __call__
    
        |     response = await self.dispatch_func(request, call_next)
    
        |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        |   File "/app/backend/app/main.py", line 6031, in trace_id_middleware
    
        |     response = await call_next(request)
    
        |                ^^^^^^^^^^^^^^^^^^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 168, in call_next
    
        |     raise app_exc from app_exc.__cause__ or app_exc.__context__
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 144, in coro
    
        |     await self.app(scope, receive_or_disconnect, send_no_error)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 191, in __call__
    
        |     with recv_stream, send_stream, collapse_excgroups():
    
        |                                    ~~~~~~~~~~~~~~~~~~^^
    
        |   File "/usr/local/lib/python3.13/contextlib.py", line 162, in __exit__
    
        |     self.gen.throw(value)
    
        |     ~~~~~~~~~~~~~~^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
    
        |     raise exc
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 193, in __call__
    
        |     response = await self.dispatch_func(request, call_next)
    
        |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        |   File "/app/backend/app/main.py", line 5992, in auth_middleware
    
        |     return await call_next(request)
    
        |            ^^^^^^^^^^^^^^^^^^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 168, in call_next
    
        |     raise app_exc from app_exc.__cause__ or app_exc.__context__
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 144, in coro
    
        |     await self.app(scope, receive_or_disconnect, send_no_error)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 191, in __call__
    
        |     with recv_stream, send_stream, collapse_excgroups():
    
        |                                    ~~~~~~~~~~~~~~~~~~^^
    
        |   File "/usr/local/lib/python3.13/contextlib.py", line 162, in __exit__
    
        |     self.gen.throw(value)
    
        |     ~~~~~~~~~~~~~~^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
    
        |     raise exc
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 193, in __call__
    
        |     response = await self.dispatch_func(request, call_next)
    
        |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        |   File "/app/backend/app/main.py", line 5800, in security_headers_middleware
    
        |     response = await call_next(request)
    
        |                ^^^^^^^^^^^^^^^^^^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 168, in call_next
    
        |     raise app_exc from app_exc.__cause__ or app_exc.__context__
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 144, in coro
    
        |     await self.app(scope, receive_or_disconnect, send_no_error)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/middleware/exceptions.py", line 63, in __call__
    
        |     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    
        |     raise exc
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    
        |     await app(scope, receive, sender)
    
        |   File "/usr/local/lib/python3.13/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    
        |     await self.app(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 660, in __call__
    
        |     await self.middleware_stack(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 680, in app
    
        |     await route.handle(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 276, in handle
    
        |     await self.app(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 134, in app
    
        |     await wrap_app_handling_exceptions(app, request)(scope, receive, send)
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    
        |     raise exc
    
        |   File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    
        |     await app(scope, receive, sender)
    
        |   File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 120, in app
    
        |     response = await f(request)
    
        |                ^^^^^^^^^^^^^^^^
    
        |   File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 695, in app
    
        |     content = await serialize_response(
    
        |               ^^^^^^^^^^^^^^^^^^^^^^^^^
    
        |     ...<11 lines>...
    
        |     )
    
        |     ^
    
        |   File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 300, in serialize_response
    
        |     raise ResponseValidationError(
    
        |     ...<3 lines>...
    
        |     )
    
        | fastapi.exceptions.ResponseValidationError: 3 validation errors:
    
        |   {'type': 'datetime_type', 'loc': ('response', 0, 'created_at'), 'msg': 'Input should be a valid datetime', 'input': None}
    
        |   {'type': 'datetime_type', 'loc': ('response', 1, 'created_at'), 'msg': 'Input should be a valid datetime', 'input': None}
    
        |   {'type': 'datetime_type', 'loc': ('response', 2, 'created_at'), 'msg': 'Input should be a valid datetime', 'input': None}
    
        | 
    
        |   File "/app/backend/app/api/routes/archives.py", line 309, in list_archives
    
        |     GET /api/v1/archives/
    
        +------------------------------------
    
    The above exception was the direct cause of the following exception:
    
    Traceback (most recent call last):
    
      File "/usr/local/lib/python3.13/site-packages/uvicorn/protocols/http/httptools_impl.py", line 421, in run_asgi
    
        result = await app(  # type: ignore[func-returns-value]
    
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
            self.scope, self.receive, self.send
    
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
        )
    
        ^
    
      File "/usr/local/lib/python3.13/site-packages/uvicorn/middleware/proxy_headers.py", line 62, in __call__
    
        return await self.app(scope, receive, send)
    
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/fastapi/applications.py", line 1159, in __call__
    
        await super().__call__(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/applications.py", line 90, in __call__
    
        await self.middleware_stack(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/errors.py", line 186, in __call__
    
        raise exc
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/errors.py", line 164, in __call__
    
        await self.app(scope, receive, _send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 191, in __call__
    
        with recv_stream, send_stream, collapse_excgroups():
    
                                       ~~~~~~~~~~~~~~~~~~^^
    
      File "/usr/local/lib/python3.13/contextlib.py", line 162, in __exit__
    
        self.gen.throw(value)
    
        ~~~~~~~~~~~~~~^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
    
        raise exc
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 193, in __call__
    
        response = await self.dispatch_func(request, call_next)
    
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
      File "/app/backend/app/main.py", line 6031, in trace_id_middleware
    
        response = await call_next(request)
    
                   ^^^^^^^^^^^^^^^^^^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 168, in call_next
    
        raise app_exc from app_exc.__cause__ or app_exc.__context__
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 144, in coro
    
        await self.app(scope, receive_or_disconnect, send_no_error)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 191, in __call__
    
        with recv_stream, send_stream, collapse_excgroups():
    
                                       ~~~~~~~~~~~~~~~~~~^^
    
      File "/usr/local/lib/python3.13/contextlib.py", line 162, in __exit__
    
        self.gen.throw(value)
    
        ~~~~~~~~~~~~~~^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
    
        raise exc
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 193, in __call__
    
        response = await self.dispatch_func(request, call_next)
    
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
      File "/app/backend/app/main.py", line 5992, in auth_middleware
    
        return await call_next(request)
    
               ^^^^^^^^^^^^^^^^^^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 168, in call_next
    
        raise app_exc from app_exc.__cause__ or app_exc.__context__
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 144, in coro
    
        await self.app(scope, receive_or_disconnect, send_no_error)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 191, in __call__
    
        with recv_stream, send_stream, collapse_excgroups():
    
                                       ~~~~~~~~~~~~~~~~~~^^
    
      File "/usr/local/lib/python3.13/contextlib.py", line 162, in __exit__
    
        self.gen.throw(value)
    
        ~~~~~~~~~~~~~~^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/starlette/_utils.py", line 87, in collapse_excgroups
    
        raise exc
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 193, in __call__
    
        response = await self.dispatch_func(request, call_next)
    
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    
      File "/app/backend/app/main.py", line 5800, in security_headers_middleware
    
        response = await call_next(request)
    
                   ^^^^^^^^^^^^^^^^^^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 168, in call_next
    
        raise app_exc from app_exc.__cause__ or app_exc.__context__
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 144, in coro
    
        await self.app(scope, receive_or_disconnect, send_no_error)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/middleware/exceptions.py", line 63, in __call__
    
        await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    
        raise exc
    
      File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    
        await app(scope, receive, sender)
    
      File "/usr/local/lib/python3.13/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    
        await self.app(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 660, in __call__
    
        await self.middleware_stack(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 680, in app
    
        await route.handle(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 276, in handle
    
        await self.app(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 134, in app
    
        await wrap_app_handling_exceptions(app, request)(scope, receive, send)
    
      File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
    
        raise exc
    
      File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
    
        await app(scope, receive, sender)
    
      File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 120, in app
    
        response = await f(request)
    
                   ^^^^^^^^^^^^^^^^
    
      File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 695, in app
    
        content = await serialize_response(
    
                  ^^^^^^^^^^^^^^^^^^^^^^^^^
    
        ...<11 lines>...
    
        )
    
        ^
    
      File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 300, in serialize_response
    
        raise ResponseValidationError(
    
        ...<3 lines>...
    
        )
    
    fastapi.exceptions.ResponseValidationError: 3 validation errors:
    
      {'type': 'datetime_type', 'loc': ('response', 0, 'created_at'), 'msg': 'Input should be a valid datetime', 'input': None}
    
      {'type': 'datetime_type', 'loc': ('response', 1, 'created_at'), 'msg': 'Input should be a valid datetime', 'input': None}
    
      {'type': 'datetime_type', 'loc': ('response', 2, 'created_at'), 'msg': 'Input should be a valid datetime', 'input': None}
    
      File "/app/backend/app/api/routes/archives.py", line 309, in list_archives
    
        GET /api/v1/archives/
    

    Thanks

    1 Reply Last reply
    • MartinNYHCM Offline
      MartinNYHCM Offline
      MartinNYHC
      administrators
      wrote last edited by
      #2

      Please open an issue.

      1 Reply Last reply
      • ? Offline
        ? Offline
        A Former User
        wrote last edited by
        #3

        Done. https://github.com/maziggy/bambuddy/issues/1732

        Hopefully it's something simple.

        1 Reply Last reply
        • ? Offline
          ? Offline
          A Former User
          wrote last edited by
          #4

          Could you please recheck the issue? I've reinstalled again wiping the entire file structure and reloading the backup and it continues to not list archives and give the same python error. I think it might be something messed up in the database, but I don't know enough about your code to know what is causing the error.

          If I provide the backup, can you try it yourself and see if you get the same error?

          1 Reply Last reply
          • ? Offline
            ? Offline
            A Former User
            wrote last edited by
            #5

            Okay, I didn't entirely figure it out, but it definitely was a database error. I did a backup and then wiped all the files/dbs/etc and restarted the docker so it was "new" again. Painstakingly re-added every setting one by one and recopied the new cert over to my slicer and set up the virtual printer again to set it to immediately archive. I sent the same print, and now it shows up in the archives.

            I will say, there is definitely a bug here, something to do with using a postgres database, saving the backup and then restoring to Sqlite definitely caused this, and I have a backup that if you restore it to a docker of bambuddy with sqlite it will break the list archives.

            For the record my install/docker settings have not changed since I moved to a standalone instance, so nothing about it was a broken install. It's definitely some kind of garbage database transfer issue.

            1 Reply Last reply
            • MartinNYHCM Offline
              MartinNYHCM Offline
              MartinNYHC
              administrators
              wrote last edited by
              #6

              All issue related details must go to the issue and not here in the forum!

              1 Reply Last reply

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Legal Notice
              • Privacy Policy