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,
I have deployed WNTR project on remote server, so that the program can obtain real-time data from remote meter. However, the program can successfully run on local computer, and failed on server. Even I exported wn object and generated .inp file and open it on EPANET 2.2 on local computer. It runs successfully. But the run_sim(wn) still report the error (the wn object is the same). I solve this problem by adding the parameter version == 2.0. But I think it is not reasonable even it runs successfully now.
In addition, I used schedule module to call simulation module in loop. In this way, the parameters acquired from remote meter vary through time. However, the program will crash after running a period of time without catching any error (I write the try_catch to capture errors). After error happens, the program will generate 2 files including core.pid and enxxxxxx. I guess that the error is related to the process of automatically generating three files(.rpt .inp .bin). I am still struggling with this issue. Could you give me some suggestions or possible resolvent?
The text was updated successfully, but these errors were encountered:
I checked the version of wntr both server and localhost, they are both 1.0.0. But I still guess it's the version problem. In addition,
this is the log content of the interrupt issues, Can this indicate that there is a vulnerability in wntr when reading and writing
I’m still confused that the same .inp file successfully ran on EPANET and localhost but failed on server. The error message is as below.
However, the official example Net3.inp runs smoothly both on localhost and server.
Hi,
I have deployed WNTR project on remote server, so that the program can obtain real-time data from remote meter. However, the program can successfully run on local computer, and failed on server. Even I exported wn object and generated .inp file and open it on EPANET 2.2 on local computer. It runs successfully. But the run_sim(wn) still report the error (the wn object is the same). I solve this problem by adding the parameter version == 2.0. But I think it is not reasonable even it runs successfully now.
In addition, I used schedule module to call simulation module in loop. In this way, the parameters acquired from remote meter vary through time. However, the program will crash after running a period of time without catching any error (I write the try_catch to capture errors). After error happens, the program will generate 2 files including core.pid and enxxxxxx. I guess that the error is related to the process of automatically generating three files(.rpt .inp .bin). I am still struggling with this issue. Could you give me some suggestions or possible resolvent?
The text was updated successfully, but these errors were encountered: