Bug#581897: python-ffc: ffc -l dolfin gives an error

Johannes Ring johannr at simula.no
Wed May 19 11:22:16 UTC 2010


Hi Francis,

Thanks for your report. You need to install python-dolfin when using
the '-l dolfin' option. I will add python-dolfin to Suggests in
python-ffc.

Johannes

On Mon, May 17, 2010 at 4:09 AM, Francis Russell
<francis+dbts at unchartedbackwaters.co.uk> wrote:
> 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
>
> --
> debian-science-maintainers mailing list
> debian-science-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/debian-science-maintainers
>
>





More information about the debian-science-maintainers mailing list