New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ogr based tools cannot output anymore to temp files #27767
Comments
Author Name: Giovanni Manghi (@gioman)
ogr2ogr /tmp/processing_db57843afc44487c9e08a83e234924aa/bfb8be3fac3446a2b0be83fc1e1050ba/OUTPUT.shp /home/giovanni/Desktop/teste.gpkg -dialect sqlite -sql "SELECT ST_Buffer(geom, 1.0) AS geom, fid,gid,fips,iso2,iso3,un,name,area,pop2005,region,lon,lat,id,dadsadsa FROM 'cac1'" -f "ESRI Shapefile" or2ogr cannot write to "/tmp/processing_db57843afc44487c9e08a83e234924aa/bfb8be3fac3446a2b0be83fc1e1050ba/" because the folder does not exist beforehand. to Tested the buffer tool, but possibly all others are affected. This is regardless of the input data type. Example: ogr2ogr /tmp/processing_db57843afc44487c9e08a83e234924aa/bfb8be3fac3446a2b0be83fc1e1050ba/OUTPUT.shp /home/giovanni/Desktop/teste.gpkg -dialect sqlite -sql "SELECT ST_Buffer(geom, 1.0) AS geom, fid,gid,fips,iso2,iso3,un,name,area,pop2005,region,lon,lat,id,dadsadsa FROM 'teste'" -f "ESRI Shapefile" or2ogr cannot write to "/tmp/processing_db57843afc44487c9e08a83e234924aa/bfb8be3fac3446a2b0be83fc1e1050ba/" because the folder does not exist beforehand. |
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Nyall Dawson (@nyalldawson)
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Nyall Dawson (@nyalldawson) I can't reproduce -- can you post steps to reproduce? Can you create folders under tmp?
|
Author Name: Giovanni Manghi (@gioman) Cannot replicate anymore... weird, I didn't even updated master since I reported this.
|
Author Name: Giovanni Manghi (@gioman)
Original Redmine Issue: 19945
Affected QGIS version: 3.3(master)
Redmine category:processing/ogr
Assignee: Nyall Dawson
Tested the buffer tool, but possibly all others are affected. This is regardless of the input data type. Example:
ogr2ogr /tmp/processing_db57843afc44487c9e08a83e234924aa/bfb8be3fac3446a2b0be83fc1e1050ba/OUTPUT.shp /home/giovanni/Desktop/teste.gpkg -dialect sqlite -sql "SELECT ST_Buffer(geom, 1.0) AS geom, fid,gid,fips,iso2,iso3,un,name,area,pop2005,region,lon,lat,id,dadsadsa FROM 'teste'" -f "ESRI Shapefile"
GDAL command output:
ERROR 1: Failed to create file /tmp/processing_db57843afc44487c9e08a83e234924aa/bfb8be3fac3446a2b0be83fc1e1050ba/OUTPUT.shp: No such file or
or2ogr cannot write to "/tmp/processing_db57843afc44487c9e08a83e234924aa/bfb8be3fac3446a2b0be83fc1e1050ba/" because the folder does not exist beforehand.
Related issue(s): #27760 (relates)
Redmine related issue(s): 19938
The text was updated successfully, but these errors were encountered: