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 everyone,
I tried to run the culvert modelling part of the Itzi tutorial by using the SWMM drainage model alongside the surface model.
Unfortunately I always recieve this error:
`GRASS nc_spm_08_grass7/PERMANENT:PERMANENT > itzi run parameter.ini
Starting simulation of parameter.ini...
WARNING: Error during execution: Traceback (most recent call last):
File "/home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/itzi.py", line 165, in sim_runner_worker
sim_runner.initialize(conf_file).run().finalize()
File "/home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/itzi.py", line 101, in initialize
self.sim.initialize()
File "/home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/simulation.py", line 144, in initialize
self.__set_models(self.igis)
File "/home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/simulation.py", line 118, in __set_models
self.drainage = DrainageSimulation(self.rast_domain,
File "/home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/drainage.py", line 39, in init
self.swmm5 = swmm.Swmm5()
File "/home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/swmm/swmm.py", line 37, in init
self.c_swmm5 = c.CDLL(swmm_so)
File "/usr/lib/python3.8/ctypes/init.py", line 373, in init
self._handle = _dlopen(self._name, mode)
OSError: /home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/swmm/swmm_c.so: cannot open shared object file: No such file or directory
Exception ignored in: <function DrainageSimulation.del at 0x7fa98a6fe0d0>
Traceback (most recent call last):
File "/home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/drainage.py", line 77, in del
self.swmm5.swmm_end()
AttributeError: 'DrainageSimulation' object has no attribute 'swmm5'
`
I already deleted the swmm_c.c and flow.c files and explicitly compiled them by using the programmers manual instruction. Nevertheless, this seems to be not the solution for my issue.
Thanks for your help in advance.
The text was updated successfully, but these errors were encountered:
Hi everyone,
I tried to run the culvert modelling part of the Itzi tutorial by using the SWMM drainage model alongside the surface model.
Unfortunately I always recieve this error:
`GRASS nc_spm_08_grass7/PERMANENT:PERMANENT > itzi run parameter.ini
Starting simulation of parameter.ini...
WARNING: Error during execution: Traceback (most recent call last):
File "/home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/itzi.py", line 165, in sim_runner_worker
sim_runner.initialize(conf_file).run().finalize()
File "/home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/itzi.py", line 101, in initialize
self.sim.initialize()
File "/home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/simulation.py", line 144, in initialize
self.__set_models(self.igis)
File "/home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/simulation.py", line 118, in __set_models
self.drainage = DrainageSimulation(self.rast_domain,
File "/home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/drainage.py", line 39, in init
self.swmm5 = swmm.Swmm5()
File "/home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/swmm/swmm.py", line 37, in init
self.c_swmm5 = c.CDLL(swmm_so)
File "/usr/lib/python3.8/ctypes/init.py", line 373, in init
self._handle = _dlopen(self._name, mode)
OSError: /home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/swmm/swmm_c.so: cannot open shared object file: No such file or directory
Exception ignored in: <function DrainageSimulation.del at 0x7fa98a6fe0d0>
Traceback (most recent call last):
File "/home/julius/.local/lib/python3.8/site-packages/itzi-master/itzi/drainage.py", line 77, in del
self.swmm5.swmm_end()
AttributeError: 'DrainageSimulation' object has no attribute 'swmm5'
`
I already deleted the swmm_c.c and flow.c files and explicitly compiled them by using the programmers manual instruction. Nevertheless, this seems to be not the solution for my issue.
Thanks for your help in advance.
The text was updated successfully, but these errors were encountered: