[GRASS-dev] [GRASS GIS] #3408: r.tileset fails on windows due to permissions error

GRASS GIS trac at osgeo.org
Wed Aug 23 08:25:33 PDT 2017


#3408: r.tileset fails on windows due to permissions error
-------------------------+-------------------------
 Reporter:  spawley      |      Owner:  grass-dev@…
     Type:  defect       |     Status:  new
 Priority:  normal       |  Milestone:
Component:  Default      |    Version:  svn-trunk
 Keywords:               |        CPU:  Unspecified
 Platform:  MSWindows 8  |
-------------------------+-------------------------
 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.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3408>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list