https://issues.qgis.org/https://issues.qgis.org/favicon.ico2015-08-02T22:16:54ZQGIS Issue TrackingQGIS Application - Bug report #13174: Regression: Modeler issue with temp outputs under Windowshttps://issues.qgis.org/issues/13174?journal_id=630962015-08-02T22:16:54ZJürgen Fischerjef@norbit.de
<ul><li><strong>Assignee</strong> deleted (<del><i>Giovanni Manghi</i></del>)</li></ul> QGIS Application - Bug report #13174: Regression: Modeler issue with temp outputs under Windowshttps://issues.qgis.org/issues/13174?journal_id=631112015-08-03T05:50:42ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Assignee</strong> set to <i>Giovanni Manghi</i></li></ul> QGIS Application - Bug report #13174: Regression: Modeler issue with temp outputs under Windowshttps://issues.qgis.org/issues/13174?journal_id=631142015-08-03T06:28:40ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>Just tested on both Linux and Windows (osgeo4w, qgis 2.10, Processing 2.10) and works just fine.</p>
<p>Can you please attach sample data? thanks.</p> QGIS Application - Bug report #13174: Regression: Modeler issue with temp outputs under Windowshttps://issues.qgis.org/issues/13174?journal_id=631282015-08-04T14:33:59ZBernd Vogelgesang
<ul><li><strong>File</strong> <a href="/attachments/download/8966/Dissolve_Polygons_Bug_Example.zip">Dissolve_Polygons_Bug_Example.zip</a> added</li></ul><p>Hi Giovanni,<br />I attach a folder with the two necessary shape files and a model which works under Linux, and the other which doesn't under Windows. They might not perfectly be the same cause I had to remodel due to GRASS-differences, but critical part under Windows is the trimmed path, as far as I can see. Just retested, it's really like I posted over here.</p> QGIS Application - Bug report #13174: Regression: Modeler issue with temp outputs under Windowshttps://issues.qgis.org/issues/13174?journal_id=631302015-08-04T21:59:43ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li><li><strong>Operating System</strong> set to <i>Windows</i></li><li><strong>Assignee</strong> deleted (<del><i>Giovanni Manghi</i></del>)</li><li><strong>Subject</strong> changed from <i>Modeler: GDAL Dissolve with path problems in Windows</i> to <i>Modeler issue with temp outputs under Windows</i></li></ul><p>Bernd Vogelgesang wrote:</p>
<blockquote>
<p>Hi Giovanni,<br />I attach a folder with the two necessary shape files and a model which works under Linux, and the other which doesn't under Windows. They might not perfectly be the same cause I had to remodel due to GRASS-differences, but critical part under Windows is the trimmed path, as far as I can see. Just retested, it's really like I posted over here.</p>
</blockquote>
<p>Hi Bernd,<br />it works for me under Windows, but only if I choose to save outputs not as temp files. If I leave the outputs spaces blank the resulting path to the Windows temp folder seems very long. So to make a counter test I choose to save manually outputs in the same folder where temp ones are created, and it fails.</p>
<p>Seems to me an issue with the Modeller or Processing/Core, not with the tool.</p> QGIS Application - Bug report #13174: Regression: Modeler issue with temp outputs under Windowshttps://issues.qgis.org/issues/13174?journal_id=633942015-08-26T07:53:04ZAnita Graseranitagraser@gmx.at
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Severe/Regression</i></li></ul><p>This 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.</p>
<p>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 :<pre>\\Users\\agraser\\AppData\\Local\\Temp\\processing\\7f77fa47bcec4799818d1f5ea41cc8a9\\OUTPUT.sh</pre> (without C: and .sh instead of .shp)</p>
<pre>
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
</pre> QGIS Application - Bug report #13174: Regression: Modeler issue with temp outputs under Windowshttps://issues.qgis.org/issues/13174?journal_id=633952015-08-26T08:00:09ZAnita Graseranitagraser@gmx.at
<ul><li><strong>Subject</strong> changed from <i>Modeler issue with temp outputs under Windows</i> to <i>Regression: Modeler issue with temp outputs under Windows</i></li></ul> QGIS Application - Bug report #13174: Regression: Modeler issue with temp outputs under Windowshttps://issues.qgis.org/issues/13174?journal_id=637422015-09-20T20:55:45ZVictor Olayavolayaf@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Fixed in changeset <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/72af56d8a2f7088b9501efc60fd76df89e5acbb5" title="[processing] quote return string when returning uri in ogrConnectionString Fixes #13174">72af56d8a2f7088b9501efc60fd76df89e5acbb5</a>.</p>