Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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>
- Traceback (most recent call last):
- File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 197, in trace_action
- yield trace_element
- GeneratorExit
- During handling of the above exception, another exception occurred:
- Traceback (most recent call last):
- File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 205, in trace_action
- trace_stack_pop(trace_stack_cv)
- File "/usr/src/homeassistant/homeassistant/helpers/trace.py", line 126, in trace_stack_pop
- trace_stack.pop()
- AttributeError: 'NoneType' object has no attribute 'pop'
- 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
- self._bootstrap_inner()
- File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
- self.run()
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
- return old_run_func(self, *a, **kw)
- File "/usr/local/lib/python3.8/threading.py", line 870, in run
- self._target(*self._args, **self._kwargs)
- File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 80, in _worker
- work_item.run()
- File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/src/homeassistant/homeassistant/components/wake_on_lan/switch.py", line 169, in update
- status = sp.call(ping_cmd, stdout=sp.DEVNULL, stderr=sp.DEVNULL)
- File "/usr/local/lib/python3.8/subprocess.py", line 342, in call
- return p.wait(timeout=timeout)
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/stdlib.py", line 211, in sentry_patched_popen_wait
- return old_popen_wait(self, *a, **kw)
- File "/usr/local/lib/python3.8/subprocess.py", line 1083, in wait
- return self._wait(timeout=timeout)
- File "/usr/local/lib/python3.8/subprocess.py", line 1806, in _wait
- (pid, sts) = self._try_wait(0)
- File "/usr/local/lib/python3.8/subprocess.py", line 1764, in _try_wait
- (pid, sts) = os.waitpid(self.pid, wait_flags)
- 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
- self._bootstrap_inner()
- File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
- self.run()
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
- return old_run_func(self, *a, **kw)
- File "/usr/local/lib/python3.8/threading.py", line 870, in run
- self._target(*self._args, **self._kwargs)
- File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 80, in _worker
- work_item.run()
- File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/src/homeassistant/homeassistant/components/cpuspeed/sensor.py", line 74, in update
- self.info = cpuinfo.get_cpu_info()
- File "/usr/local/lib/python3.8/site-packages/cpuinfo/cpuinfo.py", line 2740, in get_cpu_info
- output = get_cpu_info_json()
- File "/usr/local/lib/python3.8/site-packages/cpuinfo/cpuinfo.py", line 2722, in get_cpu_info_json
- output = p1.communicate()[0]
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/stdlib.py", line 226, in sentry_patched_popen_communicate
- return old_popen_communicate(self, *a, **kw)
- File "/usr/local/lib/python3.8/subprocess.py", line 1028, in communicate
- stdout, stderr = self._communicate(input, endtime, timeout)
- File "/usr/local/lib/python3.8/subprocess.py", line 1868, in _communicate
- ready = selector.select(timeout)
- File "/usr/local/lib/python3.8/selectors.py", line 415, in select
- fd_event_list = self._selector.poll(timeout)
- 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
- self._bootstrap_inner()
- File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
- self.run()
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
- return old_run_func(self, *a, **kw)
- File "/usr/local/lib/python3.8/threading.py", line 870, in run
- self._target(*self._args, **self._kwargs)
- File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 80, in _worker
- work_item.run()
- File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/local/lib/python3.8/site-packages/miio/airhumidifier.py", line 285, in status
- values = self.get_properties(properties, max_properties=_props_per_request)
- File "/usr/local/lib/python3.8/site-packages/miio/device.py", line 269, in get_properties
- values.extend(self.send(property_getter, _props[:max_properties]))
- File "/usr/local/lib/python3.8/site-packages/miio/device.py", line 178, in send
- return self._protocol.send(
- File "/usr/local/lib/python3.8/site-packages/miio/miioprotocol.py", line 193, in send
- data, addr = s.recvfrom(1024)
- self._bootstrap_inner()
- File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
- self.run()
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
- return old_run_func(self, *a, **kw)
- File "/usr/local/lib/python3.8/threading.py", line 870, in run
- self._target(*self._args, **self._kwargs)
- File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 80, in _worker
- work_item.run()
- File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "/usr/src/homeassistant/homeassistant/components/cpuspeed/sensor.py", line 74, in update
- self.info = cpuinfo.get_cpu_info()
- File "/usr/local/lib/python3.8/site-packages/cpuinfo/cpuinfo.py", line 2740, in get_cpu_info
- output = get_cpu_info_json()
- File "/usr/local/lib/python3.8/site-packages/cpuinfo/cpuinfo.py", line 2722, in get_cpu_info_json
- output = p1.communicate()[0]
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/stdlib.py", line 226, in sentry_patched_popen_communicate
- return old_popen_communicate(self, *a, **kw)
- File "/usr/local/lib/python3.8/subprocess.py", line 1028, in communicate
- stdout, stderr = self._communicate(input, endtime, timeout)
- File "/usr/local/lib/python3.8/subprocess.py", line 1868, in _communicate
- ready = selector.select(timeout)
- File "/usr/local/lib/python3.8/selectors.py", line 415, in select
- fd_event_list = self._selector.poll(timeout)
- 2021-06-16 12:48:04 ERROR (MainThread) [homeassistant] Error doing job: Task was destroyed but it is pending!
- 2021-06-16 12:48:04 ERROR (Thread-2) [root] Uncaught thread exception
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
- self.run()
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
- reraise(*_capture_exception())
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
- raise value
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
- return old_run_func(self, *a, **kw)
- File "/usr/local/lib/python3.8/threading.py", line 870, in run
- self._target(*self._args, **self._kwargs)
- File "/usr/local/lib/python3.8/logging/handlers.py", line 1487, in _monitor
- self.handle(record)
- File "/usr/local/lib/python3.8/logging/handlers.py", line 1468, in handle
- handler.handle(record)
- File "/usr/local/lib/python3.8/logging/__init__.py", line 954, in handle
- self.emit(record)
- File "/usr/src/homeassistant/homeassistant/components/system_log/__init__.py", line 195, in emit
- self.hass.bus.fire(EVENT_SYSTEM_LOG, entry.to_dict())
- File "/usr/src/homeassistant/homeassistant/core.py", line 687, in fire
- self._hass.loop.call_soon_threadsafe(
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
- self._check_closed()
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- 2021-06-16 12:48:04 ERROR (MainThread) [root] Uncaught exception
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/runpy.py", line 194, in _run_module_as_main
- return _run_code(code, main_globals, None,
- File "/usr/local/lib/python3.8/runpy.py", line 87, in _run_code
- exec(code, run_globals)
- File "/usr/src/homeassistant/homeassistant/__main__.py", line 322, in
- sys.exit(main())
- File "/usr/src/homeassistant/homeassistant/__main__.py", line 314, in main
- exit_code = runner.run(runtime_conf)
- File "/usr/src/homeassistant/homeassistant/runner.py", line 118, in run
- return asyncio.run(setup_and_run_hass(runtime_config))
- File "/usr/local/lib/python3.8/asyncio/runners.py", line 44, in run
- return loop.run_until_complete(main)
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 603, in run_until_complete
- self.run_forever()
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 570, in run_forever
- self._run_once()
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 1812, in _run_once
- handle = heapq.heappop(self._scheduled)
- RuntimeError: list changed size during iteration
- 2021-06-16 12:48:04 ERROR (Thread-3) [paho.mqtt.client] Caught exception in on_message: Event loop is closed
- 2021-06-16 12:48:04 ERROR (Thread-3) [root] Uncaught thread exception
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
- self.run()
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
- reraise(*_capture_exception())
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
- raise value
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
- return old_run_func(self, *a, **kw)
- File "/usr/local/lib/python3.8/threading.py", line 870, in run
- self._target(*self._args, **self._kwargs)
- File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3452, in _thread_main
- self.loop_forever(retry_first_connection=True)
- File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1779, in loop_forever
- rc = self.loop(timeout, max_packets)
- File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1181, in loop
- rc = self.loop_read(max_packets)
- File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 1572, in loop_read
- rc = self._packet_read()
- File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 2310, in _packet_read
- rc = self._packet_handle()
- File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 2936, in _packet_handle
- return self._handle_publish()
- File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3216, in _handle_publish
- self._handle_on_message(message)
- File "/usr/local/lib/python3.8/site-packages/paho/mqtt/client.py", line 3444, in _handle_on_message
- self.on_message(self, self._userdata, message)
- File "/usr/src/homeassistant/homeassistant/components/mqtt/__init__.py", line 847, in _mqtt_on_message
- self.hass.add_job(self._mqtt_handle_message, msg)
- File "/usr/src/homeassistant/homeassistant/core.py", line 332, in add_job
- self.loop.call_soon_threadsafe(self.async_add_job, target, *args)
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
- self._check_closed()
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- 2021-06-16 12:48:05 ERROR (stream_worker) [root] Uncaught thread exception
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
- self.run()
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
- reraise(*_capture_exception())
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
- raise value
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
- return old_run_func(self, *a, **kw)
- File "/usr/local/lib/python3.8/threading.py", line 870, in run
- self._target(*self._args, **self._kwargs)
- File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
- stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
- segment_buffer.mux_packet(packet)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
- self.flush(duration)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
- stream_output.put(segment)
- File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
- self._hass.loop.call_soon_threadsafe(self._async_put, segment)
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
- self._check_closed()
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
- self.run()
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
- reraise(*_capture_exception())
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
- raise value
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
- return old_run_func(self, *a, **kw)
- File "/usr/local/lib/python3.8/threading.py", line 870, in run
- self._target(*self._args, **self._kwargs)
- File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
- stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
- segment_buffer.mux_packet(packet)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
- self.flush(duration)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
- stream_output.put(segment)
- File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
- self._hass.loop.call_soon_threadsafe(self._async_put, segment)
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
- self._check_closed()
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
- self.run()
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
- reraise(*_capture_exception())
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
- raise value
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
- return old_run_func(self, *a, **kw)
- File "/usr/local/lib/python3.8/threading.py", line 870, in run
- self._target(*self._args, **self._kwargs)
- File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
- stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
- segment_buffer.mux_packet(packet)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
- self.flush(duration)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
- stream_output.put(segment)
- File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
- self._hass.loop.call_soon_threadsafe(self._async_put, segment)
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
- self._check_closed()
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
- self.run()
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
- reraise(*_capture_exception())
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
- raise value
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
- return old_run_func(self, *a, **kw)
- File "/usr/local/lib/python3.8/threading.py", line 870, in run
- self._target(*self._args, **self._kwargs)
- File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
- stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
- segment_buffer.mux_packet(packet)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
- self.flush(duration)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
- stream_output.put(segment)
- File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
- self._hass.loop.call_soon_threadsafe(self._async_put, segment)
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
- self._check_closed()
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
- self.run()
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
- reraise(*_capture_exception())
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
- raise value
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
- return old_run_func(self, *a, **kw)
- File "/usr/local/lib/python3.8/threading.py", line 870, in run
- self._target(*self._args, **self._kwargs)
- File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
- stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
- segment_buffer.mux_packet(packet)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
- self.flush(duration)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
- stream_output.put(segment)
- File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
- self._hass.loop.call_soon_threadsafe(self._async_put, segment)
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
- self._check_closed()
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
- Traceback (most recent call last):
- File "/usr/local/lib/python3.8/threading.py", line 932, in _bootstrap_inner
- self.run()
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 69, in run
- reraise(*_capture_exception())
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/_compat.py", line 54, in reraise
- raise value
- File "/usr/local/lib/python3.8/site-packages/sentry_sdk/integrations/threading.py", line 67, in run
- return old_run_func(self, *a, **kw)
- File "/usr/local/lib/python3.8/threading.py", line 870, in run
- self._target(*self._args, **self._kwargs)
- File "/usr/src/homeassistant/homeassistant/components/stream/__init__.py", line 205, in _run_worker
- stream_worker(self.source, self.options, segment_buffer, self._thread_quit)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 309, in stream_worker
- segment_buffer.mux_packet(packet)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 107, in mux_packet
- self.flush(duration)
- File "/usr/src/homeassistant/homeassistant/components/stream/worker.py", line 131, in flush
- stream_output.put(segment)
- File "/usr/src/homeassistant/homeassistant/components/stream/core.py", line 143, in put
- self._hass.loop.call_soon_threadsafe(self._async_put, segment)
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
- self._check_closed()
- File "/usr/local/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
- raise RuntimeError('Event loop is closed')
- RuntimeError: Event loop is closed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement