[GRASS-dev] Re: [GRASS GIS] #1139: v.report has a problem (only via OSGEO4W package)

GRASS GIS trac at osgeo.org
Tue Jan 17 13:14:30 EST 2012


#1139: v.report has a problem (only via OSGEO4W package)
-----------------------------------------+----------------------------------
 Reporter:  naokiueda                    |       Owner:  grass-dev@…              
     Type:  defect                       |      Status:  new                      
 Priority:  critical                     |   Milestone:  6.4.2                    
Component:  Vector                       |     Version:  6.4.2 RCs                
 Keywords:  wingrass, v.report, osgeo4w  |    Platform:  MSWindows Vista          
      Cpu:  x86-32                       |  
-----------------------------------------+----------------------------------
Changes (by hellik):

  * priority:  normal => critical
  * platform:  Unspecified => MSWindows Vista
  * version:  6.4.0 RCs => 6.4.2 RCs
  * cpu:  Unspecified => x86-32


Comment:

 tested with '''osgeo4w-wingrass6.4.2RC3''' (WinVista-32bit-box) and nc-
 sample-dataset:

 {{{
 v.report map=geology at PERMANENT option=area
 Zeige Typ/Name der Spalten der Datenbank des Layers 1:
 Show type/name of database's columns of layer 1:
 Die Eingabedatei wurde zweimal angegeben.
 The input is given twice.
 ERROR: There is a table connected to input vector map 'geology at PERMANENT',
 but there are no categories present in the key column 'cat'. Consider
 using v.to.db to correct this.
 (Tue Jan 17 18:57:00 2012) Befehl ausgeführt (5 sec)
 }}}

 {{{
 [...]
 D2/3: load_table_head(): tab = 20,
 C:\gisdata\grassdata\nc_spm_08\PERMANENT\dbf\\geology.dbf
 D2/3:   ncols = 8
 D2/3:   DBFFieldType 1
 D3/3: add_column(): tab = 20, type = 2, name = cat, width =
 11, decimals = 0
 D2/3:   DBFFieldType 2
 D3/3: add_column(): tab = 20, type = 3, name = onemap_pro,
 width = 20, decimals = 6
 D2/3:   DBFFieldType 2
 D3/3: add_column(): tab = 20, type = 3, name = PERIMETER,
 width = 20, decimals = 6
 D2/3:   DBFFieldType 1
 D3/3: add_column(): tab = 20, type = 2, name = GEOL250_,
 width = 11, decimals = 0
 D2/3:   DBFFieldType 1
 D3/3: add_column(): tab = 20, type = 2, name = GEOL250_ID,
 width = 11, decimals = 0
 D2/3:   DBFFieldType 0
 D3/3: add_column(): tab = 20, type = 1, name = GEO_NAME,
 width = 6, decimals = 0
 D2/3:   DBFFieldType 2
 D3/3: add_column(): tab = 20, type = 3, name = SHAPE_area,
 width = 20, decimals = 6
 D2/3:   DBFFieldType 2
 D3/3: add_column(): tab = 20, type = 3, name = SHAPE_len,
 width = 20, decimals = 6
 D2/3: save_table 0
 D2/3: save_table 1
 D2/3: save_table 2
 D2/3: save_table 3
 D2/3: save_table 4
 D2/3: save_table 5
 D2/3: save_table 6
 D2/3: save_table 7
 D2/3: save_table 8
 D2/3: save_table 9
 [...]
 D2/3: save_table 42
 D2/3: save_table 43
 D2/3: save_table 44
 D1/3: Vect_close(): name = geology, mapset = PERMANENT,
 format = 0, level = 2
 D1/3: close history file
 Die Eingabedatei wurde zweimal angegeben.
 the input is given twice.
 D1/3: Vect_open_old(): name = geology at PERMANENT mapset=
 PERMANENT update = 0
 [...]
 D2/3: Vect_cidx_open(): name = geology mapset= PERMANENT
 D3/3: dig_cidx_init()
 D3/3: dig_read_cidx()
 D3/3: dig_cidx_init()
 D3/3: Cidx header: file version 5.0 , supported from GRASS
 version 5.0
 D3/3:   byte order 0
 D3/3:   header size 9
 D1/3: V1_open_old_nat(): name = geology mapset = PERMANENT
 D2/3: Coor header: file version 5.1 , supported from GRASS
 version 5.1
 D2/3:   byte order 0
 D2/3:   header size 14
 D2/3:   with_z 0
 D2/3:   coor size 9016555
 D1/3: get coor info:
 C:\gisdata\grassdata/nc_spm_08/PERMANENT/vector/geology/coor
 D1/3: Info->size = 9016555, Info->mtime = 1198040780
 D1/3: coor size in head = 9016555, real coor file size=
 9016555
 D2/3: dig_file_load ()
 D2/3:   requested mode = 2
 D2/3:   size = 9016555
 D2/3:   file was not loaded to the memory
 D1/3: Vect_open_old(): vector opened on level 2
 D1/3: Vect_read_dblinks(): map = geology, mapset = PERMANENT
 D3/3: Searching for FID column in OGR DB
 D1/3: dbln file:
 C:\gisdata\grassdata/nc_spm_08/PERMANENT/vector/geology/dbln
 D1/3: dbln: 1 geology cat
 $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ dbf
 D3/3: Field number <1>, name <(null)>
 D3/3: Vect_check_dblink: field 1
 D1/3: field = 1 name = (null), table = geology, key = cat,
 database = $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/, driver =
 dbf
 D1/3: Dblinks read
 D1/3: Vect_Rewind(): name = geology
 D1/3: Vect_get_dblink(): link = 0
 D3/3: Vect_subst_var(): in =
 $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/, map = geology, mapset
 = PERMANENT
 D3/3:   -> C:\gisdata\grassdata\nc_spm_08\PERMANENT\dbf\
 D1/3: Vect_close(): name = geology, mapset = PERMANENT,
 format = 0, level = 2
 D1/3: close history file
 D1/3: V1_close_nat(): name = geology mapset= PERMANENT
 ERROR: There is a table connected to input vector map 'geology at PERMANENT',
 but      there are no categories present in the key column 'cat'. Consider
 using      v.to.db to correct this.
 D1/3: ret = 1
 }}}

 complete debug=3-report attached.

 Helmut

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1139#comment:7>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list