a2baf44ab42e45e8826f70b6b24f2bef.log 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. 2026-11-19 22:58:08,229 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] Chamber heating calculated: target=0.0, current=5.0, heating=False, respect_local=False
  2. 2026-11-19 22:58:08,229 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] Chamber temp updated to: 5.0, target: 0.0, heating: False
  3. 2026-11-19 22:58:08,230 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] HMS data received: []
  4. 2026-11-19 22:58:08,230 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] ipcam field: {'ipcam_dev': '1', 'ipcam_record': 'enable', 'timelapse': 'disable', 'resolution': '1080p', 'tutk_server': 'disable', 'mode_bits': 3}
  5. 2026-11-19 22:58:08,230 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] wifi_signal received: -49dBm
  6. 2026-11-19 22:58:08,230 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] lights_report: [{'node': 'chamber_light', 'mode': 'off'}]
  7. 2026-11-19 22:58:08,230 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] MQTT mapping field: [65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535]
  8. 2026-11-19 22:58:08,230 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] gcode_state: FINISH -> FINISH, file: , subtask: LP-E6+Battery+Case+Multi-Color
  9. 2026-11-19 22:58:09,306 ERROR [uvicorn.error] [-] Exception in ASGI application
  10. + Exception Group Traceback (most recent call last):
  11. | File "/usr/local/lib/python3.13/site-packages/starlette/_utils.py", line 107, in create_collapsing_task_group
  12. | async with anyio.create_task_group() as tg:
  13. | ~~~~~~~~~~~~~~~~~~~~~~~^^
  14. | File "/usr/local/lib/python3.13/site-packages/anyio/_backends/_asyncio.py", line 847, in __aexit__
  15. | raise BaseExceptionGroup(
  16. | "unhandled errors in a TaskGroup", self._exceptions
  17. | ) from None
  18. | ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
  19. +-+---------------- 1 ----------------
  20. | Traceback (most recent call last):
  21. | File "/usr/local/lib/python3.13/site-packages/uvicorn/protocols/http/httptools_impl.py", line 422, in run_asgi
  22. | result = await app( # type: ignore[func-returns-value]
  23. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  24. | self.scope, self.receive, self.send
  25. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  26. | )
  27. | ^
  28. | File "/usr/local/lib/python3.13/site-packages/uvicorn/middleware/proxy_headers.py", line 63, in __call__
  29. | return await self.app(scope, receive, send)
  30. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  31. | File "/usr/local/lib/python3.13/site-packages/fastapi/applications.py", line 1159, in __call__
  32. | await super().__call__(scope, receive, send)
  33. | File "/usr/local/lib/python3.13/site-packages/starlette/applications.py", line 96, in __call__
  34. | await self.middleware_stack(scope, receive, send)
  35. | File "/usr/local/lib/python3.13/site-packages/starlette/middleware/errors.py", line 186, in __call__
  36. | raise exc
  37. | File "/usr/local/lib/python3.13/site-packages/starlette/middleware/errors.py", line 164, in __call__
  38. | await self.app(scope, receive, _send)
  39. | File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 197, in __call__
  40. | response = await self.dispatch_func(request, call_next)
  41. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  42. | File "/app/backend/app/main.py", line 13132, in trace_id_middleware
  43. | response = await call_next(request)
  44. | ^^^^^^^^^^^^^^^^^^^^^^^^
  45. | File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 173, in call_next
  46. | raise app_exc from app_exc.__cause__ or app_exc.__context__
  47. | File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 149, in coro
  48. | await self.app(scope, receive_or_disconnect, send_no_error)
  49. | File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 197, in __call__
  50. | response = await self.dispatch_func(request, call_next)
  51. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  52. | File "/app/backend/app/main.py", line 13093, in auth_middleware
  53. | return await call_next(request)
  54. | ^^^^^^^^^^^^^^^^^^^^^^^^
  55. | File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 173, in call_next
  56. | raise app_exc from app_exc.__cause__ or app_exc.__context__
  57. | File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 149, in coro
  58. | await self.app(scope, receive_or_disconnect, send_no_error)
  59. | File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 197, in __call__
  60. | response = await self.dispatch_func(request, call_next)
  61. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  62. | File "/app/backend/app/main.py", line 12850, in security_headers_middleware
  63. | response = await call_next(request)
  64. | ^^^^^^^^^^^^^^^^^^^^^^^^
  65. | File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 173, in call_next
  66. | raise app_exc from app_exc.__cause__ or app_exc.__context__
  67. | File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 149, in coro
  68. | await self.app(scope, receive_or_disconnect, send_no_error)
  69. | File "/app/backend/app/core/response_redaction.py", line 84, in __call__
  70. | await self.app(scope, receive, masking_send)
  71. | File "/usr/local/lib/python3.13/site-packages/starlette/middleware/exceptions.py", line 63, in __call__
  72. | await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  73. | File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
  74. | raise exc
  75. | File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  76. | await app(scope, receive, sender)
  77. | File "/usr/local/lib/python3.13/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
  78. | await self.app(scope, receive, send)
  79. | File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 676, in __call__
  80. | await self.middleware_stack(scope, receive, send)
  81. | File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 697, in app
  82. | await route.handle(scope, receive, send)
  83. | File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 282, in handle
  84. | await self.app(scope, receive, send)
  85. | File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 134, in app
  86. | await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  87. | File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
  88. | raise exc
  89. | File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  90. | await app(scope, receive, sender)
  91. | File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 120, in app
  92. | response = await f(request)
  93. | ^^^^^^^^^^^^^^^^
  94. | File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 674, in app
  95. | raw_response = await run_endpoint_function(
  96. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  97. | ...<3 lines>...
  98. | )
  99. | ^
  100. | File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 328, in run_endpoint_function
  101. | return await dependant.call(**values)
  102. | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  103. | File "/app/backend/app/api/routes/cloud.py", line 609, in get_slicer_settings
  104. | private_settings = type_data.get("private", [])
  105. | ^^^^^^^^^^^^^
  106. | AttributeError: 'NoneType' object has no attribute 'get'
  107. +------------------------------------
  108. The above exception was the direct cause of the following exception:
  109. Traceback (most recent call last):
  110. File "/usr/local/lib/python3.13/site-packages/uvicorn/protocols/http/httptools_impl.py", line 422, in run_asgi
  111. result = await app( # type: ignore[func-returns-value]
  112. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  113. self.scope, self.receive, self.send
  114. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  115. )
  116. ^
  117. File "/usr/local/lib/python3.13/site-packages/uvicorn/middleware/proxy_headers.py", line 63, in __call__
  118. return await self.app(scope, receive, send)
  119. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  120. File "/usr/local/lib/python3.13/site-packages/fastapi/applications.py", line 1159, in __call__
  121. await super().__call__(scope, receive, send)
  122. File "/usr/local/lib/python3.13/site-packages/starlette/applications.py", line 96, in __call__
  123. await self.middleware_stack(scope, receive, send)
  124. File "/usr/local/lib/python3.13/site-packages/starlette/middleware/errors.py", line 186, in __call__
  125. raise exc
  126. File "/usr/local/lib/python3.13/site-packages/starlette/middleware/errors.py", line 164, in __call__
  127. await self.app(scope, receive, _send)
  128. File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 197, in __call__
  129. response = await self.dispatch_func(request, call_next)
  130. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  131. File "/app/backend/app/main.py", line 13132, in trace_id_middleware
  132. response = await call_next(request)
  133. ^^^^^^^^^^^^^^^^^^^^^^^^
  134. File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 173, in call_next
  135. raise app_exc from app_exc.__cause__ or app_exc.__context__
  136. File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 149, in coro
  137. await self.app(scope, receive_or_disconnect, send_no_error)
  138. File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 197, in __call__
  139. response = await self.dispatch_func(request, call_next)
  140. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  141. File "/app/backend/app/main.py", line 13093, in auth_middleware
  142. return await call_next(request)
  143. ^^^^^^^^^^^^^^^^^^^^^^^^
  144. File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 173, in call_next
  145. raise app_exc from app_exc.__cause__ or app_exc.__context__
  146. File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 149, in coro
  147. await self.app(scope, receive_or_disconnect, send_no_error)
  148. File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 197, in __call__
  149. response = await self.dispatch_func(request, call_next)
  150. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  151. File "/app/backend/app/main.py", line 12850, in security_headers_middleware
  152. response = await call_next(request)
  153. ^^^^^^^^^^^^^^^^^^^^^^^^
  154. File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 173, in call_next
  155. raise app_exc from app_exc.__cause__ or app_exc.__context__
  156. File "/usr/local/lib/python3.13/site-packages/starlette/middleware/base.py", line 149, in coro
  157. await self.app(scope, receive_or_disconnect, send_no_error)
  158. File "/app/backend/app/core/response_redaction.py", line 84, in __call__
  159. await self.app(scope, receive, masking_send)
  160. File "/usr/local/lib/python3.13/site-packages/starlette/middleware/exceptions.py", line 63, in __call__
  161. await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
  162. File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
  163. raise exc
  164. File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  165. await app(scope, receive, sender)
  166. File "/usr/local/lib/python3.13/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
  167. await self.app(scope, receive, send)
  168. File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 676, in __call__
  169. await self.middleware_stack(scope, receive, send)
  170. File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 697, in app
  171. await route.handle(scope, receive, send)
  172. File "/usr/local/lib/python3.13/site-packages/starlette/routing.py", line 282, in handle
  173. await self.app(scope, receive, send)
  174. File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 134, in app
  175. await wrap_app_handling_exceptions(app, request)(scope, receive, send)
  176. File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
  177. raise exc
  178. File "/usr/local/lib/python3.13/site-packages/starlette/_exception_handler.py", line 42, in wrapped_app
  179. await app(scope, receive, sender)
  180. File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 120, in app
  181. response = await f(request)
  182. ^^^^^^^^^^^^^^^^
  183. File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 674, in app
  184. raw_response = await run_endpoint_function(
  185. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  186. ...<3 lines>...
  187. )
  188. ^
  189. File "/usr/local/lib/python3.13/site-packages/fastapi/routing.py", line 328, in run_endpoint_function
  190. return await dependant.call(**values)
  191. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  192. File "/app/backend/app/api/routes/cloud.py", line 609, in get_slicer_settings
  193. private_settings = type_data.get("private", [])
  194. ^^^^^^^^^^^^^
  195. AttributeError: 'NoneType' object has no attribute 'get'
  196. 2026-11-19 22:58:10,469 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] Received command response: push_status
  197. 2026-11-19 22:58:10,470 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] wifi_signal received: -50dBm
  198. 2026-11-19 22:58:10,470 DEBUG [backend.app.services.bambu_mqtt] [-] [[SERIAL]] MQTT mapping field: [65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535, 65535]