From the blog:
System : Mac Air, OsX 10.7.5
QGIS : 2.2.0-Valmiera
Message :
An error has occured while executing Python code:
Traceback (most recent call last):
File "/Users/ML/.qgis2/python/plugins/ghydraulic/ghydraulicsplugin.py", line 383, in runEpanet
output, report, steps = runner.run(t[1])
File "/Users/ML/.qgis2/python/plugins/ghydraulic/GHydraulicsModelRunner.py", line 50, in run
self.log(str(subprocess.call([self.epanet, filename, report[1], binary[1]], cwd=tempfile.gettempdir(), stdin=input[0], stdout=out[0], stderr=err[0])))
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 486, in call
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in init
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202, in _execute_child
OSError: [Errno 13] Permission denied
Python version:
2.7.1 (r271:86832, Jun 25 2011, 05:09:01)
[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]
QGIS version:
2.2.0-Valmiera Valmiera,
Python path: ['/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins/processing', '/Applications/QGIS.app/Contents/MacOS/../Resources/python', u'/Users/ML/.qgis2/python', u'/Users/ML/.qgis2/python/plugins', '/Applications/QGIS.app/Contents/MacOS/../Resources/python/plugins', '/Library/Frameworks/SQLite3.framework/Versions/B/Python/2.7', '/Library/Frameworks/GEOS.framework/Versions/3/Python/2.7', '/Library/Python/2.7/site-packages/numpy-override', '/Library/Python/2.7/site-packages/matplotlib-override', '/Library/Frameworks/GDAL.framework/Versions/1.10/Python/2.7/site-packages', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python27.zip', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-darwin', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plat-mac/lib-scriptpackages', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-old', '/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload', '/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/PyObjC', '/Library/Python/2.7/site-packages', '/Users/ML/.qgis2/python/plugins/DigitizingTools/tools', '/Users/ML/.qgis2/python/plugins/mmqgis/forms', '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools', '/Users/ML/.qgis2/python/plugins/ghydraulic/samples/d-w/lps']
and
I have this error under Kubuntu 12.04 64bit, when I want to make EPANET Simulation.
Hiba a Python kód végrehajtása közben:
Traceback (most recent call last):
File "/home/picard/.qgis2/python/plugins/ghydraulic/ghydraulicsplugin.py", line 383, in runEpanet
output, report, steps = runner.run(t[1])
File "/home/picard/.qgis2/python/plugins/ghydraulic/GHydraulicsModelRunner.py", line 46, in run
self.log(str(subprocess.call([self.epanet, filename, report[1], binary[1]], cwd=tempfile.gettempdir(), stdout=out[0], stderr=err[0])))
File "/usr/lib/python2.7/subprocess.py", line 493, in call
return Popen(popenargs, *kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 679, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1249, in _execute_child
raise child_exception
OSError: [Errno 13] Engedély megtagadva
Python verzió:
2.7.3 (default, Feb 27 2014, 20:09:21)
[GCC 4.6.3]
QGIS verzió
2.2.0-Valmiera Valmiera, exported
Python elérési út: ['/usr/share/qgis/python/plugins/processing', '/usr/share/qgis/python', u'/home/picard/.qgis2/python', u'/home/picard/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', '/usr/share/qgis/python/plugins/fTools/tools', '/home/picard/.qgis2/python/plugins/ghydraulic/samples/d-w/lps']
Anonymous
Fixed in version 2.1.8