[Qgis-developer] Adding a WMS layer in QGIS 2.0 (python)

Luca Manganelli luca76 at gmail.com
Tue Oct 1 07:14:25 PDT 2013


On Tue, Oct 1, 2013 at 4:10 PM, Luca Manganelli <luca76 at gmail.com> wrote:

> Hi,   [...]
>

using the QgisInterface.addRasterLayer popus a dialog box with this error:

GDAL provider: Cannot open GDAL dataset http://testsrv/mapaccel?map=test.map:
Failed to create temporary file:/tmp/test.map

(d:\src\qgis-2.0.1\src\providers\gdal\qgsgdalprovider.cpp : 147 :
QgsGdalProvider::QgsGdalProvider)
Raster layer: Sorgente dati non valida (sorgente dati: gdal, URI:
http://testsrv/mapaccel?map=test.map
(d:\src\qgis-2.0.1\src\core\raster\qgsrasterlayer.cpp : 809 :
QgsRasterLayer::setDataProvider)


I'm running QGIS 2.0 on windows, see the first error "Failed to create
temporary file:/tmp/test.map"

sounds like a bug in the qgis sources...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20131001/bfb8b210/attachment.html>


More information about the Qgis-developer mailing list