Skip to content

Instantly share code, notes, and snippets.

@radix
Last active January 4, 2019 18:34
Show Gist options
  • Save radix/394d57fdbb78696c4c656e8ab96f4fd6 to your computer and use it in GitHub Desktop.
Save radix/394d57fdbb78696c4c656e8ab96f4fd6 to your computer and use it in GitHub Desktop.
structlog colorama ansitowin32 traceback in ECS
File "/venv/local/lib/python2.7/site-packages/structlog/_base.py", line 192, in _proxy_to_logger
return getattr(self._logger, method_name)(*args, **kw)
File "/venv/local/lib/python2.7/site-packages/structlog/_loggers.py", line 76, in msg
until_not_interrupted(self._write, message + "\n")
File "/venv/local/lib/python2.7/site-packages/structlog/_utils.py", line 24, in until_not_interrupted
return f(*args, **kw)
File "/venv/local/lib/python2.7/site-packages/colorama/ansitowin32.py", line 41, in write
self.__convertor.write(text)
File "/venv/local/lib/python2.7/site-packages/colorama/ansitowin32.py", line 154, in write
self.write_and_convert(text)
File "/venv/local/lib/python2.7/site-packages/colorama/ansitowin32.py", line 182, in write_and_convert
self.write_plain_text(text, cursor, len(text))
File "/venv/local/lib/python2.7/site-packages/colorama/ansitowin32.py", line 187, in write_plain_text
self.wrapped.write(text[start:end])
IOError: [Errno 11] Resource temporarily unavailable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment