USEPA / SWMM-EPANET_User_Interface

User interface for the Stormwater-Management-Model
111 stars 67 forks source link

making the executable file for windows fails the procedure for both SWMM and EPANET #277

Closed ehsanMa86 closed 4 years ago

ehsanMa86 commented 6 years ago

making the executable file for windows fails the procedure for both SWMM and EPANET

Version: EPANET MTP4r2 (master branch) Priority: Medium

dickinsonre commented 5 years ago

I get this message when i try to install 2019-03-08_1448

TongZhai commented 5 years ago

@dickinsonre we have been moving everything to python3 for quite a while now, could you try the MTP5r0 python 3 install package, see if it resolve this install problem.

schoeller commented 5 years ago

@TongZhai I can confirm the message from @dickinsonre when installing on Win10 using the MTPr0 for SWMM.

image

image

dickinsonre commented 5 years ago

I have now tried it on three PC's and all give the same error. I am using SWMM-UI-MTP5r0.exe and get the same error as mentioned by @TongZhai

TongZhai commented 5 years ago

@dickinsonre yes, there is a problem on win10, I am looking at this, had some success, will need more testing before an update.

TongZhai commented 5 years ago

@schoeller @dickinsonre new windows 10 installers are released at the release page, please try.

dickinsonre commented 5 years ago

Thanks both of these installs work for me and run but SWMM is still using the v11 engine

EPA STORM WATER MANAGEMENT MODEL - VERSION 5.1 (Build 5.1.011)

ehsanMa86 commented 5 years ago

@TongZhai May I ask what changes you made on the process to make install packages for Windows 10? Just curious

ehsanMa86 commented 5 years ago

@TongZhai So basically changing the QGIS and python version was the issue in making .exe files for win10? does it means if I change the numbers on this wiki I should good to go? https://github.com/USEPA/SWMM-EPANET_User_Interface/wiki/Creating-install-packages-for-Windows

schoeller commented 5 years ago

@schoeller @dickinsonre new windows 10 installers are released at the release page, please try.

@TongZhai Thx for the work. I tried and both installers quit successfully. When trying to launch EPANET-UI.exe though I receive the following error image SWMM-UI.exe behaves similar. I suspect this originating from that I have not installed QGis through OSGeo4W network installer as suggested on https://github.com/USEPA/SWMM-EPANET_User_Interface/wiki/Getting-Started-as-a-Developer-in-Python-3. I rather have a standard QGis install.

TongZhai commented 5 years ago

@schoeller I see it. It does seem it still needs something from the installed qgis folder... I tested the dependency on qgis by renaming, deleting, and moving the installed qgis folder and the programs still worked. I think I can see a path forward to resolve this, so I am reopening this thread, will post update soon.