epanettools icon indicating copy to clipboard operation
epanettools copied to clipboard

File closure bug.

Open asselapathirana opened this issue 6 years ago • 1 comments

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.

asselapathirana avatar Oct 03 '18 13:10 asselapathirana

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?

antonismano avatar Oct 25 '18 12:10 antonismano