Andriy Kornatskyy
2014-01-19 20:00:14 UTC
The cython compiler crash report below. Steps to reproduce:
1. virtualenv env
2. env/bin/easy_install cython
3. env/bin/easy_install wheezy.http
The wheezy.http has dependency on wheezy.core. If I install those two packages separately there is no error, only if through dependencies.
Thanks.
Andriy Kornatskyy
File "Visitor.py", line 178, in Cython.Compiler.Visitor.TreeVisitor._visit (/var/folders/g8/2kym1h8n7qbgrwg4qkfqw1gw0000gn/T/easy_install-JVXbGE/Cython-0.20/Cython/Compiler/Visitor.c:4437)
File "Visitor.py", line 137, in Cython.Compiler.Visitor.TreeVisitor._raise_compiler_error (/var/folders/g8/2kym1h8n7qbgrwg4qkfqw1gw0000gn/T/easy_install-JVXbGE/Cython-0.20/Cython/Compiler/Visitor.c:3655)
Cython.Compiler.Errors.CompilerCrash:
Error compiling Cython file:
------------------------------------------------------------
...
"""
"""
__version__ = '0.1.129'
^
------------------------------------------------------------
src/wheezy/core/__init__.py:5:14: Compiler crash in RemoveUnreachableCode
ModuleNode.body = StatListNode(__init__.py:5:14)
Compiler crash traceback from this point on:
File "Visitor.py", line 170, in Cython.Compiler.Visitor.TreeVisitor._visit (/var/folders/g8/2kym1h8n7qbgrwg4qkfqw1gw0000gn/T/easy_install-JVXbGE/Cython-0.20/Cython/Compiler/Visitor.c:4275)
File “/.../env/lib/python2.7/site-packages/Cython-0.20-py2.7-macosx-10.9-x86_64.egg/Cython/Compiler/ParseTreeTransforms.py", line 2135, in visit_StatListNode
if not self.current_directives['remove_unreachable']:
TypeError: 'NoneType' object has no attribute '__getitem__'
1. virtualenv env
2. env/bin/easy_install cython
3. env/bin/easy_install wheezy.http
The wheezy.http has dependency on wheezy.core. If I install those two packages separately there is no error, only if through dependencies.
Thanks.
Andriy Kornatskyy
File "Visitor.py", line 178, in Cython.Compiler.Visitor.TreeVisitor._visit (/var/folders/g8/2kym1h8n7qbgrwg4qkfqw1gw0000gn/T/easy_install-JVXbGE/Cython-0.20/Cython/Compiler/Visitor.c:4437)
File "Visitor.py", line 137, in Cython.Compiler.Visitor.TreeVisitor._raise_compiler_error (/var/folders/g8/2kym1h8n7qbgrwg4qkfqw1gw0000gn/T/easy_install-JVXbGE/Cython-0.20/Cython/Compiler/Visitor.c:3655)
Cython.Compiler.Errors.CompilerCrash:
Error compiling Cython file:
------------------------------------------------------------
...
"""
"""
__version__ = '0.1.129'
^
------------------------------------------------------------
src/wheezy/core/__init__.py:5:14: Compiler crash in RemoveUnreachableCode
ModuleNode.body = StatListNode(__init__.py:5:14)
Compiler crash traceback from this point on:
File "Visitor.py", line 170, in Cython.Compiler.Visitor.TreeVisitor._visit (/var/folders/g8/2kym1h8n7qbgrwg4qkfqw1gw0000gn/T/easy_install-JVXbGE/Cython-0.20/Cython/Compiler/Visitor.c:4275)
File “/.../env/lib/python2.7/site-packages/Cython-0.20-py2.7-macosx-10.9-x86_64.egg/Cython/Compiler/ParseTreeTransforms.py", line 2135, in visit_StatListNode
if not self.current_directives['remove_unreachable']:
TypeError: 'NoneType' object has no attribute '__getitem__'