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
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