generate-form-files fails for maint

Issue #52 wontfix
Johan Hake created an issue

When running generate-form-files after installing maint version of all FEniCS packages it fails with:

Traceback (most recent call last):
  File "/home/hake/local/bin/ffc", line 195, in <module>
    sys.exit(main(sys.argv[1:]))
  File "/home/hake/local/bin/ffc", line 176, in main
    compile_form(ufd.forms, ufd.object_names, prefix, parameters)
  File "/home/hake/local/lib/python2.7/site-packages/ffc/compiler.py", line 176, in compile_form
    format_code(code, wrapper_code, prefix, parameters)
  File "/home/hake/local/lib/python2.7/site-packages/ffc/formatting.py", line 73, in format_code
    code_h += _format_h("dofmap", code_dofmap, parameters)
  File "/home/hake/local/lib/python2.7/site-packages/ffc/formatting.py", line 119, in _format_h
    return templates[class_type + "_combined"] % code + "\n"
KeyError: 'max_local_dimension'

It should probably be fixed in FFC

Comments (5)

  1. Martin Sandve Alnæs

    Might be that the maint branches point to the wrong commits, I created those from commits based on inspecting the commit messages only without testing.

  2. Johan Hake reporter

    We would need a buildbot for these branches too I guess, which also test running generate-foo. Note that generate-form-files is not run by generate-all for the maint branch. It looks from

    buildbots

    that they should exist but I cannot find them.

  3. Log in to comment