Advertisement
to4ko

Untitled

Jun 10th, 2021
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.99 KB | None | 0 0
  1. 2021-06-10 10:03:07 ERROR (MainThread) [root] Uncaught exception
  2. Traceback (most recent call last):
  3. File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
  4. return _run_code(code, main_globals, None,
  5. File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
  6. exec(code, run_globals)
  7. File "/usr/src/homeassistant/homeassistant/__main__.py", line 322, in
  8. sys.exit(main())
  9. File "/usr/src/homeassistant/homeassistant/__main__.py", line 314, in main
  10. exit_code = runner.run(runtime_conf)
  11. File "/usr/src/homeassistant/homeassistant/runner.py", line 118, in run
  12. return asyncio.run(setup_and_run_hass(runtime_config))
  13. File "/usr/local/lib/python3.8/asyncio/runners.py", line 44, in run
  14. return loop.run_until_complete(main)
  15. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 603, in run_until_complete
  16. self.run_forever()
  17. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
  18. self._run_once()
  19. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1832, in _run_once
  20. handle = heapq.heappop(self._scheduled)
  21. RuntimeError: list changed size during iteration
  22. 2021-06-10 10:03:07 ERROR (Thread-2) [root] Uncaught thread exception
  23. Traceback (most recent call last):
  24. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  25. self.run()
  26. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  27. self._target(*self._args, **self._kwargs)
  28. File "/usr/local/lib/python3.8/logging/handlers.py", line 1487, in _monitor
  29. self.handle(record)
  30. File "/usr/local/lib/python3.8/logging/handlers.py", line 1468, in handle
  31. handler.handle(record)
  32. File "/usr/local/lib/python3.8/logging/__init__.py", line 954, in handle
  33. self.emit(record)
  34. File "/usr/src/homeassistant/homeassistant/components/system_log/__init__.py", line 195, in emit
  35. self.hass.bus.fire(EVENT_SYSTEM_LOG, entry.to_dict())
  36. File "/usr/src/homeassistant/homeassistant/core.py", line 687, in fire
  37. self._hass.loop.call_soon_threadsafe(
  38. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
  39. self._check_closed()
  40. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
  41. raise RuntimeError('Event loop is closed')
  42. RuntimeError: Event loop is closed
  43. 2021-06-10 10:03:08 ERROR (Thread-3) [paho.mqtt.client] Caught exception in on_message: Event loop is closed
  44. 2021-06-10 10:03:08 ERROR (Thread-3) [root] Uncaught thread exception
  45. Traceback (most recent call last):
  46. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  47. self.run()
  48. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  49. self._target(*self._args, **self._kwargs)
  50. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3452, in _thread_main
  51. self.loop_forever(retry_first_connection=True)
  52. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1779, in loop_forever
  53. rc = self.loop(timeout, max_packets)
  54. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1181, in loop
  55. rc = self.loop_read(max_packets)
  56. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1572, in loop_read
  57. rc = self._packet_read()
  58. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 2310, in _packet_read
  59. rc = self._packet_handle()
  60. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 2936, in _packet_handle
  61. return self._handle_publish()
  62. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3216, in _handle_publish
  63. self._handle_on_message(message)
  64. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3444, in _handle_on_message
  65. self.on_message(self, self._userdata, message)
  66. File "/usr/src/homeassistant/homeassistant/components/mqtt/__init__.py", line 847, in _mqtt_on_message
  67. self.hass.add_job(self._mqtt_handle_message, msg)
  68. File "/usr/src/homeassistant/homeassistant/core.py", line 332, in add_job
  69. self.loop.call_soon_threadsafe(self.async_add_job, target, *args)
  70. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
  71. self._check_closed()
  72. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
  73. raise RuntimeError('Event loop is closed')
  74. RuntimeError: Event loop is closed
  75. 2021-06-10 10:03:08 ERROR (stream_worker) [root] Uncaught thread exception
  76. Traceback (most recent call last):
  77. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  78. self.run()
  79. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  80. self._target(*self._args, **self._kwargs)
  81. File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
  82. stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
  83. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
  84. segment_buffer.mux_packet(packet)
  85. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
  86. self.flush(duration)
  87. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
  88. stream_output.put(segment)
  89. File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
  90. self._hass.loop.call_soon_threadsafe(self._async_put, segment)
  91. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
  92. self._check_closed()
  93. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
  94. raise RuntimeError('Event loop is closed')
  95. RuntimeError: Event loop is closed
  96. Traceback (most recent call last):
  97. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  98. self.run()
  99. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  100. self._target(*self._args, **self._kwargs)
  101. File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
  102. stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
  103. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
  104. segment_buffer.mux_packet(packet)
  105. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
  106. self.flush(duration)
  107. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
  108. stream_output.put(segment)
  109. File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
  110. self._hass.loop.call_soon_threadsafe(self._async_put, segment)
  111. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
  112. self._check_closed()
  113. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
  114. raise RuntimeError('Event loop is closed')
  115. RuntimeError: Event loop is closed
  116. Traceback (most recent call last):
  117. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  118. self.run()
  119. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  120. self._target(*self._args, **self._kwargs)
  121. File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
  122. stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
  123. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
  124. segment_buffer.mux_packet(packet)
  125. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
  126. self.flush(duration)
  127. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
  128. stream_output.put(segment)
  129. File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
  130. self._hass.loop.call_soon_threadsafe(self._async_put, segment)
  131. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
  132. self._check_closed()
  133. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
  134. raise RuntimeError('Event loop is closed')
  135. RuntimeError: Event loop is closed
  136. 2021-06-10 10:03:09 ERROR (stream_worker) [root] Uncaught thread exception
  137. Traceback (most recent call last):
  138. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  139. self.run()
  140. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  141. self._target(*self._args, **self._kwargs)
  142. File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
  143. stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
  144. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
  145. segment_buffer.mux_packet(packet)
  146. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
  147. self.flush(duration)
  148. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
  149. stream_output.put(segment)
  150. File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
  151. self._hass.loop.call_soon_threadsafe(self._async_put, segment)
  152. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
  153. self._check_closed()
  154. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
  155. raise RuntimeError('Event loop is closed')
  156. RuntimeError: Event loop is closed
  157. Traceback (most recent call last):
  158. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  159. self.run()
  160. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  161. self._target(*self._args, **self._kwargs)
  162. File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
  163. stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
  164. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
  165. segment_buffer.mux_packet(packet)
  166. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
  167. self.flush(duration)
  168. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
  169. stream_output.put(segment)
  170. File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
  171. self._hass.loop.call_soon_threadsafe(self._async_put, segment)
  172. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
  173. self._check_closed()
  174. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
  175. raise RuntimeError('Event loop is closed')
  176. RuntimeError: Event loop is closed
  177. Traceback (most recent call last):
  178. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  179. self.run()
  180. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  181. self._target(*self._args, **self._kwargs)
  182. File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
  183. stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
  184. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
  185. segment_buffer.mux_packet(packet)
  186. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
  187. self.flush(duration)
  188. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
  189. stream_output.put(segment)
  190. File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
  191. self._hass.loop.call_soon_threadsafe(self._async_put, segment)
  192. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
  193. self._check_closed()
  194. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
  195. raise RuntimeError('Event loop is closed')
  196. RuntimeError: Event loop is closed
  197. Connected
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement