[Qgis-developer] Processing Modeler regression Unable to open datasource of intermediate results

Bernd Vogelgesang bernd.vogelgesang at gmx.de
Wed Aug 26 07:47:26 PDT 2015


Am 26.08.2015, 09:08 Uhr, schrieb Anita Graser <anitagraser at gmx.at>:

> Hi,
>
> There seems to be a regression between Processing 2.9 and 2.10 where  
> 2.10 fails to run models because it cannot find the >intermediate  
> results it produced in a previous step. The model runs perfectly in 2.9.  
> Bellow you can see an example to reproduce: >just chain QGIS buffer and  
> OGR dissolve and it fails because it's looking for a file  
> :\Users\agraser\AppData\Local\Temp\processing>\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.sh  
> (without C: and .sh instead of .shp)
>
> Are you already aware of this or should I open a ticket.
>
> Best wishes,
> Anita

Hi,
I reported this already some weeks ago: https://hub.qgis.org/issues/13174
My suspicion was, that this is related to GDAL processes, cause all others  
seem to run fine.


>
>
>
> Algorithm dissolve starting...
>
> Prepare algorithm: QGISFIXEDDISTANCEBUFFER_1
>
> Running Fixed distance buffer [1/2]
>
> Parameters: INPUT  
> =C:/Users/agraser/Downloads/qgis_sample_data/shapefiles/popp.shp,  
> DISTANCE =10000, SEGMENTS =5, >DISSOLVE =True
>
> Converting outputs
>
> OK. Execution took 67.825 ms (1 outputs).
>
> Prepare algorithm: GDALOGRDISSOLVEPOLYGONS_1
>
> Running Dissolve polygons [2/2]
>
> Parameters: INPUT_LAYER  
> =C:\Users\agraser\AppData\Local\Temp\processing>\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.shp,  
> GEOMETRY =geometry, FIELD =TYPE, MULTI =False, FIELDS =False, COUNT  
> >=False, AREA =False, STATS =False, STATSATT =TYPE, OPTIONS =
>
> GDAL command:
>
> cmd.exe /C ogr2ogr.exe  
> C:\Users\agraser\AppData\Local\Temp\processing>\a44629a1c1f34bc4bf9d26ed974f2bb6\OUTPUTLAYERALGGDALOGRDISSOLVEPOLYGONS1.shp  
> :\Users\agraser\AppData\Local\Temp>\processing\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.sh  
> OUTPUT -dialect sqlite -sql "SELECT ST_Union(geometry),TYPE >FROM  
> 'OUTPUT' GROUP BY TYPE" -explodecollections
> GDAL command output:
>
> FAILURE:
> Unable to open datasource  
> `:\Users\agraser\AppData\Local\Temp\processing>\7f77fa47bcec4799818d1f5ea41cc8a9\OUTPUT.sh'  
> with the following drivers.
> -> ESRI Shapefile
> -> MapInfo File
> -> UK .NTF
> -> SDTS
> -> TIGER
> -> S57
> -> DGN
> -> VRT
> -> REC
> -> Memory
> -> BNA
> -> CSV
> -> NAS
> -> GML
> -> GPX
> -> KML
> -> GeoJSON
> -> Interlis 1
> -> Interlis 2
> -> GMT
> -> GPKG
> -> SQLite
> -> ODBC
> -> WAsP
> -> PGeo
> -> MSSQLSpatial
> -> OGDI
> -> PostgreSQL
> -> MySQL
> -> PCIDSK
> -> OpenFileGDB
> -> XPlane
> -> AVCBin
> -> AVCE00
> -> DXF
> -> Geoconcept
> -> GeoRSS
> -> GPSTrackMaker
> -> VFK
> -> PGDump
> -> OSM
> -> GPSBabel
> -> SUA
> -> OpenAir
> -> PDS
> -> WFS
> -> HTF
> -> AeronavFAA
> -> Geomedia
> -> EDIGEO
> -> GFT
> -> GME
> -> SVG
> -> CouchDB
> -> Idrisi
> -> ARCGEN
> -> SEGUKOOA
> -> SEGY
> -> XLS
> -> ODS
> -> XLSX
> -> ElasticSearch
> -> PDF
> -> Walk
> -> CartoDB
> -> SXF
> Converting outputs
>
> OK. Execution took 0.125 ms (1 outputs).
>
> Model processed ok. Executed 2 algorithms total
>
> Converting outputs
>
> Loading resulting layers



-- 
Bernd Vogelgesang
Siedlerstraße 2
91083 Baiersdorf/Igelsdorf
Tel: 09133-825374
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150826/4cbd68c9/attachment-0001.html>


More information about the Qgis-developer mailing list