ariatosca-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ran Ziv (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ARIA-162) Colorama open file error after tests failure
Date Sun, 30 Apr 2017 12:52:04 GMT
Ran Ziv created ARIA-162:
----------------------------

             Summary: Colorama open file error after tests failure
                 Key: ARIA-162
                 URL: https://issues.apache.org/jira/browse/ARIA-162
             Project: AriaTosca
          Issue Type: Bug
            Reporter: Ran Ziv
            Priority: Trivial


After a test fails on CI, you might see an additional error raised by the {{Colorama}} library.

Stack trace:

{code}
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/opt/python/2.7.9/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/home/travis/build/apache/incubator-ariatosca/.tox/py27/lib/python2.7/site-packages/colorama/initialise.py",
line 19, in reset_all
    AnsiToWin32(orig_stdout).reset_all()
  File "/home/travis/build/apache/incubator-ariatosca/.tox/py27/lib/python2.7/site-packages/colorama/ansitowin32.py",
line 67, in __init__
    strip = conversion_supported or not is_a_tty(wrapped)
  File "/home/travis/build/apache/incubator-ariatosca/.tox/py27/lib/python2.7/site-packages/colorama/ansitowin32.py",
line 17, in is_a_tty
    return hasattr(stream, 'isatty') and stream.isatty()
ValueError: I/O operation on closed file
Error in sys.exitfunc:
Traceback (most recent call last):
  File "/opt/python/2.7.9/lib/python2.7/atexit.py", line 24, in _run_exitfuncs
    func(*targs, **kargs)
  File "/home/travis/build/apache/incubator-ariatosca/.tox/py27/lib/python2.7/site-packages/colorama/initialise.py",
line 19, in reset_all
    AnsiToWin32(orig_stdout).reset_all()
  File "/home/travis/build/apache/incubator-ariatosca/.tox/py27/lib/python2.7/site-packages/colorama/ansitowin32.py",
line 67, in __init__
    strip = conversion_supported or not is_a_tty(wrapped)
  File "/home/travis/build/apache/incubator-ariatosca/.tox/py27/lib/python2.7/site-packages/colorama/ansitowin32.py",
line 17, in is_a_tty
    return hasattr(stream, 'isatty') and stream.isatty()
ValueError: I/O operation on closed file
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message