ariatosca-issues mailing list archives

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

     [ https://issues.apache.org/jira/browse/ARIA-162?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ran Ziv reassigned ARIA-162:
----------------------------

    Assignee: Ran Ziv

> 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)

Mime
View raw message