epanettools
epanettools copied to clipboard
File closure bug.
In version 1.0.0 I noticed the following:
If you run a number of simulations in a loop. after about 100 runs, the library returns errors. This is a minimal example. When range(1000,50,-10)
is modifed to say range(1000,50,-1)
so that the loop runs more than 100 times, it stop at 100.
Error: self.pd.ENsavehydfile(self.hydraulicfile)
fails and return code 305.
The bug is there in previous versions as well. It is the same issue with #28 (Problem with saving files). Is it possible that it is a Windows 10 issue?