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

GRASS GIS trac at osgeo.org
Thu Jan 19 14:20:36 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                       |  
-----------------------------------------+----------------------------------

Comment(by hellik):

 Replying to [comment:11 hellik]:
 > Replying to [comment:10 hamish]:
 > > Can you edit the script and change the first line to '#!/bin/sh -x'
 and post the output?
 > >
 >
 > first line to '#!/bin/sh -x':

 and additionally eliminating some >/dev/null 2>&1 in the script, tested
 again in a winvista32-box:

 standalone wingrass6.4.2RC3-installer

 {{{
 v.report map=geology at PERMANENT option=area
 INTEGER|cat
 DOUBLE PRECISION|onemap_pro
 DOUBLE PRECISION|PERIMETER
 INTEGER|GEOL250_
 INTEGER|GEOL250_ID
 CHARACTER|GEO_NAME
 DOUBLE PRECISION|SHAPE_area
 DOUBLE PRECISION|SHAPE_len
 Zeige Typ/Name der Spalten der Datenbank des Layers 1:
 Zeige Typ/Name der Spalten der Datenbank des Layers 1:
 [english translation: Displaying column types/names for database
 connection of layer %d:]
 cat|onemap_pro|PERIMETER|GEOL250_|GEOL250_ID|GEO_NAME|SHAPE_area|SHAPE_len|area
 1|963738.75|4083.97998|2|1|Zml|963738.608571|4083.979839|963738.608570847
 2|22189124|26628.261719|3|2|Zmf|22189123.2296|26628.261112|22189123.2295976
 }}}

 osgeo4w-wingrass6.4.2RC3:

 {{{
 v.report map=geology at PERMANENT option=area
 Zeige Typ/Name der Spalten der Datenbank des Layers 1:
 [english translation: Displaying column types/names for database
 connection of layer %d:]
 INTEGER|cat
 DOUBLE PRECISION|onemap_pro
 DOUBLE PRECISION|PERIMETER
 INTEGER|GEOL250_
 INTEGER|GEOL250_ID
 CHARACTER|GEO_NAME
 DOUBLE PRECISION|SHAPE_area
 DOUBLE PRECISION|SHAPE_len
 Zeige Typ/Name der Spalten der Datenbank des Layers 1:
 [english translation: Displaying column types/names for database
 connection of layer %d:]
 Die Eingabedatei wurde zweimal angegeben.
 [english translation: Input file specified two times.]
 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.
 (Thu Jan 19 19:18:50 2012) Befehl ausgeführt (7 sec)
 }}}

 ?

 Helmut

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



More information about the grass-dev mailing list