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 using Google as a address service #10

Closed bvthomsen closed 11 years ago

bvthomsen commented 11 years ago

If you:

1) In "Geocode -> Settings" choose Google as the address search engine and 2) Search for a non existing adress (i.e "mqwerasd")

the plugin stops with a python error in line 210 in geocoding.py (I didn't get a copy of the actual error, something about "non existing method .arg for object unicode "):

The error can be corrected by changing line 210 to:

" QMessageBox.information(self.iface.mainWindow(), QCoreApplication.translate('GeoCoding', "GeoCoding plugin error"), QCoreApplication.translate('GeoCoding', "There was an error with the geocoding service:
%s" % e))"

Regards Bo Victor Thomsen