Skip to content

Instantly share code, notes, and snippets.

@Bouni
Created October 16, 2019 09:58
Show Gist options
  • Save Bouni/a7d81868984a7aeb1371ea62a20328c8 to your computer and use it in GitHub Desktop.
Save Bouni/a7d81868984a7aeb1371ea62a20328c8 to your computer and use it in GitHub Desktop.
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.7/logging/__init__.py", line 1028, in emit
stream.write(msg + self.terminator)
File "/home/bouni/projects/home-assistant/venv/lib/python3.7/site-packages/_pytest/capture.py", line 427, in write
self.buffer.write(obj)
ValueError: I/O operation on closed file
Call stack:
File "/usr/lib/python3.7/asyncio/base_events.py", line 1639, in call_exception_handler
self._exception_handler(self, context)
File "/home/bouni/projects/home-assistant/homeassistant/core.py", line 145, in async_loop_exception_handler
"Error doing job: %s", context["message"], **kwargs # type: ignore
Message: 'Error doing job: %s'
Arguments: ('Task was destroyed but it is pending!',)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment