qgisred / QGISRed

GNU General Public License v2.0
23 stars 8 forks source link

everytime i run the plugin model i get this error #5

Closed lopatri closed 4 years ago

lopatri commented 4 years ago

Error: at EPANETToolkit.EpanetToolkit.?????????????????????????????????????????.?????????????????????????????????????????(String ) at EPANETToolkit.EpanetToolkit.Iniciar(String tempDllPath) at GISRed.Model.Scenario.Compute(Logger logger, String dllDirectory) at GISRed.QGisPlugins.QGisPlugins.Compute(String dirPath, String networkName)

teste.zip

neslerel commented 4 years ago

Hi @lopatri, Can you tell me your QGis version and QGISRed Plugin version to analyse your issue? Thanks!

lopatri commented 4 years ago

Hi Thank you for reply and congratulations. It seems to me a great Plugin

QGisRed version 0.7 QGIS Madeira 3.4

P.S - the file i tested ran well on EPANET

best regards

neslerel commented 4 years ago

Hi,

I tested in some diferent computers with x86 and x64 architecture with your QGISRed version and QGis 3 and I didn't issues. Maybe the problem is in some character of the project path or maybe in the regional configuration. Could you tell me which is the project directory, the network name and the regional configuration of the computer (i.e., GB, EN, ES, etc.).

It would be nice to fix this bug for the next version that will be released at the end of the month with a lot of new features.

Thanks!

lopatri commented 4 years ago

Hi Now i've tried from home. I was in my job and maybe the error was due firewall/folder restritions On Qgis 2 las palmas works very nicely On Qgis 3.4 Madeira works too, after a fresh install. It was doing similar errors

Tomorrow i'll do a fresh install in my job and se if the issues are solved

thanks

neslerel commented 4 years ago

Hi @lopatri,

I'm happy that it works at your home. I noticed that you tried to install a QGISRed-master version downloaded from this repository (?). The code of this repository is not always stable, only the releases. I recommend you only install oficial versions of the plugin directly from QGis repository (from Plugin Manager in QGis).

In QGis 2 only QGISRed version 0.6 (and 0.6.1) is available. The new versions (0.7 and nexts) are only available for QGis 3. The next version (0.8) will incorporate new features (edit properties of the elements, move nodes, insert valves or pumps, etc.) and a new organization of the icons of the plugin for a best undertand.

If after a new installation in your job, it doesn't work, please write here to try to fix the error.

Best regards,

lopatri commented 4 years ago

HI

After a fresh install i still get the same error

Gisred is istalled on C:\Program Files\GISRed

here in my work, when i run epanet, i have to run the executable directly from the folder where the program is installed otherwise when i run a simulation i get an error "Fileacessdenied" Maybe is a computer configuration/restriction

network name - network project directory - C:\Users\1179\Desktop\QGisred regional configuration - PT

Thanks

lopatri commented 4 years ago

Hi @neslerel

I just executed Qgis as administrator.

Now works very well

Thank you

neslerel commented 4 years ago

Hi @lopatri,

I was writting you when you answered again. Ok, if this is the problem, don't worry (I hope) because in the next version (0.8) will not be necessary administrative permission to install QGISRed dependencies and I suppose that neither to use them.

Thanks for report the issue! It is always good to improve the plugin.