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

2019-03-29 Thread David Marteau
Hi, You need also to install the qgis-server package because libraires for the services are provided by this package: /usr/lib/qgis/server /usr/lib/qgis/server/libdummy.so /usr/lib/qgis/server/libwcs.so /usr/lib/qgis/server/libwfs.so /usr/lib/qgis/server/libwms.so

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

2019-03-29 Thread David Marteau
Hi Jürgen, Thanks. Installing only python3-qgis leads to a better situation: ii libqgis-3d3.6.1 1:3.6.1+15busteramd64 QGIS - shared 3d library ii libqgis-analysis3.6.1 1:3.6.1+15busteramd64 QGIS - shared

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

2019-03-28 Thread Jürgen E . Fischer
Hi David, On Thu, 28. Mar 2019 at 19:25:15 +0100, David Marteau wrote: > I have found the problem, qgis packaging on buster is totally broken: it > mixes 3.6.0 and 3.6.1 dependencies > If you try to install python-qgis you get the following packages installed: You should install python3-qgis.

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

2019-03-28 Thread David Marteau
I Forgot to mention that they are the packages from the https://qgis.org/debian/ repository and not the the packages from the debian distro. > Le 28 mars 2019 à 19:25, David Marteau a écrit : > > Hi Alessandro > > I have found the problem, qgis packaging on buster

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

2019-03-28 Thread David Marteau
Hi Alessandro I have found the problem, qgis packaging on buster is totally broken: it mixes 3.6.0 and 3.6.1 dependencies If you try to install python-qgis you get the following packages installed: ii libqgis-3d3.6.0 1:3.6.0+15busteramd64 QGIS -

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

2019-03-26 Thread David Marteau
Hi Alessandro No there is nothing at all in the logs. I have used the same reduced snippet on qgis 3.4.5 (ltr) on Stretch and qgis 3.6.0 (release) on buster, using the same datasource: ``` import os from qgis.core import QgsApplication, QgsVectorLayer # prevent display not found error

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

2019-03-26 Thread Alessandro Pasotti
On Tue, Mar 26, 2019 at 5:45 PM David Marteau 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 a écrit : > > Hi devs, > > We use to build docker images of the latest qgis releases and

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

2019-03-26 Thread David Marteau
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 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

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

2019-03-26 Thread David Marteau
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)