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

GEOCODER needs API-KEY? #242

Open
jmellian opened this issue Aug 20, 2017 · 0 comments
Open

GEOCODER needs API-KEY? #242

jmellian opened this issue Aug 20, 2017 · 0 comments

Comments

@jmellian
Copy link

The unit-test voor geocode fails. Nothing changed here. See stack trace below.
Probable because the API-KEY has expired? Anyone has on idea?

=============================
Traceback (most recent call last):
File "/home/travis/build/developmentseed/landsat-util/tests/test_utils.py", line 109, in test_geocode
loc = utils.geocode('1600 Pennsylvania Ave NW, Washington, DC 20500')
File "/home/travis/build/developmentseed/landsat-util/landsat/utils.py", line 328, in geocode
geocoded = geocoder.google(address)
File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/geocoder/api.py", line 195, in google
return get(location, provider='google', **kwargs)
File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/geocoder/api.py", line 161, in get
return options[provider][method](location, **kwargs)
File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/geocoder/base.py", line 708, in init
provider_key = self._get_api_key(kwargs.pop('key', None))
File "/home/travis/virtualenv/python3.5.3/lib/python3.5/site-packages/geocoder/base.py", line 687, in _get_api_key
raise ValueError('Provide API Key')
ValueError: Provide API Key

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

1 participant