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

[DB Manager] Unable to expand the Virtual Layers --> Project Layers group in the tree #28202

Closed
qgib opened this issue Nov 6, 2018 · 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 Regression Something which used to work, but doesn't anymore

Comments

@qgib
Copy link
Contributor

qgib commented Nov 6, 2018

Author Name: Harrissou Santanna (@DelazJ)
Original Redmine Issue: 20382
Affected QGIS version: 3.5(master)
Redmine category:db_manager


Whenever I expand the Project layers group in the DB Manager providers panel, I get a Python error (see attached file)


@qgib
Copy link
Contributor Author

qgib commented Nov 7, 2018

Author Name: Giovanni Manghi (@gioman)


Confirmed also here (kubuntu 18.04):

Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/db_manager/db_model.py", line 444, in rowCount
self._refreshIndex(parent, True)
File "/usr/share/qgis/python/plugins/db_manager/db_model.py", line 493, in _refreshIndex
if item.populate():
File "/usr/share/qgis/python/plugins/db_manager/db_model.py", line 186, in populate
tables = database.tables()
File "/usr/share/qgis/python/plugins/db_manager/db_plugins/plugin.py", line 518, in tables
tables = self.connector.getTables(schema.name if schema else None, sys_tables)
File "/usr/share/qgis/python/plugins/db_manager/db_plugins/vlayers/connector.py", line 178, in getTables
return self.getVectorTables()
File "/usr/share/qgis/python/plugins/db_manager/db_plugins/vlayers/connector.py", line 196, in getVectorTables
for _, l in QgsProject.instance().mapLayers():
ValueError: too many values to unpack (expected 2)


  • priority_id was changed from Normal to High

@qgib
Copy link
Contributor Author

qgib commented Nov 10, 2018

Author Name: Harrissou Santanna (@DelazJ)


Should be fixed in 149726c


  • resolution was changed from to fixed/implemented
  • status_id was changed from Open to Closed

@qgib qgib closed this as completed Nov 10, 2018
@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 Regression Something which used to work, but doesn't anymore labels 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 Regression Something which used to work, but doesn't anymore
Projects
None yet
Development

No branches or pull requests

1 participant