Menu

#31 Traceback (most recent call last): Fehler bei der Ausführung von Python-Code:

GHydraulics 2.1.8
open
nobody
None
1
2014-11-08
2014-11-08
Anonymous
No

Fehler bei der Ausführung von Python-Code:

Traceback (most recent call last):
File "/Users/tfcssarl/.qgis2/python/plugins/ghydraulic/GHydraulicsResultDialog.py", line 38, in accepted
self.setStep(self.ui.comboStep.currentIndex())
File "/Users/tfcssarl/.qgis2/python/plugins/ghydraulic/GHydraulicsModelRunner.py", line 138, in setStep
self.setStepResults(step, EpanetModel.LINK_SECTIONS, GHydraulicsModel.LINK_RESULTS, self.e.getLinkResult)
File "/Users/tfcssarl/.qgis2/python/plugins/ghydraulic/GHydraulicsModelRunner.py", line 127, in setStepResults
results = getter(step, feature.attributes()[ididx])
File "/Users/tfcssarl/.qgis2/python/plugins/ghydraulic/EpanetResultReader.py", line 59, in getLinkResult
offset = self.links[id] + step * (4 * self.nodecount + 8 * self.linkcount)
KeyError: u'227'

Python-Version:
2.7.6 (default, Sep 9 2014, 15:04:36)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.39)]

QGIS-Version:
2.4.0-Chugiak Chugiak,

Python-Pfad: ['/Users/tfcssarl/.qgis2/python/plugins/processing', '/Applications/QGIS.app/Contents/MacOS/../Resources/python', u'/Users/tfcssarl/.qgis2/python', u'/Users/tfcssarl/.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.11/Python/2.7/site-packages', '/Library/Frameworks/cairo.framework/Versions/1/Python/2.7', '/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', '/Library/Python/2.7/site-packages/PIL', '/Users/tfcssarl/.qgis2/python/plugins/DigitizingTools/tools', '/Users/tfcssarl/.qgis2/python/plugins/MetaSearch/ext-libs', '/Applications/QGIS.app/Contents/Resources/python/plugins/fTools/tools', '/Users/tfcssarl/Desktop/QGis/4-Water-supply/Network/Network/Netz2025/Base2025']

Discussion

Anonymous
Anonymous

Add attachments
Cancel