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

virtual layer query in DBmanager throws error #20941

Closed
qgib opened this issue May 28, 2015 · 2 comments
Closed

virtual layer query in DBmanager throws error #20941

qgib opened this issue May 28, 2015 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin High Priority

Comments

@qgib
Copy link
Contributor

qgib commented May 28, 2015

Author Name: Regis Haubourg (@haubourg)
Original Redmine Issue: 12847
Affected QGIS version: 2.8.2
Redmine category:db_manager
Assignee: Hugo Mercier


a simple query on a postgis layer : "select * from cours_eau" throws this error message:

Traceback (most recent call last):
  File "\\\\NAS01\\appdata2008\\haubourg\\AppData\\Roaming\\.qgismaster/python/plugins\\db_manager\\dlg_sql_window.py", line 172, in executeSql
    model = self.db.sqlResultModel(sql, self)
  File "\\\\NAS01\\appdata2008\\haubourg\\AppData\\Roaming\\.qgismaster/python/plugins\\db_manager\\db_plugins\\vlayers\\plugin.py", line 105, in sqlResultModel
    return LSqlResultModel(self, sql, parent)
  File "\\\\NAS01\\appdata2008\\haubourg\\AppData\\Roaming\\.qgismaster/python/plugins\\db_manager\\db_plugins\\vlayers\\data_model.py", line 76, in __init__
    if not p.isValid():
AttributeError: 'NoneType' object has no attribute 'isValid'

@qgib
Copy link
Contributor Author

qgib commented Jun 9, 2015

Author Name: Jürgen Fischer (@jef-n)


third party plugin. Maybe file a ticket "here":https://github.com/mhugo/qgis_vlayers/issues


  • resolution was changed from to invalid
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Jun 9, 2015

Author Name: Regis Haubourg (@haubourg)


Sorry for that, I thought it was in core.
Cheers

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority DB Manager Relating to the DB Manager core plugin labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! DB Manager Relating to the DB Manager core plugin High Priority
Projects
None yet
Development

No branches or pull requests

1 participant