3nids / quickfinder

Quick Finder is a QGIS 2.x plugin offering a single place to perform searches on project layers and online remote services
http://3nids.github.io/quickfinder/
Other
8 stars 14 forks source link

AttributeError: 'NoneType' object has no attribute 'cursor' #46

Open DortheOlsen opened 8 years ago

DortheOlsen commented 8 years ago

Hi

I get the following error, when refreshing a project search:


Traceback (most recent call last): File "C:/Users/efdbo/.qgis2/python/plugins\quickfinder\gui\refreshdialog.py", line 117, in refresh ok, message = self.projectFinder.recordSearch(search, False) File "C:/Users/efdbo/.qgis2/python/plugins\quickfinder\core\projectfinder.py", line 216, in recordSearch cur = self.conn.cursor()

AttributeError: 'NoneType' object has no attribute 'cursor'

Python-version: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)]

QGIS-version:

2.10.1-Pisa Pisa, d20c5b7

Any suggestions on what's wrong?

Best regards, Dorthe

alex-chaliy commented 6 years ago

Yeah, has the same error with Flask MySql and cannot find a solution. It would be great if somebody knows an answer.