On Tue, Mar 26, 2019 at 5:45 PM David Marteau <dmart...@3liz.com> wrote:
> > The situation seems to be worst: it seems that no layers can be read from > python whatever the format. > > > Le 26 mars 2019 à 17:38, David Marteau <dmart...@3liz.com> a écrit : > > Hi devs, > > We use to build docker images of the latest qgis releases and we have a > regression affecting version 3.6.0 official release on buster > > Qgis: 3.6.0 on Debian > > If we read a layer with python: > > layer = QgsVectorLayer('./mydata.shp') > > > Then the layer is invalid (no warning, no errors) > > Doing the same thing on stretch + Qgis 3.4.5 (ltr) with same data work > flawlessly and lead to a valid layer. > > This was not affecting previous build 24 h ago (release end > nightly-release) > > The tests were based with shapefiles from testdata in qgis sources. > > We are not sure it that come from Qgis itself or from a change on the > distribution. > > David, > > > Hi David, anything in the logs? I would check QGIS_PREFIX_PATH env var, and make sure the provider libraries are found and loaded. -- Alessandro Pasotti w3: www.itopen.it
_______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer