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

Error in annotate_nominatum.py #41

Open
simonw opened this issue Sep 27, 2024 · 1 comment
Open

Error in annotate_nominatum.py #41

simonw opened this issue Sep 27, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@simonw
Copy link
Owner

simonw commented Sep 27, 2024

json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "annotate_nominatum.py", line 27, in <module>
    annotate(db)
  File "annotate_nominatum.py", line 14, in annotate
    data = requests.get(API_URL.format(row["latitude"], row["longitude"])).json()
  File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/site-packages/requests/models.py", line 978, in json
    raise RequestsJSONDecodeError(e.msg, e.doc, e.pos)
requests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
@simonw simonw added the bug Something isn't working label Sep 27, 2024
@simonw
Copy link
Owner Author

simonw commented Sep 27, 2024

I'm going to disable it for the moment.

simonw added a commit that referenced this issue Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant