[QGIS-Developer] Qgis 3.6.0 fail to read shapefile with python on buster

Alessandro Pasotti apasotti at gmail.com
Tue Mar 26 09:47:37 PDT 2019


On Tue, Mar 26, 2019 at 5:45 PM David Marteau <dmarteau at 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 <dmarteau at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20190326/b9661617/attachment.html>


More information about the QGIS-Developer mailing list