Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#2778 closed defect (fixed)

v.rast.stats: ERROR: Input window changed while maps are open for read.

Reported by: hellik Owned by: grass-dev@…
Priority: major Milestone: 7.2.0
Component: Vector Version: svn-trunk
Keywords: v.rast.stats, input window Cc:
CPU: x86-32 Platform: MSWindows 7

Description

taken from the mailing list 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>  
> 
> 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 

Change History (7)

comment:1 by hellik, 9 years ago

Keywords: input window added

in reply to:  description ; comment:2 by neteler, 9 years ago

Replying to 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

in reply to:  2 comment:3 by hellik, 9 years ago

Replying to neteler:

Replying to 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

comment:4 by annakrat, 9 years ago

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.

comment:5 by neteler, 9 years ago

I guess it got fixed in r66602.

Can this be closed?

comment:6 by annakrat, 9 years ago

Resolution: fixed
Status: newclosed

Tested, it's working.

comment:7 by neteler, 9 years ago

Milestone: 7.1.07.2.0

Milestone renamed

Note: See TracTickets for help on using tickets.