[f2py] Re: TypeError: cannot concatenate 'str' and 'list' objects
C.A.(Sandy) Mader
mader at utias.utoronto.ca
Tue Nov 13 21:20:53 EET 2007
I noticed this bug in a previous post but didn't see any resolution. I
am running into the same thing.
Traceback (most recent call last):
File "/opt/python2.5/bin/f2py", line 26, in <module>
main()
File
"/opt/python2.5/lib/python2.5/site-packages/numpy/f2py/f2py2e.py", line
560, in main
run_main(sys.argv[1:])
File
"/opt/python2.5/lib/python2.5/site-packages/numpy/f2py/f2py2e.py", line
367, in run_main
ret=buildmodules(postlist)
File
"/opt/python2.5/lib/python2.5/site-packages/numpy/f2py/f2py2e.py", line
319, in buildmodules
dict_append(ret[mnames[i]],rules.buildmodule(modules[i],um))
File "/opt/python2.5/lib/python2.5/site-packages/numpy/f2py/rules.py",
line 1222, in buildmodule
for l in '\n\n'.join(funcwrappers2)+'\n'.split('\n'):
TypeError: cannot concatenate 'str' and 'list' objects
Error: Failed to generate wrapping source.
Is this a bug? If so has there been any resolution?
I am running python 2.5, numpy version 1.0.4, f2py version 2_4422
--
C.A.(Sandy) Mader
PhD Candidate
Multidisciplinary Design Optimization Laboratory
University of Toronto Institute for Aerospace Studies
http://mdolab.utias.utoronto.ca/people/mader
More information about the f2py-users
mailing list