Error in step 4:design network
Posted: Wed Jan 30, 2019 10:38 pm
Hi.
Execute step 4 and print this error:
Algoritmo [step 4.0] Design network comenzando...
Creating graph...
Data preparation (initialization)...
Creating pricing points...
'demand' See log for more details
Logs
2019-01-30T19:22:27 2 Uncaught error while executing algorithm
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/core/GeoAlgorithm.py", line 203, in execute
self.processAlgorithm(progress)
File "/home/providers/.qgis2/python/plugins/GniPlannerFTTH/design_network.py", line 187, in processAlgorithm
self.connectSplices(parentId, nodeId)
File "/home/providers/.qgis2/python/plugins/GniPlannerFTTH/design_network.py", line 310, in connectSplices
self.createPricingPoint(fromId)
File "/home/providers/.qgis2/python/plugins/GniPlannerFTTH/design_network.py", line 336, in createPricingPoint
splice.setAttribute(cf.P_DEMAND, feature.attribute(cf.NODE_DEMAND_FIELD_NAME))
KeyError: 'demand'
Execute step 4 and print this error:
Algoritmo [step 4.0] Design network comenzando...
Creating graph...
Data preparation (initialization)...
Creating pricing points...
'demand' See log for more details
Logs
2019-01-30T19:22:27 2 Uncaught error while executing algorithm
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/core/GeoAlgorithm.py", line 203, in execute
self.processAlgorithm(progress)
File "/home/providers/.qgis2/python/plugins/GniPlannerFTTH/design_network.py", line 187, in processAlgorithm
self.connectSplices(parentId, nodeId)
File "/home/providers/.qgis2/python/plugins/GniPlannerFTTH/design_network.py", line 310, in connectSplices
self.createPricingPoint(fromId)
File "/home/providers/.qgis2/python/plugins/GniPlannerFTTH/design_network.py", line 336, in createPricingPoint
splice.setAttribute(cf.P_DEMAND, feature.attribute(cf.NODE_DEMAND_FIELD_NAME))
KeyError: 'demand'