Re: [Qgis-user] QGIS_EPANET - command line tool

2014-08-29 Thread Larry Shaffer
Hi Francesco, I have looked into this and wine is not needed. However, there are still some hurdles. I will list the steps so that it is as straightforward as can be (or as much as it can be from me :-) : 1. Install the GHydraulics plugin. This plugin actually contains command line binaries of

Re: [Qgis-user] QGIS_EPANET - command line tool

2014-08-29 Thread Francesco Liva
Hi Larry Thank you for your e-mail. I am trying to change the instances as you mentioned, writing in TERMINAL the: ~/.qgis2/python/plugins/ghydraulic/GHydraulicsModelMaker.py But the answer is: -bash: /Users/francescoliva/.qgis2/python/plugins/ghydraulic/GHydraulicsModelMaker.py:

Re: [Qgis-user] QGIS_EPANET - command line tool

2014-08-29 Thread Francesco Liva
Hi Larry I am sorry to bother you, but I am having a problem. The file ~/.qgis2/python/plugins/ghydraulic/GHydraulicsModelMaker.py I can find it under the WINE File Manager, but I do not know how to open under wine. In MAC I am not able to find the file. It is not under the WINE FILES. Best

Re: [Qgis-user] QGIS_EPANET - command line tool

2014-08-29 Thread Francesco Liva
Hi I have done the correction with TEXT WRANGLER. THankyou I could open the file and correct it. GOOD. Than running QGIS with the new command Path, I get the following error: Algorithm Simulate flow in drinking water network starting... running simulation There are errors, please check

Re: [Qgis-user] QGIS_EPANET - command line tool

2014-08-29 Thread Larry Shaffer
Hi, On Fri, Aug 29, 2014 at 11:25 AM, Francesco Liva fr.l...@gmail.com wrote: Hi Larry I am sorry to bother you, but I am having a problem. The file ~/.qgis2/python/plugins/ghydraulic/GHydraulicsModelMaker.py I can find it under the WINE File Manager, but I do not know how to open under

Re: [Qgis-user] QGIS_EPANET - command line tool

2014-08-29 Thread Larry Shaffer
Hi, On Fri, Aug 29, 2014 at 12:09 PM, Francesco Liva fr.l...@gmail.com wrote: Hi I have done the correction with TEXT WRANGLER. THankyou I could open the file and correct it. GOOD. Than running QGIS with the new command Path, I get the following error: Algorithm Simulate flow in drinking

Re: [Qgis-user] QGIS_EPANET - command line tool

2014-08-26 Thread Francesco Liva
Hi Larry Thank you for your answer, I have made an AppleScript with the following: tell application Terminal do script open /Applications/EPANET2.00.12.app end tell and I have tried as well to give to PROCESSING within QGIS the following path: /Applications/EPANET2.00.12.app In both

Re: [Qgis-user] QGIS_EPANET - command line tool

2014-08-26 Thread Francesco Liva
Hi Sorry to bother you again, but I really need to solve my problem When I run the AppleScript: tell application Terminal do script open /Applications/EPANET2.00.12.app end tell It open the EPANET programme. But when I run the AppleScript from QGIS he gives me the error: Algorithm

Re: [Qgis-user] QGIS_EPANET - command line tool

2014-08-26 Thread Larry Shaffer
Hi Francesco, On Tue, Aug 26, 2014 at 4:39 AM, Francesco Liva fr.l...@gmail.com wrote: Hi Sorry to bother you again, but I really need to solve my problem When I run the AppleScript: *tell* *application* Terminal *do script* open /Applications/EPANET2.00.12.app *end* *tell* It open

Re: [Qgis-user] QGIS_EPANET - command line tool

2014-08-25 Thread Larry Shaffer
Hi Francesco, To call a wine-based Windows app, with arguments from the command line, consult the wine man page [0]. However, I am not certain this will work as a configuration value, because the program itself needs to be prefaced with the 'wine' executable as the caller, e.g.: wine win_app

[Qgis-user] QGIS_EPANET - command line tool

2014-08-24 Thread Francesco Liva
Hello I have a MAC computer, running QGIS. Have installed EPANET with WINE 1.7.16. I have installed the experimental plugins: QGIS_EPANET. Does anybody knows how to use the EPANET (Drinking water flow simulation) and how to define the Epanet command line tool under the PROCESSING OPTIONS. Thank