[
https://issues.apache.org/jira/browse/ARIA-162?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16019595#comment-16019595
]
ASF GitHub Bot commented on ARIA-162:
-------------------------------------
GitHub user ran-z opened a pull request:
https://github.com/apache/incubator-ariatosca/pull/136
ARIA-162 Upgrade Colorama library version
Upgraded the Colorama library version - This should
take care of the closed-stream error that appeared
sporadically after test runs.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/apache/incubator-ariatosca
ARIA-162-colorama-open-file-error
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-ariatosca/pull/136.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #136
----
commit 3d22d36fc5c9fb780facfb8880143dda46d16f6f
Author: Ran Ziv <[email protected]>
Date: 2017-05-22T13:44:00Z
ARIA-162 Upgrade Colorama library version
Upgraded the Colorama library version - This should
take care of the closed-stream error that appeared
sporadically after test runs.
----
> 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
> Assignee: 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)