You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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'
The text was updated successfully, but these errors were encountered:
Note that I plan to move most of the functionality from cbcbeat to fenics-beat (https://github.com/finsberg/fenics-beat), including the bidomain solver, but bidomain is not my main priority at the moment.
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'
The text was updated successfully, but these errors were encountered: