[GRASS-dev] [GRASS GIS] #2778: v.rast.stats: ERROR: Input window changed while maps are open for read.

#2778: v.rast.stats: ERROR: Input window changed while maps are open for read.
--------------------------+-------------------------
Reporter: hellik | Owner: grass-dev@…
     Type: defect | Status: new
Priority: major | Milestone: 7.1.0
Component: Vector | Version: svn-trunk
Keywords: v.rast.stats | CPU: x86-32
Platform: MSWindows 7 |
--------------------------+-------------------------
taken from the mailing list [http://lists.osgeo.org/pipermail/grass-
dev/2015-October/076986.html dev ML]

{{{
Helmut Kudrnovsky wrote
> hi,
>
> by testing the manual example of v.rast.stats, I get following error:
>
> v.rast.stats --verbose map=myzipcodes_wake at gbiftest
> raster=elevation at PERMANENT column_prefix=elev
> method=minimum,maximum,average,stddev,percentile
> Adding columns '['elev_minimum DOUBLE PRECISION', 'elev_maximum DOUBLE
> PRECISION', 'elev_average DOUBLE PRECISION', 'elev_stddev DOUBLE
> PRECISION', 'elev_percentile_90 DOUBLE PRECISION']'
> Adding column
> <elev_minimum>
> to the table
> Adding column
> <elev_maximum>
> to the table
> Adding column
> <elev_average>
> to the table
> Adding column
> <elev_stddev>
> to the table
> Adding column
> <elev_percentile_90>
> to the table
> Processing data (13 categories)...
> ERROR: Input window changed while maps are open for read. Map name
> <myzipcodes_wake_8088.0>
> Updating the database ...
> Statistics calculated from raster map <elevation at PERMANENT> and
> uploaded to attribute table of vector map
> <myzipcodes_wake>
> .
> DEBUG=3 output
> <http://osgeo-org.1560.x6.nabble.com/file/n5232313/grass_cmd_output.txt&gt;
>
> tested with
>
> System Info
> GRASS version: 7.1.svn
> GRASS SVN revision: 66569
> Build date: 2015-10-22
> Build platform: i686-pc-mingw32
> GDAL: 1.11.3
> PROJ.4: 4.8.0
> GEOS: 3.5.0
> SQLite: 3.7.17
> Python: 2.7.4
> wxPython: 2.8.12.1
> Platform: Windows-7-6.1.7601-SP1 (OSGeo4W)

also tested with

GRASS Version: 7.1.svn
GRASS SVN revision: 66581
Build date: 2015-10-23
Build platform: i686-pc-mingw32
GDAL: 1.11.3
PROJ.4: 4.8.0
GEOS: 3.5.0
SQLite: 3.7.17
Python: 2.7.4
wxPython: 2.8.12.1
Platform: Windows-Vista-6.0.6002-SP2 (OSGeo4W)

same error:

ERROR: Input window changed while maps are open for read. Map name
<myzipcodes_wake_1180.0>

but it is not in
GRASS Version: 7.0.2RC1
GRASS SVN Revision: 66536
}}}

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

#2778: v.rast.stats: ERROR: Input window changed while maps are open for read.
---------------------+----------------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: major | Milestone: 7.1.0
Component: Vector | Version: svn-trunk
Resolution: | Keywords: v.rast.stats, input window
       CPU: x86-32 | Platform: MSWindows 7
---------------------+----------------------------------------
Changes (by hellik):

* keywords: v.rast.stats => v.rast.stats, input window

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

#2778: v.rast.stats: ERROR: Input window changed while maps are open for read.
---------------------+----------------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: major | Milestone: 7.1.0
Component: Vector | Version: svn-trunk
Resolution: | Keywords: v.rast.stats, input window
       CPU: x86-32 | Platform: MSWindows 7
---------------------+----------------------------------------

Comment (by neteler):

Replying to [ticket:2778 hellik]:
...
> ERROR: Input window changed while maps are open for read. Map name
<myzipcodes_wake_8088.0>

FWIW: there were two older (unrelated?) ticket with the same error: #1718
and #1775

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

#2778: v.rast.stats: ERROR: Input window changed while maps are open for read.
---------------------+----------------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: major | Milestone: 7.1.0
Component: Vector | Version: svn-trunk
Resolution: | Keywords: v.rast.stats, input window
       CPU: x86-32 | Platform: MSWindows 7
---------------------+----------------------------------------

Comment (by hellik):

Replying to [comment:2 neteler]:
> Replying to [ticket:2778 hellik]:
> ...
> > ERROR: Input window changed while maps are open for read. Map name
<myzipcodes_wake_8088.0>
>
> FWIW: there were two older (unrelated?) ticket with the same error:
#1718 and #1775

AFAICT it worked ~2 weeks ago in trunk

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

#2778: v.rast.stats: ERROR: Input window changed while maps are open for read.
---------------------+----------------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: major | Milestone: 7.1.0
Component: Vector | Version: svn-trunk
Resolution: | Keywords: v.rast.stats, input window
       CPU: x86-32 | Platform: MSWindows 7
---------------------+----------------------------------------

Comment (by annakrat):

Very likely it was broken in r66551 (r.univar: Added raster region flag
"-r" to use the native region and resolution of a raster map, independent
from the current region settings), tested on wingrass binary r66548 where
it worked.

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

#2778: v.rast.stats: ERROR: Input window changed while maps are open for read.
---------------------+----------------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: new
  Priority: major | Milestone: 7.1.0
Component: Vector | Version: svn-trunk
Resolution: | Keywords: v.rast.stats, input window
       CPU: x86-32 | Platform: MSWindows 7
---------------------+----------------------------------------

Comment (by neteler):

I guess it got fixed in r66602.

Can this be closed?

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

#2778: v.rast.stats: ERROR: Input window changed while maps are open for read.
---------------------+----------------------------------------
  Reporter: hellik | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: major | Milestone: 7.1.0
Component: Vector | Version: svn-trunk
Resolution: fixed | Keywords: v.rast.stats, input window
       CPU: x86-32 | Platform: MSWindows 7
---------------------+----------------------------------------
Changes (by annakrat):

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

Comment:

Tested, it's working.

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