Opened 9 years ago

Closed 9 years ago

#2689 closed defect (fixed)

handling nulls warning on Windows

Reported by: annakrat Owned by: grass-dev@…
Priority: normal Milestone: 7.0.1
Component: LibRaster Version: svn-trunk
Keywords: nulls, rendering Cc:
CPU: Unspecified Platform: MSWindows 8

Description

Simple example:

r.mapcalc "test = null()"

produces:

WARNING: Unable to rename file <C:\Users\akratoc\grassdata/nc_spm_08_grass7/user1/.tmp/unknown/8048.1> to <C:\Users\akratoc\grassdata/nc_spm_08_grass7/user1/cell_misc/test/null>: Permission denied

but then when I check the directory, the null file is there. I am getting rendering error, that it didn't find PPM file, but only when running mapcalc from the mapcalc gui when it tries to add the result to the layer manager. Tested with trunk on Windows 8, revision r65361 (4 days ago).

Change History (2)

in reply to:  description comment:1 by hellik, 9 years ago

Replying to annakrat:

Simple example:

r.mapcalc "test = null()"

produces:

WARNING: Unable to rename file <C:\Users\akratoc\grassdata/nc_spm_08_grass7/user1/.tmp/unknown/8048.1> to <C:\Users\akratoc\grassdata/nc_spm_08_grass7/user1/cell_misc/test/null>: Permission denied

but then when I check the directory, the null file is there. I am getting rendering error, that it didn't find PPM file, but only when running mapcalc from the mapcalc gui when it tries to add the result to the layer manager.

see #2712

tested here with

System Info                                                                     
GRASS Version: 7.1.svn                                                          
GRASS SVN revision: 65777                                                       
Build date: 2015-07-25                                                          
Build platform: i686-pc-mingw32                                                 
GDAL: 1.11.2                                                                    
PROJ.4: 4.8.0                                                                   
GEOS: 3.4.2                                                                     
SQLite: 3.7.17                                                                  
Python: 2.7.4                                                                   
wxPython: 2.8.12.1                                                              
Platform: Windows-Vista-6.0.6002-SP2 (OSGeo4W)

works here.

closing ticket?

comment:2 by annakrat, 9 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.