Comments (6)
I installed MTP3r1 to c:\EPANET_UI_Testing as well as to just c:, in both cases the simulation failed with the same message "File Error 305...".
from swmm-epanet_user_interface.
I have set up a new virtual machine environment for testing installed versions of this software without interference from development environments or other installed software. It is easy to roll back to a "clean" version of the virtual machine so previous testing does not affect the current test.
In my first test of EPANET-UI-MTP3r1 on the virtual machine, I installed in C:\Program Files (x86)\EPANET-UI
It is not displaying the map. I have entered that as a separate issue.
When I ignore the fact that the map is not displaying and load the first test project Net1.inp, the model runs correctly via Project/Run Simulation or via the "lightning bolt" Run Simulation toolbar button.
Originally I thought the issue was with spaces in the path, but now it is not clear to me what is causing this issue.
I will continue on a path toward understanding the moment when this error can happen and see if I can find a fix even though I have so far not been able to reproduce the error in the test environment. The error message itself seems to be coming from inside the model code.
from swmm-epanet_user_interface.
"File Error 305: cannot open hydraulics file" occurs when the user does not have write permission to the folder where EPANET-UI is installed. This is a good clue for working toward a solution. A temporary workaround might be installing to a folder in the user's home folder.
from swmm-epanet_user_interface.
EPANET tries to open and write to a temporary hydraulics file. We probably should be doing this in the system temporary directory and not where the UI is installed.
from swmm-epanet_user_interface.
Windows has special locations for applications data and files, the AppData folder. At the run command line (Win-R) type %appdata%. Inside the AppData folder you can find the temp directory, try %temp%.
from swmm-epanet_user_interface.
EPANET-UI-MTP3r2 installer is now uploaded into the MTP 3 release. This version tries to change into the directory containing the input file before running the model. If that does not work, it tries changing to the system temporary directory. This has fixed the issue in testing, so I am closing this issue.
from swmm-epanet_user_interface.
Related Issues (20)
- Problem creating objects with non-default name when made by clicking on three dots HOT 1
- Type1 and Type2 pump curve plots HOT 1
- Handling of non-existent recent files HOT 1
- Path information for recently opened files HOT 1
- Error creating installation package for SWMM HOT 2
- Adding Calibration files causes program to crash HOT 8
- It is not clear how to add SWMM-CAT and SSOAP Tools HOT 4
- MAP Projections HOT 5
- SWMM help - the page could not be found HOT 13
- Handle SWMM simulation error more smoothly HOT 1
- Different set of links in profile between this and the Delphi version HOT 1
- SWMM project-specific .ini files not being created HOT 2
- What is the python entry point? HOT 10
- Dependancies under Linux HOT 3
- This Windows version (6.3.9600) does not support the required bluetooth API. HOT 1
- Can't compile .exe file to run HOT 3
- Possible to run on Linux? HOT 1
- Propose archiving this repository due to lack of activity HOT 2
- Main Issue to me is the SWMM5 Engine Used
- Suggest splitting SWMM-EPANET_User_Interface into two repo HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from swmm-epanet_user_interface.