Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem ORS tool #245

Open
PeterClaro opened this issue May 6, 2024 · 1 comment
Open

Problem ORS tool #245

PeterClaro opened this issue May 6, 2024 · 1 comment

Comments

@PeterClaro
Copy link

When I use the Isochrones from layer tool. I get an error, which should not be there following the instructions on the website. Does anyone know what could be done?

Here's what I did


Here's what I got

Traceback (most recent call last):
File "/Users/petereisma/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/ORStools/proc/isochrones_layer_proc.py", line 189, in processAlgorithm
response = ors_client.request("/v2/isochrones/" + profile, {}, post_json=params)
File "/Users/petereisma/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/ORStools/common/client.py", line 195, in request
return json.loads(content.decode("utf-8"))
File "/Applications/QGIS 2.app/Contents/MacOS/../Resources/python/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/Applications/QGIS 2.app/Contents/MacOS/../Resources/python/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/Applications/QGIS 2.app/Contents/MacOS/../Resources/python/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)


Here's what I was expecting


Here's what I think could be improved

@koebi
Copy link
Collaborator

koebi commented May 7, 2024

Hey,
could you describe what you did, ideally providing a minimum viable input layer and the corresponding parameters that exhibit the bug?

It's rather hard to debug these issues without any information on what the input was.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants