Mashalyzer is already in the system envrionment but cannot be recognized by openCARP
Summary
I tried to run 07_extracellular experiment but it seems that Meshalyzer cannot be recognized. However, I already added Meshalyzer into the system environment since it can be launched through bash meshalyzer
.
What version of openCARP are you using?
https://git.opencarp.org/api/v4/projects/16/packages/generic/opencarp-linux/v11.0/opencarp-v11.0.deb
What operating system and processor architecture are you using?
Ubuntu 20.04 LTS through WSL2 in Windows11
Steps to reproduce
I tried to reproduce it in the docker image. But it seems that docker cannot display meshalyzer.
/openCARP/meshalyzer
# ./meshalyzer
Can't open display:
So here is the code that I ran in Ubuntu(WSL):
cd experiments/tutorials/02_EP_tissue/07_extracellular/
./run.py --sourceModel monodomain --duration 60 --visualize
What is the current bug behavior?
Timings of individual physics:
------------------------------
Electrics:
Init: 0.04 sec
Compute: 0.92 sec
Output: 0.37 sec
Myocard Ionics:
Init: 0.17 sec
Compute: 0.85 sec
Output: 0.00 sec
*** Destroying physics ***
Destroying Electrics ..
Traceback (most recent call last):
File "./run.py", line 882, in <module>
run()
File "/usr/local/lib/python3.8/dist-packages/carputils/tools.py", line 540, in wrapped
ret = run(args, job)
File "./run.py", line 456, in run
job.meshalyzer(geom, data, view)
File "/usr/local/lib/python3.8/dist-packages/carputils/job/job.py", line 606, in meshalyzer
cmd = [settings.execs.MESHALYZER, geom] + args
File "/usr/local/lib/python3.8/dist-packages/carputils/settings/paths.py", line 70, in __getattr__
raise self._exception(attr, path)
carputils.settings.exceptions.CARPUtilsMissingPathError: The path for MESHALYZER was not found (/usr/local/meshalyzer/meshalyzer)
What is the expected correct behavior?
Meshalyzer should be opened.