dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #21530
[Question #146325]: *** FFC: __init__() takes exactly 6 arguments (7 given)
New question #146325 on DOLFIN:
https://answers.launchpad.net/dolfin/+question/146325
Hi,
I was just wondering for the following compiling error of a ufl form file using FFC:
ffc -l dolfin my.ufl
...
Compiler stage 4 finished in 1.00954 seconds.
Compiler stage 4.1: Generating additional wrapper code
------------------------------------------------------
*** FFC: __init__() takes exactly 6 arguments (7 given)
*** FFC: To get more information about this error, rerun FFC with --verbose.
It works for the latest stable version, but does not work for the unstable version. Is something changed in the latest FFC?
ffc -l dolfin --verbose my.ufl gives the following output:
Compiler stage 4.1: Generating additional wrapper code
------------------------------------------------------
Traceback (most recent call last):
File "/NOBACKUP/murtazo/fenics/bin/ffc", line 167, in <module>
sys.exit(main(sys.argv[1:]))
File "/NOBACKUP/murtazo/fenics/bin/ffc", line 149, in main
compile_form(ufd.forms, ufd.object_names, prefix, parameters)
File "/NOBACKUP/murtazo/fenics/lib/python2.6/site-packages/ffc/compiler.py", line 155, in compile_form
wrapper_code = generate_wrapper_code(analysis, prefix, parameters)
File "/NOBACKUP/murtazo/fenics/lib/python2.6/site-packages/ffc/wrappers.py", line 34, in generate_wrapper_code
return _generate_dolfin_wrapper(analysis, prefix, parameters)
File "/NOBACKUP/murtazo/fenics/lib/python2.6/site-packages/ffc/wrappers.py", line 45, in _generate_dolfin_wrapper
element_map, parameters)
File "/NOBACKUP/murtazo/fenics/lib/python2.6/site-packages/ffc/wrappers.py", line 74, in _encapsulate
(i, form) in enumerate(forms)]
File "/NOBACKUP/murtazo/fenics/lib/python2.6/site-packages/ffc/wrappers.py", line 99, in _encapsule_form
superclassname)
TypeError: __init__() takes exactly 6 arguments (7 given)
Thanks,
murtazo
--
You received this question notification because you are a member of
DOLFIN Team, which is an answer contact for DOLFIN.
Follow ups