Hi all,
The image processing scikit fails to build under 0.13 with the
following cryptic error:
AttributeError: 'UnspecifiedType' object has no attribute
'create_from_py_utility_code'
(full traceback below)
Have you seen this before?
Regards
Stéfan
cython -o /home/stefan/src/scikits.image/scikits/image/opencv/opencv_cv.c.new
/home/stefan/src/scikits.image/scikits/image/opencv/opencv_cv.pyx
Traceback (most recent call last):
File "/home/stefan/bin/cython", line 8, in <module>
main(command_line = 1)
File "/home/stefan/lib/python2.6/site-packages/Cython/Compiler/Main.py",
line 767, in main
result = compile(sources, options)
File "/home/stefan/lib/python2.6/site-packages/Cython/Compiler/Main.py",
line 742, in compile
return compile_multiple(source, options)
File "/home/stefan/lib/python2.6/site-packages/Cython/Compiler/Main.py",
line 714, in compile_multiple
result = run_pipeline(source, options)
File "/home/stefan/lib/python2.6/site-packages/Cython/Compiler/Main.py",
line 583, in run_pipeline
err, enddata = context.run_pipeline(pipeline, source)
File "/home/stefan/lib/python2.6/site-packages/Cython/Compiler/Main.py",
line 224, in run_pipeline
data = phase(data)
File "Visitor.py", line 276, in
Cython.Compiler.Visitor.CythonTransform.__call__
(/home/stefan/src/cython/Cython/Compiler/Visitor.c:4924)
File "Visitor.py", line 259, in
Cython.Compiler.Visitor.VisitorTransform.__call__
(/home/stefan/src/cython/Cython/Compiler/Visitor.c:4684)
File "Visitor.py", line 28, in
Cython.Compiler.Visitor.BasicVisitor.visit
(/home/stefan/src/cython/Cython/Compiler/Visitor.c:1178)
File
"/home/stefan/lib/python2.6/site-packages/Cython/Compiler/ParseTreeTransforms.py",
line 1150, in visit_ModuleNode
node.body.analyse_expressions(node.scope)
File "/home/stefan/lib/python2.6/site-packages/Cython/Compiler/Nodes.py",
line 346, in analyse_expressions
stat.analyse_expressions(env)
File "/home/stefan/lib/python2.6/site-packages/Cython/Compiler/Nodes.py",
line 346, in analyse_expressions
stat.analyse_expressions(env)
File "/home/stefan/lib/python2.6/site-packages/Cython/Compiler/Nodes.py",
line 3270, in analyse_expressions
self.analyse_types(env)
File "/home/stefan/lib/python2.6/site-packages/Cython/Compiler/Nodes.py",
line 3364, in analyse_types
self.rhs = self.rhs.coerce_to(self.lhs.type, env)
File "/home/stefan/lib/python2.6/site-packages/Cython/Compiler/ExprNodes.py",
line 572, in coerce_to
src = CoerceFromPyTypeNode(dst_type, src, env)
File "/home/stefan/lib/python2.6/site-packages/Cython/Compiler/ExprNodes.py",
line 6712, in __init__
if not result_type.create_from_py_utility_code(env):
AttributeError: 'UnspecifiedType' object has no attribute
'create_from_py_utility_code'
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev