Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 575448 - dev-python/colorama-0.3.6: spyder crashes with AttributeError: 'SysOutput' object has no attribute 'closed'
Summary: dev-python/colorama-0.3.6: spyder crashes with AttributeError: 'SysOutput' ob...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-23 11:28 UTC by Andrey Grozin
Modified: 2016-02-24 08:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Grozin gentoo-dev 2016-02-23 11:28:16 UTC
grozin@dns ~ $ spyder
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/spyderlib/spyder.py", line 2331, in main
    mainwindow = run_spyder(app, options, args)
  File "/usr/lib64/python3.4/site-packages/spyderlib/spyder.py", line 2215, in run_spyder
    main.setup()
  File "/usr/lib64/python3.4/site-packages/spyderlib/spyder.py", line 753, in setup
    self.inspector = ObjectInspector(self)
  File "/usr/lib64/python3.4/site-packages/spyderlib/plugins/inspector.py", line 407, in __init__
    not programs.is_module_installed('jedi', '>=0.8.1')):
  File "/usr/lib64/python3.4/site-packages/spyderlib/utils/programs.py", line 292, in is_module_installed
    actver = get_module_version(module_name)
  File "/usr/lib64/python3.4/site-packages/spyderlib/utils/programs.py", line 238, in get_module_version
    mod = __import__(module_name)
  File "/usr/lib64/python3.4/site-packages/jedi/__init__.py", line 41, in <module>
    from jedi.api import Script, Interpreter, NotFoundError, set_debug_function
  File "/usr/lib64/python3.4/site-packages/jedi/api/__init__.py", line 16, in <module>
    from jedi.parser import Parser, load_grammar
  File "/usr/lib64/python3.4/site-packages/jedi/parser/__init__.py", line 21, in <module>
    from jedi.parser import tree as pt
  File "/usr/lib64/python3.4/site-packages/jedi/parser/tree.py", line 39, in <module>
    from jedi import cache
  File "/usr/lib64/python3.4/site-packages/jedi/cache.py", line 32, in <module>
    from jedi import debug
  File "/usr/lib64/python3.4/site-packages/jedi/debug.py", line 17, in <module>
    init()
  File "/usr/lib64/python3.4/site-packages/colorama/initialise.py", line 37, in init
    wrap_stream(orig_stdout, convert, strip, autoreset, wrap)
  File "/usr/lib64/python3.4/site-packages/colorama/initialise.py", line 76, in wrap_stream
    convert=convert, strip=strip, autoreset=autoreset)
  File "/usr/lib64/python3.4/site-packages/colorama/ansitowin32.py", line 67, in __init__
    strip = conversion_supported or (not wrapped.closed and not is_a_tty(wrapped))
AttributeError: 'SysOutput' object has no attribute 'closed'
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2016-02-23 12:04:09 UTC
Could you please report this to upstream (https://github.com/tartley/colorama)?
Comment 2 Andrey Grozin gentoo-dev 2016-02-23 13:17:38 UTC
commit a625adf7fef166089c66cb045cd026b1e9ceb7aa
Author: Andrey Grozin <grozin@gentoo.org>
Date:   Tue Feb 23 19:05:27 2016 +0600

    dev-python/colorama: upstream fix
    
    https://github.com/tartley/colorama/commit/1244a00ae1accfeca3b4b1a85a3b718a920dd6bd
    
    Package-Manager: portage-2.2.27
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2016-02-24 08:37:34 UTC
commit 6992c69f0ee9b45d583c696a51f0abd4cbd11da1
Author: Justin Lecher <jlec@gentoo.org>
Date:   Wed Feb 24 09:37:08 2016 +0100

    dev-python/colorama: Revbump because of EAPI bump and patch addition

    Package-Manager: portage-2.2.27
    Signed-off-by: Justin Lecher <jlec@gentoo.org>

    https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6992c69f0ee9b45d583c696a51f0abd4cbd11da1