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

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

Open
DortheOlsen opened this issue Mar 31, 2016 · 1 comment
Open

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

DortheOlsen opened this issue Mar 31, 2016 · 1 comment

Comments

@DortheOlsen
Copy link

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
Copy link

alex-chaliy commented Jul 15, 2018

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

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