| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200 |
- | 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 96, 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 197, in __call__
- | response = await self.dispatch_func(request, call_next)
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- | File "/app/backend/app/main.py", line 13132, in trace_id_middleware
- | response = await call_next(request)
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- | File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 173, 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 149, 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 197, in __call__
- | response = await self.dispatch_func(request, call_next)
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- | File "/app/backend/app/main.py", line 13006, in auth_middleware
- | return await call_next(request)
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- | File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 173, 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 149, 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 197, in __call__
- | response = await self.dispatch_func(request, call_next)
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- | File "/app/backend/app/main.py", line 12850, in security_headers_middleware
- | response = await call_next(request)
- | ^^^^^^^^^^^^^^^^^^^^^^^^
- | File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 173, 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 149, in coro
- | await self.app(scope, receive_or_disconnect, send_no_error)
- | File "/app/backend/app/core/response_redaction.py", line 84, in __call__
- | await self.app(scope, receive, masking_send)
- | 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 676, in __call__
- | await self.middleware_stack(scope, receive, send)
- | File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 697, in app
- | await route.handle(scope, receive, send)
- | File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 282, 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 674, in app
- | raw_response = await run_endpoint_function(
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- | ...<3 lines>...
- | )
- | ^
- | File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 328, in run_endpoint_function
- | return await dependant.call(**values)
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- | File "/app/backend/app/api/routes/cloud.py", line 609, in get_slicer_settings
- | private_settings = type_data.get("private", [])
- | ^^^^^^^^^^^^^
- | AttributeError: 'NoneType' object has no attribute 'get'
- +------------------------------------
- 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 422, 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 63, 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 96, 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 197, in __call__
- response = await self.dispatch_func(request, call_next)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/app/backend/app/main.py", line 13132, in trace_id_middleware
- response = await call_next(request)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 173, 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 149, 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 197, in __call__
- response = await self.dispatch_func(request, call_next)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/app/backend/app/main.py", line 13006, in auth_middleware
- return await call_next(request)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 173, 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 149, 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 197, in __call__
- response = await self.dispatch_func(request, call_next)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/app/backend/app/main.py", line 12850, in security_headers_middleware
- response = await call_next(request)
- ^^^^^^^^^^^^^^^^^^^^^^^^
- File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 173, 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 149, in coro
- await self.app(scope, receive_or_disconnect, send_no_error)
- File "/app/backend/app/core/response_redaction.py", line 84, in __call__
- await self.app(scope, receive, masking_send)
- 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 676, in __call__
- await self.middleware_stack(scope, receive, send)
- File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 697, in app
- await route.handle(scope, receive, send)
- File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 282, 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 674, in app
- raw_response = await run_endpoint_function(
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- ...<3 lines>...
- )
- ^
- File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 328, in run_endpoint_function
- return await dependant.call(**values)
- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
- File "/app/backend/app/api/routes/cloud.py", line 609, in get_slicer_settings
- private_settings = type_data.get("private", [])
- ^^^^^^^^^^^^^
- AttributeError: 'NoneType' object has no attribute 'get'
- 2026-11-17 13:30:29,958 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] Found xcam inside print data: {'allow_skip_parts': False, 'buildplate_marker_detector': False, 'cfg': 8088999, 'first_layer_inspector': True, 'halt_print_sensitivity': 'medium', 'print_halt': True, 'printing_monitor': True, 'spaghetti_detector': True}
- 2026-11-17 13:30:29,958 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] Parsing xcam data - all fields: ['allow_skip_parts', 'buildplate_marker_detector', 'cfg', 'first_layer_inspector', 'halt_print_sensitivity', 'print_halt', 'printing_monitor', 'spaghetti_detector']
- 2026-11-17 13:30:29,959 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] xcam cfg bitmask: 8088999 (binary: 0b11110110110110110100111)
- 2026-11-17 13:30:29,959 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] Received gcode_state: FINISH, gcode_file: /data/Metadata/plate_1.gcode, subtask_name: SUPORTE_CONTROLE_XBOX_GTA_VI_plate_1
- 2026-11-17 13:30:29,960 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] ams_extruder_map: {'0': 0}
- 2026-11-17 13:30:29,960 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] Received command response: push_status
- 2026-11-17 13:30:29,961 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] HMS data received: []
- 2026-11-17 13:30:29,961 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] lights_report: [{'mode': 'off', 'node': 'chamber_light'}, {'mode': 'flashing', 'node': 'work_light'}]
- 2026-11-17 13:30:29,961 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] MQTT mapping field: [1, 3, 0, 2]
- 2026-11-17 13:30:29,962 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] gcode_state: FINISH -> FINISH, file: /data/Metadata/plate_1.gcode, subtask: SUPORTE_CONTROLE_XBOX_GTA_VI_plate_1
- 2026-11-17 13:30:31,010 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] Found xcam inside print data: {'allow_skip_parts': False, 'buildplate_marker_detector': False, 'cfg': 8088999, 'first_layer_inspector': True, 'halt_print_sensitivity': 'medium', 'print_halt': True, 'printing_monitor': True, 'spaghetti_detector': True}
- 2026-11-17 13:30:31,011 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] Parsing xcam data - all fields: ['allow_skip_parts', 'buildplate_marker_detector', 'cfg', 'first_layer_inspector', 'halt_print_sensitivity', 'print_halt', 'printing_monitor', 'spaghetti_detector']
- 2026-11-17 13:30:31,011 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] xcam cfg bitmask: 8088999 (binary: 0b11110110110110110100111)
- 2026-11-17 13:30:31,011 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] Received gcode_state: FINISH, gcode_file: /data/Metadata/plate_1.gcode, subtask_name: SUPORTE_CONTROLE_XBOX_GTA_VI_plate_1
- 2026-11-17 13:30:31,012 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] ams_extruder_map: {'0': 0}
- 2026-11-17 13:30:31,012 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] Received command response: push_status
- 2026-11-17 13:30:31,013 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] HMS data received: []
- 2026-11-17 13:30:31,013 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] lights_report: [{'mode': 'off', 'node': 'chamber_light'}, {'mode': 'flashing', 'node': 'work_light'}]
- 2026-11-17 13:30:31,014 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] MQTT mapping field: [1, 3, 0, 2]
- 2026-11-17 13:30:31,014 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] gcode_state: FINISH -> FINISH, file: /data/Metadata/plate_1.gcode, subtask: SUPORTE_CONTROLE_XBOX_GTA_VI_plate_1
- 2026-11-17 13:30:31,230 INFO [backend.app.api.routes.spoolbuddy] [-] SpoolBuddy device offline: sb-9070698f2360
- 2026-11-17 13:30:32,267 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] Found xcam inside print data: {'allow_skip_parts': False, 'buildplate_marker_detector': False, 'cfg': 8088999, 'first_layer_inspector': True, 'halt_print_sensitivity': 'medium', 'print_halt': True, 'printing_monitor': True, 'spaghetti_detector': True}
- 2026-11-17 13:30:32,267 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] Parsing xcam data - all fields: ['allow_skip_parts', 'buildplate_marker_detector', 'cfg', 'first_layer_inspector', 'halt_print_sensitivity', 'print_halt', 'printing_monitor', 'spaghetti_detector']
- 2026-11-17 13:30:32,267 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] xcam cfg bitmask: 8088999 (binary: 0b11110110110110110100111)
- 2026-11-17 13:30:32,267 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] Received gcode_state: FINISH, gcode_file: /data/Metadata/plate_1.gcode, subtask_name: SUPORTE_CONTROLE_XBOX_GTA_VI_plate_1
- 2026-11-17 13:30:32,267 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] ams_extruder_map: {'0': 0}
- 2026-11-17 13:30:32,268 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] Received command response: push_status
- 2026-11-17 13:30:32,268 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] HMS data received: []
- 2026-11-17 13:30:32,268 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] lights_report: [{'mode': 'off', 'node': 'chamber_light'}, {'mode': 'flashing', 'node': 'work_light'}]
- 2026-11-17 13:30:32,268 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] MQTT mapping field: [1, 3, 0, 2]
- 2026-11-17 13:30:32,269 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] gcode_state: FINISH -> FINISH, file: /data/Metadata/plate_1.gcode, subtask: SUPORTE_CONTROLE_XBOX_GTA_VI_plate_1
|