Closed mgiana closed 9 years ago
Thanks for fixing that. Now I am having an issue at the next stage where I am actually performing search.
An error has occured while executing Python code:
Traceback (most recent call last): File "C:/Users/kulks1/.qgis2/python/plugins\quickfinder\core\osmfinder.py", line 61, in replyFinished data = json.loads(reply.readAll().data()) File "C:\PROGRA~1\QGISCH~1\apps\Python27\lib\jsoninit.py", line 338, in loads return _default_decoder.decode(s) File "C:\PROGRA~1\QGISCH~1\apps\Python27\lib\json\decoder.py", line 365, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\PROGRA~1\QGISCH~1\apps\Python27\lib\json\decoder.py", line 383, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded
Python version: 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]
QGIS version: 2.4.0-Chugiak Chugiak, 8fdd08a
Python path: ['C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\processing', 'C:/PROGRA~1/QGISCH~1/apps/qgis/./python', u'C:/Users/kulks1/.qgis2/python', u'C:/Users/kulks1/.qgis2/python/plugins', 'C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins', 'C:\PROGRA~1\QGISCH~1\bin\python27.zip', 'C:\PROGRA~1\QGISCH~1\apps\Python27\DLLs', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\plat-win', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\lib-tk', 'C:\PROGRA~1\QGISCH~1\bin', 'C:\PROGRA~1\QGISCH~1\apps\Python27', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\GDAL-1.11.0-py2.7-win32.egg', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\PIL', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win32.egg', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\python_dateutil-2.2-py2.7.egg', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\pytz-2014.2-py2.7.egg', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\win32', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\win32\lib', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\Pythonwin', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win32.egg', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\six-1.6.1-py2.7.egg', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode', 'C:\PROGRA~1\QGISCH~1\apps\qgis\python\plugins\fTools\tools', 'H:/QGIS/Projects/Generic']
There was a red message bar on top which read as following. Quick Finder. The proxy requires authentication in order to honour the request but did not accept any credentials offered (if any)
@arnaud-morvan can you have a look at this?
HiI have just upgraded my plugin and I am still getting the error this time the red bad does not appear but I get the error as following An error has occured while executing Python code:
Traceback (most recent call last): File "C:/Users/kulks1/.qgis2/python/plugins\quickfinder\gui\finderbox.py", line 99, in search self.resultModel.setLoading(True) File "C:/Users/kulks1/.qgis2/python/plugins\quickfinder\gui\resultmodel.py", line 94, in setLoading item.setIcon(icon) AttributeError: 'NoneType' object has no attribute 'setIcon'
Python version: 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]
QGIS version: 2.4.0-Chugiak Chugiak, 8fdd08a
Python path: ['C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins\processing', 'C:/PROGRA~1/QGISCH~1/apps/qgis/./python', u'C:/Users/kulks1/.qgis2/python', u'C:/Users/kulks1/.qgis2/python/plugins', 'C:/PROGRA~1/QGISCH~1/apps/qgis/./python/plugins', 'C:\PROGRA~1\QGISCH~1\bin\python27.zip', 'C:\PROGRA~1\QGISCH~1\apps\Python27\DLLs', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\plat-win', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\lib-tk', 'C:\PROGRA~1\QGISCH~1\bin', 'C:\PROGRA~1\QGISCH~1\apps\Python27', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\GDAL-1.11.0-py2.7-win32.egg', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\PIL', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win32.egg', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\python_dateutil-2.2-py2.7.egg', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\pytz-2014.2-py2.7.egg', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\win32', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\win32\lib', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\Pythonwin', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win32.egg', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\six-1.6.1-py2.7.egg', 'C:\PROGRA~1\QGISCH~1\apps\Python27\lib\site-packages\wx-2.8-msw-unicode', 'C:\PROGRA~1\QGISCH~1\apps\qgis\python\plugins\fTools\tools']
Hi, Thanks for reporting. It would really helpful if you could use a new issue for each new problem, and maybe explain how you reach the error (after which action). Can you create a new error for this one?
Do you still have the proxy problem?
The proxy issue should be resolved. Another person has mail me about the item.setIcon(icon) issue, I've tried with windows 32 and 64 bits installers, but I can't reproduce the error.
For the setIcon issue, I've done a workaround. But the original problem should be due to invalid historyLength value from settings, 0 instead of >= 1. The dialog do not permit to set this setting to 0.
can this be closed?
Je pense que oui, les trois issues semblent réglées
après reflexion, il doit tout de même rester un problème de compatibilité avec certaines versions sous windows, impossible de récupérer une référence sur les items de l'historique de recherche, que je n'ai pas réussi à reproduire. Si le problème persiste avec la 2.6 nous ouvrirons un nouveau ticket.
Hi Installed plugin Quick Finder 3.0.1 into QGIS 2.4 from the qis repository. After install go to Plugins -> Quick Finder -> Settings Select Project Search Click add button. Set layer and field. When I click the OK button the following error occurs
An error has occured while executing Python code:
Traceback (most recent call last): File "C:/Users/marco.giana.DMS/.qgis2/python/plugins\quickfinder\gui\projectsearchdialog.py", line 71, in process self.projectSearch = self.projectSearchModel.addSearch(searchName, layer, expression, priority) File "C:/Users/marco.giana.DMS/.qgis2/python/plugins\quickfinder\gui\projectsearchmodel.py", line 54, in addSearch self.searches[searchId] = projectSearch TypeError: list indices must be integers, not unicode
Python version: 2.7.4 (default, Apr 6 2013, 19:54:46) [MSC v.1500 32 bit (Intel)]
QGIS version: 2.4.0-Chugiak Chugiak, 8fdd08a
Python path: ['C:/OSGeo4W/apps/qgis/./python/plugins\processing', 'C:/OSGeo4W/apps/qgis/./python', u'C:/Users/marco.giana.DMS/.qgis2/python', u'C:/Users/marco.giana.DMS/.qgis2/python/plugins', 'C:/OSGeo4W/apps/qgis/./python/plugins', 'C:\OSGeo4W\apps\Python27\lib\site-packages\setuptools-3.4.1-py2.7.egg', 'C:\OSGeo4W\apps\Python27\lib\site-packages\pip-1.5.4-py2.7.egg', 'C:\OSGeo4W\apps\qgis\python', 'C:\OSGeo4W\apps\%QGISNAME%\python', 'C:\%QGIS%\python', 'C:\%PYTHONPATH%', 'C:\OSGeo4W\bin\python27.zip', 'C:\OSGeo4W\apps\Python27\DLLs', 'C:\OSGeo4W\apps\Python27\lib', 'C:\OSGeo4W\apps\Python27\lib\plat-win', 'C:\OSGeo4W\apps\Python27\lib\lib-tk', 'C:\OSGeo4W\bin', 'C:\OSGeo4W\apps\Python27', 'c:\osgeo4w\apps\python27\lib\site-packages\gdal-1.11.0-py2.7-win32.egg', 'c:\osgeo4w\apps\python27\lib\site-packages\jinja2-2.7.2-py2.7.egg', 'c:\osgeo4w\apps\python27\lib\site-packages\markupsafe-0.23-py2.7-win32.egg', 'c:\osgeo4w\apps\python27\lib\site-packages\python_dateutil-2.2-py2.7.egg', 'c:\osgeo4w\apps\python27\lib\site-packages\pytz-2014.2-py2.7.egg', 'c:\osgeo4w\apps\python27\lib\site-packages\six-1.6.1-py2.7.egg', 'C:\OSGeo4W\apps\Python27\lib\site-packages', 'C:\OSGeo4W\apps\Python27\lib\site-packages\PIL', 'C:\OSGeo4W\apps\Python27\lib\site-packages\win32', 'C:\OSGeo4W\apps\Python27\lib\site-packages\win32\lib', 'C:\OSGeo4W\apps\Python27\lib\site-packages\Pythonwin', 'C:\OSGeo4W\apps\Python27\lib\site-packages\wx-2.8-msw-unicode', 'C:\Users\marco.giana.DMS.qgis2\python\plugins\DigitizingTools\tools', 'C:\Users\marco.giana.DMS.qgis2\python\plugins\intramaps_qgis\ui', 'C:\OSGeo4W\apps\qgis\python\plugins\fTools\tools', 'D:/Data/South Perth/Demo']
Kind Regards
Marco