Opened 7 years ago

Last modified 5 years ago

#3408 new defect

r.tileset fails on windows due to permissions error

Reported by: spawley Owned by: grass-dev@…
Priority: normal Milestone: 7.6.2
Component: Raster Version: svn-trunk
Keywords: r.tileset, wingrass Cc:
CPU: Unspecified Platform: MSWindows 8

Description

The GRASS module r.tileset doesn't appear to function on windows, but works fine on linux:

r.tileset sourceproj="+proj=tmerc +lat_0=0 +lon_0=-115 +k=0.9992 +x_0=500000 +y_0=0 +no_defs +a=6378137 +rf=298.257222101 +towgs84=0.000,0.000,0.000 +to_meter=1"

Traceback (most recent call last):

File

"C:\OSGEO4~1\apps\grass\grass-7.3.svn/scripts/m.proj.py", line 308, in <module>

main()

File

"C:\OSGEO4~1\apps\grass\grass-7.3.svn/scripts/m.proj.py", line 243, in main

inf = file(infile)

IOError: [Errno 13] Permission denied: 'c:
users
cb2dd
appdata
local
temp
grass7-10432
tmpovmbzm' ERROR: cs2cs failed

While r.tileset calls on m.proj, the latter seems to work just fine on windows:

m.proj -i input=D:\grassdata\alberta_utm12\PERMANENT\.tmp/unknown\13204.1 493843.98|6261734.98|0.00

The issue appears to be related to a problem with permissions to the temporary file that is passed onto cs2cs.

Change History (3)

comment:1 by martinl, 6 years ago

Milestone: 7.2.4

comment:2 by martinl, 5 years ago

Milestone: 7.2.47.6.2

Confirmed.

comment:3 by martinl, 5 years ago

Component: DefaultRaster
Keywords: r.tileset wingrass added
Note: See TracTickets for help on using tickets.