elpaso / qgis-geocoding

QGIS Python geocoding and reverse geocoding plugin
http://www.itopen.it/2009/06/05/geocoding-qgis-plugins-released/
24 stars 17 forks source link

Error starting plugin #9

Closed pcav closed 11 years ago

pcav commented 11 years ago

Traceback (most recent call last): File "/home/paolo/.qgis2/python/plugins/GeoCoding/GeoCoding.py", line 195, in geocode geocoder = self.get_geocoder_instance() File "/home/paolo/.qgis2/python/plugins/GeoCoding/GeoCoding.py", line 251, in get_geocoder_instance return geocoder() File "/home/paolo/.qgis2/python/plugins/GeoCoding/geopy/geocoders/google.py", line 51, in init "deprecated and may not work after March 2013 or September 2013." ValueError: The geocoders.google.Google (V2) API now requires the api_key argument. Please acquire and use an API key (http://goo.gl/EdoHX) or upgrade to the V3 API (geocoders.googlev3.GoogleV3), which does not require a key. ---- Please note that the V2 API is deprecated and may not work after March 2013 or September 2013.

pcav commented 11 years ago

Obviously, using Nominatim gives no issue.

pcav commented 11 years ago

Also for nominatim:

Traceback (most recent call last): File "/home/paolo/.qgis2/python/plugins/GeoCoding/GeoCoding.py", line 195, in geocode geocoder = self.get_geocoder_instance() File "/home/paolo/.qgis2/python/plugins/GeoCoding/GeoCoding.py", line 250, in get_geocoder_instance geocoder = getattr(geocoders, geocoder_class) AttributeError: 'module' object has no attribute 'Nominatim'

elpaso commented 11 years ago

Knowing the GeoCoding plugin version might help.

Cannot reproduce.

elpaso commented 11 years ago

Reinstalled from official repo, no errors in QGIS 2.1 alpha. Plugin version is : 2.7