Page 1 of 1

Error in step 4:design network

Posted: Wed Jan 30, 2019 10:38 pm
by mosman
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'

Re: Error in step 4:design network

Posted: Thu Jan 31, 2019 11:56 am
by gni_support
Hi,

The error says that one of layers has not attribute named 'demand',
so there was selected wrong layer in parameters.

You shoud check if parameters are set correctly.
If you need more help could you provide more information about planner version and selected parameters?
(screenshot with Layers Panel and algorithm parameters would be good)