[GRASS-dev] [GRASS GIS] #2689: handling nulls warning on Windows

#2689: handling nulls warning on Windows
------------------------------+-------------------------
Reporter: annakrat | Owner: grass-dev@…
     Type: defect | Status: new
Priority: normal | Milestone: 7.0.1
Component: LibRaster | Version: svn-trunk
Keywords: nulls, rendering | CPU: Unspecified
Platform: MSWindows 8 |
------------------------------+-------------------------
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).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2689&gt;
GRASS GIS <http://grass.osgeo.org>

#2689: handling nulls warning on Windows
--------------------------+------------------------------
  Reporter: annakrat | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: normal | Milestone: 7.0.1
Component: LibRaster | Version: svn-trunk
Resolution: | Keywords: nulls, rendering
       CPU: Unspecified | Platform: MSWindows 8
--------------------------+------------------------------

Comment (by hellik):

Replying to [ticket:2689 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?

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2689#comment:1&gt;
GRASS GIS <http://grass.osgeo.org>

#2689: handling nulls warning on Windows
--------------------------+------------------------------
  Reporter: annakrat | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.0.1
Component: LibRaster | Version: svn-trunk
Resolution: fixed | Keywords: nulls, rendering
       CPU: Unspecified | Platform: MSWindows 8
--------------------------+------------------------------
Changes (by annakrat):

* status: new => closed
* resolution: => fixed

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2689#comment:2&gt;
GRASS GIS <http://grass.osgeo.org>