Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File closure bug. #31

Open
asselapathirana opened this issue Oct 3, 2018 · 1 comment
Open

File closure bug. #31

asselapathirana opened this issue Oct 3, 2018 · 1 comment

Comments

@asselapathirana
Copy link
Owner

asselapathirana commented Oct 3, 2018

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.

@antonismano
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants