walter426 / QgisPlugin_GeoSearch

A QGIS Plugin Tool for searching locations by address or position(latitude, longtitude).
5 stars 2 forks source link

Python Error #1

Open KLGan opened 10 years ago

KLGan commented 10 years ago

Hi,

I like this plugin very much, but usually while using after awhile it give error and stop working. Here I attached the error message....

Thank you... :-)

An error has occured while executing Python code:

Traceback (most recent call last): File "C:\Users\XXXXXX/.qgis2/python/plugins\GeoSearch\geosearchdialog.py", line 132, in SearchByAddr_ButtonHandler result = self.SearchByAddr(unicode(self.ui.Addr_lineEdit.text()), self.ui.Geocoder_Addr_comboBox.currentText(), self.ui.ExactOneResult_checkBox.isChecked()) File "C:\Users\XXXXXX/.qgis2/python/plugins\GeoSearch\geosearchdialog.py", line 181, in SearchByAddr result = geocoder.geocode(Addr, exactly_one = exactly_one) File "C:\Users\XXXXXX.qgis2\python\plugins\GeoSearch\geopy\geocoders\googlev3.py", line 135, in geocode return self.geocode_url(url, exactly_one) File "C:\Users\XXXXXX.qgis2\python\plugins\GeoSearch\geopy\geocoders\googlev3.py", line 91, in geocode_url return self.parse_json(page, exactly_one) File "C:\Users\XXXXXX.qgis2\python\plugins\GeoSearch\geopy\geocoders\googlev3.py", line 175, in parse_json check_status(self.doc.get('status')) File "C:\Users\XXXXXX.qgis2\python\plugins\GeoSearch\geopy\geocoders\googlev3.py", line 200, in check_status 'The geocode was successful but returned no results. This may' GQueryError: The geocode was successful but returned no results. This may occur if the geocode was passed a non-existent address or a latlng in a remote location.

Python version: 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]

QGIS version: 2.0.1-Dufour Dufour, 34139bc

Python path: ['C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins\processing', 'C:\Users\XXXXXX.qgis2\python\plugins\GeoCoding', 'C:/PROGRA~1/QGISDU~1/apps/qgis/./python', 'C:\Users\XXXXXX/.qgis2/python', 'C:\Users\XXXXXX/.qgis2/python/plugins', 'C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins', 'C:\PROGRA~1\QGISDU~1\bin\python27.zip', 'C:\PROGRA~1\QGISDU~1\apps\Python27\DLLs', 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib', 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\plat-win', 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\lib-tk', 'C:\PROGRA~1\QGISDU~1\bin', 'C:\PROGRA~1\QGISDU~1\apps\Python27', 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages', 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages\PIL', 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages\win32', 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages\win32\lib', 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages\Pythonwin', 'C:\PROGRA~1\QGISDU~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode', 'C:\Users\XXXXXX.qgis2\python\plugins\DigitizingTools\tools', 'C:\Users\XXXXXX.qgis2\python\plugins\mmqgis/forms', '.', 'C:\Users\XXXXXX.qgis2\python\plugins\QuickMultiAttributeEdit/forms', 'C:\PROGRA~1\QGISDU~1\apps\qgis\python\plugins\fTools\tools', 'E:/00 Delimination/Wilayah/Bukit Bintang']

walter426 commented 10 years ago

could you pls describe the procedure that trigger this error?

KLGan commented 10 years ago

Hi,

It will work fine for say estimate about 10 search, and than without warning next search will show this warning.

Would be good out can be fixed, really like this plugin.

Thanks KLGan On Oct 19, 2013 6:28 PM, "walter426" notifications@github.com wrote:

could you pls describe the procedure that trigger this error?

— Reply to this email directly or view it on GitHubhttps://github.com/walter426/QgisPlugin_GeoSearch/issues/1#issuecomment-26647507 .

walter426 commented 10 years ago

i will try to fix it. but if this error comes from the google side. maybe i just can adapt to it....

KLGan commented 10 years ago

Thats great, thanks :-)

On 19 October 2013 19:59, walter426 notifications@github.com wrote:

i will try to fix it. but if this error comes from the google side. maybe i just can adapt to it....

— Reply to this email directly or view it on GitHubhttps://github.com/walter426/QgisPlugin_GeoSearch/issues/1#issuecomment-26648735 .

walter426 commented 10 years ago

sorry, sir. Even I have tried different input to search place over ten times, but i cannot repeat the error... Could you pls describe the detail of the error case more? (e.g what input)

walter426 commented 10 years ago

https://developers.google.com/maps/documentation/geocoding/

Accoding to above API description, the error may come from the request limitation from Google

KLGan commented 10 years ago

Hi,

Thank you for the reply.

On 11 December 2013 16:30, walter426 notifications@github.com wrote:

https://developers.google.com/maps/documentation/geocoding/

Accoding to above API description, the error may come from the request limitation from Google

— Reply to this email directly or view it on GitHubhttps://github.com/walter426/QgisPlugin_GeoSearch/issues/1#issuecomment-30302468 .