Advertisement
to4ko

Untitled

Jun 16th, 2021
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.00 KB | None | 0 0
  1. 2021-06-16 12:48:04 ERROR (MainThread) [homeassistant] Error doing job: an error occurred during closing of asynchronous generator <async_generator object trace_action at 0x7fb2cd436d30>
  2. Traceback (most recent call last):
  3. File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 197, in trace_action
  4. yield trace_element
  5. GeneratorExit
  6. During handling of the above exception, another exception occurred:
  7. Traceback (most recent call last):
  8. File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 205, in trace_action
  9. trace_stack_pop(trace_stack_cv)
  10. File "/usr/src/homeassistant/homeassistant/helpers/trace.py", line 126, in trace_stack_pop
  11. trace_stack.pop()
  12. AttributeError: 'NoneType' object has no attribute 'pop'
  13. 2021-06-16 12:48:04 WARNING (MainThread) [homeassistant.util.executor] Thread[SyncWorker_18] is still running at shutdown: File "/usr/local/lib/python3.8/threading.py", line 890, in _bootstrap
  14. self._bootstrap_inner()
  15. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  16. self.run()
  17. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
  18. return old_run_func(self, *a, **kw)
  19. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  20. self._target(*self._args, **self._kwargs)
  21. File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 80, in _worker
  22. work_item.run()
  23. File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  24. result = self.fn(*self.args, **self.kwargs)
  25. File "/usr/src/homeassistant/homeassistant/components/wake_on_lan/switch.py", line 169, in update
  26. status = sp.call(ping_cmd, stdout=sp.DEVNULL, stderr=sp.DEVNULL)
  27. File "/usr/local/lib/python3.8/subprocess.py", line 342, in call
  28. return p.wait(timeout=timeout)
  29. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/stdlib.py", line 211, in sentry_patched_popen_wait
  30. return old_popen_wait(self, *a, **kw)
  31. File "/usr/local/lib/python3.8/subprocess.py", line 1083, in wait
  32. return self._wait(timeout=timeout)
  33. File "/usr/local/lib/python3.8/subprocess.py", line 1806, in _wait
  34. (pid, sts) = self._try_wait(0)
  35. File "/usr/local/lib/python3.8/subprocess.py", line 1764, in _try_wait
  36. (pid, sts) = os.waitpid(self.pid, wait_flags)
  37. 2021-06-16 12:48:04 WARNING (MainThread) [homeassistant.util.executor] Thread[SyncWorker_20] is still running at shutdown: File "/usr/local/lib/python3.8/threading.py", line 890, in _bootstrap
  38. self._bootstrap_inner()
  39. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  40. self.run()
  41. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
  42. return old_run_func(self, *a, **kw)
  43. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  44. self._target(*self._args, **self._kwargs)
  45. File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 80, in _worker
  46. work_item.run()
  47. File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  48. result = self.fn(*self.args, **self.kwargs)
  49. File "/usr/src/homeassistant/homeassistant/components/cpuspeed/sensor.py", line 74, in update
  50. self.info = cpuinfo.get_cpu_info()
  51. File "/usr/local/lib/python3.8/site-packages/cpuinfo/cpuinfo.py", line 2740, in get_cpu_info
  52. output = get_cpu_info_json()
  53. File "/usr/local/lib/python3.8/site-packages/cpuinfo/cpuinfo.py", line 2722, in get_cpu_info_json
  54. output = p1.communicate()[0]
  55. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/stdlib.py", line 226, in sentry_patched_popen_communicate
  56. return old_popen_communicate(self, *a, **kw)
  57. File "/usr/local/lib/python3.8/subprocess.py", line 1028, in communicate
  58. stdout, stderr = self._communicate(input, endtime, timeout)
  59. File "/usr/local/lib/python3.8/subprocess.py", line 1868, in _communicate
  60. ready = selector.select(timeout)
  61. File "/usr/local/lib/python3.8/selectors.py", line 415, in select
  62. fd_event_list = self._selector.poll(timeout)
  63. 2021-06-16 12:48:04 WARNING (MainThread) [homeassistant.util.executor] Thread[SyncWorker_19] is still running at shutdown: File "/usr/local/lib/python3.8/threading.py", line 890, in _bootstrap
  64. self._bootstrap_inner()
  65. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  66. self.run()
  67. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
  68. return old_run_func(self, *a, **kw)
  69. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  70. self._target(*self._args, **self._kwargs)
  71. File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 80, in _worker
  72. work_item.run()
  73. File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  74. result = self.fn(*self.args, **self.kwargs)
  75. File "/usr/local/lib/python3.8/site-packages/miio/airhumidifier.py", line 285, in status
  76. values = self.get_properties(properties, max_properties=_props_per_request)
  77. File "/usr/local/lib/python3.8/site-packages/miio/device.py", line 269, in get_properties
  78. values.extend(self.send(property_getter, _props[:max_properties]))
  79. File "/usr/local/lib/python3.8/site-packages/miio/device.py", line 178, in send
  80. return self._protocol.send(
  81. File "/usr/local/lib/python3.8/site-packages/miio/miioprotocol.py", line 193, in send
  82. data, addr = s.recvfrom(1024)
  83. self._bootstrap_inner()
  84. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  85. self.run()
  86. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
  87. return old_run_func(self, *a, **kw)
  88. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  89. self._target(*self._args, **self._kwargs)
  90. File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 80, in _worker
  91. work_item.run()
  92. File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
  93. result = self.fn(*self.args, **self.kwargs)
  94. File "/usr/src/homeassistant/homeassistant/components/cpuspeed/sensor.py", line 74, in update
  95. self.info = cpuinfo.get_cpu_info()
  96. File "/usr/local/lib/python3.8/site-packages/cpuinfo/cpuinfo.py", line 2740, in get_cpu_info
  97. output = get_cpu_info_json()
  98. File "/usr/local/lib/python3.8/site-packages/cpuinfo/cpuinfo.py", line 2722, in get_cpu_info_json
  99. output = p1.communicate()[0]
  100. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/stdlib.py", line 226, in sentry_patched_popen_communicate
  101. return old_popen_communicate(self, *a, **kw)
  102. File "/usr/local/lib/python3.8/subprocess.py", line 1028, in communicate
  103. stdout, stderr = self._communicate(input, endtime, timeout)
  104. File "/usr/local/lib/python3.8/subprocess.py", line 1868, in _communicate
  105. ready = selector.select(timeout)
  106. File "/usr/local/lib/python3.8/selectors.py", line 415, in select
  107. fd_event_list = self._selector.poll(timeout)
  108. 2021-06-16 12:48:04 ERROR (MainThread) [homeassistant] Error doing job: Task was destroyed but it is pending!
  109. 2021-06-16 12:48:04 ERROR (Thread-2) [root] Uncaught thread exception
  110. Traceback (most recent call last):
  111. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  112. self.run()
  113. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
  114. reraise(*_capture_exception())
  115. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
  116. raise value
  117. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
  118. return old_run_func(self, *a, **kw)
  119. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  120. self._target(*self._args, **self._kwargs)
  121. File "/usr/local/lib/python3.8/logging/handlers.py", line 1487, in _monitor
  122. self.handle(record)
  123. File "/usr/local/lib/python3.8/logging/handlers.py", line 1468, in handle
  124. handler.handle(record)
  125. File "/usr/local/lib/python3.8/logging/__init__.py", line 954, in handle
  126. self.emit(record)
  127. File "/usr/src/homeassistant/homeassistant/components/system_log/__init__.py", line 195, in emit
  128. self.hass.bus.fire(EVENT_SYSTEM_LOG, entry.to_dict())
  129. File "/usr/src/homeassistant/homeassistant/core.py", line 687, in fire
  130. self._hass.loop.call_soon_threadsafe(
  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-16 12:48:04 ERROR (MainThread) [root] Uncaught exception
  137. Traceback (most recent call last):
  138. File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
  139. return _run_code(code, main_globals, None,
  140. File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
  141. exec(code, run_globals)
  142. File "/usr/src/homeassistant/homeassistant/__main__.py", line 322, in
  143. sys.exit(main())
  144. File "/usr/src/homeassistant/homeassistant/__main__.py", line 314, in main
  145. exit_code = runner.run(runtime_conf)
  146. File "/usr/src/homeassistant/homeassistant/runner.py", line 118, in run
  147. return asyncio.run(setup_and_run_hass(runtime_config))
  148. File "/usr/local/lib/python3.8/asyncio/runners.py", line 44, in run
  149. return loop.run_until_complete(main)
  150. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 603, in run_until_complete
  151. self.run_forever()
  152. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
  153. self._run_once()
  154. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1812, in _run_once
  155. handle = heapq.heappop(self._scheduled)
  156. RuntimeError: list changed size during iteration
  157. 2021-06-16 12:48:04 ERROR (Thread-3) [paho.mqtt.client] Caught exception in on_message: Event loop is closed
  158. 2021-06-16 12:48:04 ERROR (Thread-3) [root] Uncaught thread exception
  159. Traceback (most recent call last):
  160. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  161. self.run()
  162. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
  163. reraise(*_capture_exception())
  164. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
  165. raise value
  166. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
  167. return old_run_func(self, *a, **kw)
  168. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  169. self._target(*self._args, **self._kwargs)
  170. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3452, in _thread_main
  171. self.loop_forever(retry_first_connection=True)
  172. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1779, in loop_forever
  173. rc = self.loop(timeout, max_packets)
  174. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1181, in loop
  175. rc = self.loop_read(max_packets)
  176. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1572, in loop_read
  177. rc = self._packet_read()
  178. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 2310, in _packet_read
  179. rc = self._packet_handle()
  180. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 2936, in _packet_handle
  181. return self._handle_publish()
  182. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3216, in _handle_publish
  183. self._handle_on_message(message)
  184. File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3444, in _handle_on_message
  185. self.on_message(self, self._userdata, message)
  186. File "/usr/src/homeassistant/homeassistant/components/mqtt/__init__.py", line 847, in _mqtt_on_message
  187. self.hass.add_job(self._mqtt_handle_message, msg)
  188. File "/usr/src/homeassistant/homeassistant/core.py", line 332, in add_job
  189. self.loop.call_soon_threadsafe(self.async_add_job, target, *args)
  190. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
  191. self._check_closed()
  192. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
  193. raise RuntimeError('Event loop is closed')
  194. RuntimeError: Event loop is closed
  195. 2021-06-16 12:48:05 ERROR (stream_worker) [root] Uncaught thread exception
  196. Traceback (most recent call last):
  197. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  198. self.run()
  199. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
  200. reraise(*_capture_exception())
  201. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
  202. raise value
  203. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
  204. return old_run_func(self, *a, **kw)
  205. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  206. self._target(*self._args, **self._kwargs)
  207. File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
  208. stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
  209. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
  210. segment_buffer.mux_packet(packet)
  211. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
  212. self.flush(duration)
  213. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
  214. stream_output.put(segment)
  215. File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
  216. self._hass.loop.call_soon_threadsafe(self._async_put, segment)
  217. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
  218. self._check_closed()
  219. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
  220. raise RuntimeError('Event loop is closed')
  221. RuntimeError: Event loop is closed
  222. Traceback (most recent call last):
  223. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  224. self.run()
  225. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
  226. reraise(*_capture_exception())
  227. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
  228. raise value
  229. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
  230. return old_run_func(self, *a, **kw)
  231. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  232. self._target(*self._args, **self._kwargs)
  233. File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
  234. stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
  235. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
  236. segment_buffer.mux_packet(packet)
  237. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
  238. self.flush(duration)
  239. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
  240. stream_output.put(segment)
  241. File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
  242. self._hass.loop.call_soon_threadsafe(self._async_put, segment)
  243. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
  244. self._check_closed()
  245. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
  246. raise RuntimeError('Event loop is closed')
  247. RuntimeError: Event loop is closed
  248. Traceback (most recent call last):
  249. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  250. self.run()
  251. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
  252. reraise(*_capture_exception())
  253. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
  254. raise value
  255. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
  256. return old_run_func(self, *a, **kw)
  257. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  258. self._target(*self._args, **self._kwargs)
  259. File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
  260. stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
  261. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
  262. segment_buffer.mux_packet(packet)
  263. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
  264. self.flush(duration)
  265. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
  266. stream_output.put(segment)
  267. File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
  268. self._hass.loop.call_soon_threadsafe(self._async_put, segment)
  269. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
  270. self._check_closed()
  271. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
  272. raise RuntimeError('Event loop is closed')
  273. RuntimeError: Event loop is closed
  274. Traceback (most recent call last):
  275. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  276. self.run()
  277. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
  278. reraise(*_capture_exception())
  279. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
  280. raise value
  281. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
  282. return old_run_func(self, *a, **kw)
  283. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  284. self._target(*self._args, **self._kwargs)
  285. File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
  286. stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
  287. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
  288. segment_buffer.mux_packet(packet)
  289. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
  290. self.flush(duration)
  291. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
  292. stream_output.put(segment)
  293. File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
  294. self._hass.loop.call_soon_threadsafe(self._async_put, segment)
  295. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
  296. self._check_closed()
  297. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
  298. raise RuntimeError('Event loop is closed')
  299. RuntimeError: Event loop is closed
  300. Traceback (most recent call last):
  301. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  302. self.run()
  303. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
  304. reraise(*_capture_exception())
  305. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
  306. raise value
  307. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
  308. return old_run_func(self, *a, **kw)
  309. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  310. self._target(*self._args, **self._kwargs)
  311. File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
  312. stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
  313. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
  314. segment_buffer.mux_packet(packet)
  315. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
  316. self.flush(duration)
  317. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
  318. stream_output.put(segment)
  319. File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
  320. self._hass.loop.call_soon_threadsafe(self._async_put, segment)
  321. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
  322. self._check_closed()
  323. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
  324. raise RuntimeError('Event loop is closed')
  325. RuntimeError: Event loop is closed
  326. Traceback (most recent call last):
  327. File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
  328. self.run()
  329. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
  330. reraise(*_capture_exception())
  331. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
  332. raise value
  333. File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
  334. return old_run_func(self, *a, **kw)
  335. File "/usr/local/lib/python3.8/threading.py", line 870, in run
  336. self._target(*self._args, **self._kwargs)
  337. File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
  338. stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
  339. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
  340. segment_buffer.mux_packet(packet)
  341. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
  342. self.flush(duration)
  343. File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
  344. stream_output.put(segment)
  345. File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
  346. self._hass.loop.call_soon_threadsafe(self._async_put, segment)
  347. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
  348. self._check_closed()
  349. File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
  350. raise RuntimeError('Event loop is closed')
  351. RuntimeError: Event loop is closed
  352.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement