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 downloading NUTS boundaries and badly formatted excpetion #18

Open
JamieTaylor-TUOS opened this issue Jun 9, 2023 · 0 comments
Open
Assignees
Labels
bug Something isn't working

Comments

@JamieTaylor-TUOS
Copy link
Contributor

root@db356c6c9e3c:/# geocode --setup all
ERROR:root:Encountered an error while extracting %s NUTS%s region data from Eurostat API.
NoneType: None
Traceback (most recent call last):
File "/usr/local/bin/geocode", line 8, in
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.11/site-packages/geocode/geocode.py", line 431, in main
geocoder.force_setup(ngeso_setup=ngeso_setup, cpo_setup=cpo_setup, ons_setup=ons_setup,
File "/usr/local/lib/python3.11/site-packages/geocode/geocode.py", line 84, in force_setup
self.eurostat.force_setup()
File "/usr/local/lib/python3.11/site-packages/geocode/eurostat.py", line 45, in force_setup
self._load_nuts_boundaries(l)
File "/usr/local/lib/python3.11/site-packages/geocode/eurostat.py", line 100, in _load_nuts_boundaries
nuts_gdf = self.load_nuts_boundaries(level, year)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/geocode/eurostat.py", line 86, in load_nuts_boundaries
raise utils.GenericException("Encountered an error while extracting %s NUTS%s region "
geocode.utilities.GenericException: Encountered an error while extracting %s NUTS%s region data from Eurostat API.

@JamieTaylor-TUOS JamieTaylor-TUOS added the bug Something isn't working label Jun 9, 2023
@JamieTaylor-TUOS JamieTaylor-TUOS self-assigned this Jun 9, 2023
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