Py 3 problem
Issue #125
resolved
I don't know how this got past the Pipelines py3 testing.
Traceback (most recent call last):
File "/home/garth/.local/bin/ffc", line 11, in <module>
load_entry_point('FFC', 'console_scripts', 'ffc')()
File "/home/garth/.local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 567, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/garth/.local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2604, in load_entry_point
return ep.load()
File "/home/garth/.local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2264, in load
return self.resolve()
File "/home/garth/.local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 2270, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/home/garth/code/fenics/dev/ffc/ffc/__init__.py", line 20, in <module>
from ffc.compiler import compile_form, compile_element
File "/home/garth/code/fenics/dev/ffc/ffc/compiler.py", line 127, in <module>
from ffc.formatting import format_code
File "/home/garth/code/fenics/dev/ffc/ffc/formatting.py", line 35, in <module>
from ffc.backends.ufc import __version__ as UFC_VERSION
File "/home/garth/code/fenics/dev/ffc/ffc/backends/ufc/__init__.py", line 166, in <module>
_ufc_signature = _compute_ufc_signature()
File "/home/garth/code/fenics/dev/ffc/ffc/backends/ufc/__init__.py", line 160, in _compute_ufc_signature
h.update(f.read())
TypeError: Unicode-objects must be encoded before hashing
Comments (5)
-
-
fix pushed.
-
reporter It wasn't running py3 tests. I'll add it.
-
reporter There are some more problems is
def _compute_ufc_templates_signature(templates):
. -
reporter - changed status to resolved
Fixes pushed.
- Log in to comment
Does it run the regression tests now?