-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Hi, I use docker to run this project,
docker pull ghcr.io/computationalphysiology/cbcbeat:v2023.2.0
docker run -it ghcr.io/computationalphysiology/cbcbeat:v2023.2.0
A error has arisen when I run demo_biventricular.py through Docker,
python3 ./demo_biventricular.py
The returned content is as follows:
Traceback (most recent call last):
File "/app/demo/bidomain-biventricular/./demo_biventricular.py", line 270, in
main()
File "/app/demo/bidomain-biventricular/./demo_biventricular.py", line 192, in main
application_parameters = setup_application_parameters()
File "/app/demo/bidomain-biventricular/./demo_biventricular.py", line 55, in setup_application_parameters
info(application_parameters, True)
File "/usr/lib/python3/dist-packages/ufl_legacy/log.py", line 121, in info
self.log(INFO, *message)
File "/usr/lib/python3/dist-packages/ufl_legacy/log.py", line 108, in log
text = self._format_raw(*message)
File "/usr/lib/python3/dist-packages/ufl_legacy/log.py", line 225, in _format_raw
return message[0] % message[1:]
TypeError: unsupported operand type(s) for %: 'dolfin.cpp.parameter.Parameters' and 'tuple'
**So I deleted this line of code:**info(application_parameters, True)
**but another error arises,
The returned content is as follows:**
Setting up application parameters
Setting up cardiac model
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Calling FFC just-in-time (JIT) compiler, this may take some time.
Traceback (most recent call last):
File "/app/demo/bidomain-biventricular/./demo_biventricular2.py", line 270, in
main()
File "/app/demo/bidomain-biventricular/./demo_biventricular2.py", line 197, in main
(heart, gs) = setup_cardiac_model(application_parameters)
File "/app/demo/bidomain-biventricular/./demo_biventricular2.py", line 160, in setup_cardiac_model
(M_i, M_e, gs) = setup_conductivities(mesh, application_parameters)
File "/app/demo/bidomain-biventricular/./demo_biventricular2.py", line 106, in setup_conductivities
from ufl import diag
ModuleNotFoundError: No module named 'ufl'