[QGIS-Developer] Python error when browsing virtual layers in DB Manager

Nyall Dawson nyall.dawson at gmail.com
Fri Nov 9 18:31:39 PST 2018


On Fri, 9 Nov 2018 at 17:43, SIGéal <sigeal at sigeal.com> wrote:
>
> Hi,
>
> There is a bug in QGIS 3.4 which prevents from browsing virtual layers
> in DB Manager.
>
> Changing line 196 in \QGIS
> 3.4\apps\qgis\python\plugins\db_manager\db_plugins\vlayers\connectors.py
> from :
>
> for _, l in QgsProject.instance().mapLayers():
>
> to (what it was in QGIS 3.2) :
>
> for _, l in list(QgsProject.instance().mapLayers().items()):

Thanks, fixed in 149726cfa5955f707441ec1c936094fccd0a33ec.

Nyall

>
> seems to solve the problem.
>
> Tested on W7 and W10.
>
> --
> Christophe Damour
>
>
>
> ---
> L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
> https://www.avast.com/antivirus
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


More information about the QGIS-Developer mailing list