Package: python-ffc Version: 0.9.2-2 Severity: important
Attempting to compile a form with "ffc -l dolfin -r quadrature" gives the following error. Unable to generate DOLFIN wrappers, missing module dolfin_utils.wrappers. Traceback (most recent call last): File "/usr/bin/ffc", line 167, in <module> sys.exit(main(sys.argv[1:])) File "/usr/bin/ffc", line 149, in main compile_form(ufd.forms, ufd.object_names, prefix, parameters) File "/usr/lib/python2.5/site-packages/ffc/compiler.py", line 155, in compile_form wrapper_code = generate_wrapper_code(analysis, prefix, parameters) File "/usr/lib/python2.5/site-packages/ffc/wrappers.py", line 30, in generate_wrapper_code error("Unable to generate DOLFIN wrappers, missing module dolfin_utils.wrappers.") File "<string>", line 1, in <lambda> File "/usr/lib/python2.5/site-packages/ufl/log.py", line 124, in error raise UFLException(self._format_raw(*message)) ufl.log.UFLException: Unable to generate DOLFIN wrappers, missing module dolfin_utils.wrappers. For completeness, I've attached the form I was trying to compile. Francis -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.33.4 (SMP w/2 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages python-ffc depends on: ii python 2.5.4-9 An interactive high-level object-o ii python-central 0.6.14+nmu2 register and build utility for Pyt ii python-fiat 0.9.1-1 tabulation of finite element funct ii python-instant 0.9.8-1 simple inlining of C / C++ code in ii python-ufc 1.4.0-2 unified code generation interface ii python-ufl 0.5.2-1 unified language for form-compiler python-ffc recommends no packages. Versions of packages python-ffc suggests: pn python-ferari <none> (no description available) -- no debconf information
VX = FiniteElement("Lagrange", triangle, 2) VY = FiniteElement("Lagrange", triangle, 2) P = FiniteElement("Lagrange", triangle, 1) V = VX + VY TH = V + P (v, q) = TestFunctions(TH) (u, p) = TrialFunctions(TH) f = Coefficient(V) a = (inner(grad(v), grad(u)) - div(v)*p + q*div(u))*dx L = inner(v, f)*dx