Skip to content

"Directions from 1 Point-Layer" Not working with Fixed start or/and end points for TSP. #334

Open
@JohanMLosd

Description

@JohanMLosd

Stumbled across this issue at the WS in Norrköping. Data attached.

Stops.zip

Logg:

Algoritm 'Directions from 1 Point-Layer' avslutad
QGIS-version: 3.34.10-Prizren
QGIS kodrevision: 113de9e1
Qt-version: 5.15.13
Python-version: 3.12.5
GDAL-version: 3.9.2
GEOS-version: 3.12.2-CAPI-1.18.2
PROJ-version: Rel. 9.4.0, March 1st, 2024
PDAL-version: 2.6.3 (git-version: b5523a)
Algoritm startad vid: 2025-06-03T12:00:55
Algoritm 'Directions from 1 Point-Layer' starting…
Indataparametrar:
{ 'CSV_COLUMN' : '', 'CSV_FACTOR' : None, 'EXPORT_ORDER' : False, 'EXTRA_INFO' : [], 'INPUT_AVOID_BORDERS' : None, 'INPUT_AVOID_COUNTRIES' : '', 'INPUT_AVOID_FEATURES' : [], 'INPUT_AVOID_POLYGONS' : None, 'INPUT_LAYER_FIELD' : 'id', 'INPUT_OPTIMIZE' : 2, 'INPUT_POINT_LAYER' : 'C:\Users\okjohmyh\Downloads\Stops.shp', 'INPUT_PREFERENCE' : 0, 'INPUT_PROFILE' : 0, 'INPUT_PROVIDER' : 0, 'INPUT_SORTBY' : 'id', 'OUTPUT' : 'TEMPORARY_OUTPUT' }

Traceback (most recent call last):
File "C:\Users/okjohmyh/AppData/Roaming/QGIS/QGIS3\profiles\Johan ML/python/plugins\ORStools\common\client.py", line 169, in request
response, content = self.nam.request(
^^^^^^^^^^^^^^^^^
File "C:\Users/okjohmyh/AppData/Roaming/QGIS/QGIS3\profiles\Johan ML/python/plugins\ORStools\common\networkaccessmanager.py", line 278, in request
raise self.http_call_result.exception
ORStools.common.networkaccessmanager.RequestsException: Network error: Värden api.openrouteservice.orgoptimization hittades inte

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users/okjohmyh/AppData/Roaming/QGIS/QGIS3\profiles\Johan ML/python/plugins\ORStools\proc\directions_points_layer_proc.py", line 234, in processAlgorithm
response = ors_client.request(f"{endpoint}/", {}, post_json=params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users/okjohmyh/AppData/Roaming/QGIS/QGIS3\profiles\Johan ML/python/plugins\ORStools\common\client.py", line 177, in request
self._check_status()
File "C:\Users/okjohmyh/AppData/Roaming/QGIS/QGIS3\profiles\Johan ML/python/plugins\ORStools\common\client.py", line 232, in _check_status
raise Exception(
Exception: Network error: Värden api.openrouteservice.orgoptimization hittades inte. Are your provider settings correct and the provider ready?

Execution failed after 0.01 sekunder

Läser in lagerresultat
Algoritm 'Directions from 1 Point-Layer' avslutad

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions