Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discovery when running from Locator #54

Open
saberraz opened this issue Mar 14, 2019 · 0 comments
Open

Discovery when running from Locator #54

saberraz opened this issue Mar 14, 2019 · 0 comments

Comments

@saberraz
Copy link
Contributor

Discovery configured with MSSQL db, comes up with this error when trying to use in Locator:

   An error has occurred while executing Python code:
             
             
             AttributeError: 'QSqlDatabase' object has no attribute 'execute'
             
             
             Traceback (most recent call last):
              File "C:/Users/Saber/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\Discovery\locator_filter.py", line 53, in fetchResults
              cur.execute(query_text, query_dict)
             AttributeError: 'QSqlDatabase' object has no attribute 'execute'
             
             
             
             
             Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
             
             
             QGIS version: 3.4.5-Madeira Madeira, 89ee6f6e23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant