Hello,
In trying to compile a new cython file with a fair bit of code in it,
I get the following traceback:
22:23 hk-laptop:../clsynth/clsynth > cython transforms.pyx
Traceback (most recent call last):
File "/home/hoytak/sysroot/bin/cython", line 8, in <module>
main(command_line = 1)
File
"/home/hoytak/sysroot/lib/python2.5/site-packages/Cython/Compiler/Main.py",
line 730, in main
result = compile(sources, options)
File
"/home/hoytak/sysroot/lib/python2.5/site-packages/Cython/Compiler/Main.py",
line 707, in compile
return compile_multiple(source, options)
File
"/home/hoytak/sysroot/lib/python2.5/site-packages/Cython/Compiler/Main.py",
line 677, in compile_multiple
result = run_pipeline(source, options)
File
"/home/hoytak/sysroot/lib/python2.5/site-packages/Cython/Compiler/Main.py",
line 539, in run_pipeline
err, enddata = context.run_pipeline(pipeline, source)
File
"/home/hoytak/sysroot/lib/python2.5/site-packages/Cython/Compiler/Main.py",
line 198, in run_pipeline
data = phase(data)
File
"/home/hoytak/sysroot/lib/python2.5/site-packages/Cython/Compiler/Main.py",
line 497, in parse
tree = context.parse(source_desc, scope, pxd = 0, full_module_name
= full_module_name)
File
"/home/hoytak/sysroot/lib/python2.5/site-packages/Cython/Compiler/Main.py",
line 429, in parse
tree = Parsing.p_module(s, pxd, full_module_name)
File "Parsing.py", line 2478, in Cython.Compiler.Parsing.p_module
(/home/hoytak/sysroot/src/cython/Cython/Compiler/Parsing.c:52412)
File "Parsing.py", line 2490, in Cython.Compiler.Parsing.p_module
(/home/hoytak/sysroot/src/cython/Cython/Compiler/Parsing.c:52183)
File "Parsing.py", line 1551, in
Cython.Compiler.Parsing.p_statement_list
(/home/hoytak/sysroot/src/cython/Cython/Compiler/Parsing.c:33272)
File "Parsing.py", line 1556, in
Cython.Compiler.Parsing.p_statement_list
(/home/hoytak/sysroot/src/cython/Cython/Compiler/Parsing.c:33090)
File "Parsing.py", line 1480, in Cython.Compiler.Parsing.p_statement
(/home/hoytak/sysroot/src/cython/Cython/Compiler/Parsing.c:32939)
File "Parsing.py", line 1489, in Cython.Compiler.Parsing.p_statement
(/home/hoytak/sysroot/src/cython/Cython/Compiler/Parsing.c:31516)
File "Parsing.py", line 1447, in
Cython.Compiler.Parsing.p_DEF_statement
(/home/hoytak/sysroot/src/cython/Cython/Compiler/Parsing.c:30670)
File
"/home/hoytak/sysroot/lib/python2.5/site-packages/Cython/Compiler/ExprNodes.py",
line 2621, in compile_time_value
obj = self.arg.compile_time_value(denv)
AttributeError: 'AttributeNode' object has no attribute 'arg'
I haven't been able to track down what exactly in my code is causing
this, but if someone could tell what type of code would invoke the
above nodes, I'll try to isolate it in my code and write a test case.
I suspect this bit of code in cython hasn't really been tested much,
per my last email...
Thanks,
--Hoyt
++++++++++++++++++++++++++++++++++++++++++++++++
+ Hoyt Koepke
+ University of Washington Department of Statistics
+ http://www.stat.washington.edu/~hoytak/
+ [email protected]
++++++++++++++++++++++++++++++++++++++++++
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev