Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

QGIS 2.18.25 - unable to convert a QVariant of type 0 to a QMetaType of type 2 #69

Open
andrerjesus opened this issue Nov 6, 2018 · 2 comments

Comments

@andrerjesus
Copy link

Cannot install QF 3.3.3 on QGIS 2.18.25

Couldn't load plugin quickfinder due to an error when calling its classFactory() method

TypeError: unable to convert a QVariant of type 0 to a QMetaType of type 2
Traceback (most recent call last):
File "C:/PROGRA1/QGIS21.18/apps/qgis-ltr/./python\qgis\utils.py", line 333, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/Users/random_user/.qgis2/python/plugins\quickfinder_init_.py", line 29, in classFactory
return QuickFinder(iface)
File "C:/Users/random_user/.qgis2/python/plugins\quickfinder\quickfinder_plugin.py", line 60, in init
self._init_finders()
File "C:/Users/random_user/.qgis2/python/plugins\quickfinder\quickfinder_plugin.py", line 131, in _init_finders
self.finders['postgis'] = PostgisFinder(self)
File "C:/Users/random_user/.qgis2/python/plugins\quickfinder\core\postgis_finder.py", line 56, in init
self._searches = self.readSearches()
File "C:/Users/random_user/.qgis2/python/plugins\quickfinder\core\postgis_finder.py", line 151, in readSearches
priority = settings.value('priority', type=int)
TypeError: unable to convert a QVariant of type 0 to a QMetaType of type 2

Python version: 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)]
QGIS version: 2.18.25 Las Palmas, cbd7adecf2

Python Path:
C:\Users\random_user.qgis2\python\plugins\geoserverexplorer\ext-libs\httplib2-0.8-py2.7.egg
C:\Users\random_user.qgis2\python\plugins\geoserverexplorer\ext-libs\python_dateutil-2.2-py2.7.egg
C:\Users\random_user.qgis2\python\plugins\geoserverexplorer\ext-libs\six-1.10.0-py2.7.egg
C:\Users\random_user.qgis2\python\plugins\geoserverexplorer\ext-libs\requests-2.5.0-py2.7.egg
C:\Users\random_user.qgis2\python\plugins\geoserverexplorer\ext-libs\gsconfig-1.0.6-py2.7.egg
C:\Users\random_user.qgis2\python\plugins\geoserverexplorer\ext-libs\gisdata-0.5.4-py2.7.egg
C:\Users\random_user.qgis2\python\plugins\geoserverexplorer\ext-libs\gsimporter-1.0.0-py2.7.egg
C:\Users\random_user.qgis2\python\plugins\geoserverexplorer\ext-libs\gsconfig-1.0.6-py2.7.egg
C:\Users\random_user.qgis2\python\plugins\geoserverexplorer\ext-libs\gsimporter-1.0.0-py2.7.egg
C:/PROGRA1/QGIS21.18/apps/qgis-ltr/./python/plugins\processing
C:/PROGRA1/QGIS21.18/apps/qgis-ltr/./python
C:/Users/random_user/.qgis2/python
C:/Users/random_user/.qgis2/python/plugins
C:/PROGRA1/QGIS21.18/apps/qgis-ltr/./python/plugins
C:\PROGRA1\QGIS21.18\bin\python27.zip
C:\PROGRA1\QGIS21.18\apps\Python27\DLLs
C:\PROGRA1\QGIS21.18\apps\Python27\lib
C:\PROGRA1\QGIS21.18\apps\Python27\lib\plat-win
C:\PROGRA1\QGIS21.18\apps\Python27\lib\lib-tk
C:\PROGRA1\QGIS21.18\bin
C:\PROGRA1\QGIS21.18\apps\Python27
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\jinja2-2.7.2-py2.7.egg
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\markupsafe-0.23-py2.7-win-amd64.egg
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\win32
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\win32\lib
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\Pythonwin
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\Shapely-1.2.18-py2.7-win-amd64.egg
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\wx-2.8-msw-unicode
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\xlrd-0.9.2-py2.7.egg
C:\PROGRA1\QGIS21.18\apps\Python27\lib\site-packages\xlwt-0.7.5-py2.7.egg
C:/Users/random_user/.qgis2//python
C:\Users\random_user.qgis2\python\plugins\geoserverexplorer\ext-libs

@3nids
Copy link
Owner

3nids commented Nov 13, 2018

I have no current plan to work on QuickFinder since it is for QGIS 2.18 only and 2.18 is almost EOL.
Please contact me if you do want to get this fixed.

@andrerjesus
Copy link
Author

That's OK, thank you for the reply.
Is it a complex fix? If so I can just install the previous QGIS build

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants