Hi,
Any ideas? I just attempted to use the ORS Tools in QGIS and received the following error:
Traceback (most recent call last):
File “/Users/xxx/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/ORStools/proc/matrix_proc.py”, line 275, in processAlgorithm
duration = response[‘durations’][s][d]
UnboundLocalError: local variable ‘response’ referenced before assignment
Execution failed after 1.81 seconds
Here is the log from the failed execution:
QGIS version: 3.12.2-București
QGIS code revision: 8a1fb33634
Qt version: 5.12.3
GDAL version: 2.4.1
GEOS version: 3.7.2-CAPI-1.11.2 b55d2125
PROJ version: Rel. 5.2.0, September 15th, 2018
Processing algorithm…
Algorithm ‘Matrix From Layers’ starting…
Input parameters:
{ ‘INPUT_END_FIELD’ : ‘Locality’, ‘INPUT_END_LAYER’ : ‘/Users/xxxr/Desktop/test/All ZM reports/all zm lakes.shp’, ‘INPUT_PROFILE’ : 0, ‘INPUT_PROVIDER’ : 0, ‘INPUT_START_FIELD’ : ‘Locality’, ‘INPUT_START_LAYER’ : ‘/Users/xxx/Desktop/test/All ZM reports/all zm lakes.shp’, ‘OUTPUT’ : ‘/Users/xxx/Desktop/test/distances/points.shp’ }
Traceback (most recent call last):
File “/Users/xxx/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/ORStools/proc/matrix_proc.py”, line 223, in processAlgorithm
features_points = [xformer.transform(feat.geometry().asPoint()) for feat in features]
File “/Users/xxx/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/ORStools/proc/matrix_proc.py”, line 223, in
features_points = [xformer.transform(feat.geometry().asPoint()) for feat in features]
ValueError: Null geometry cannot be converted to a point.
Execution failed after 0.07 seconds
Loading resulting layers
Algorithm ‘Matrix From Layers’ finished