Maciej Sieczka ha scritto: > Leonardo Lami wrote: > >> Hi all, >> I'm testin grass 6.3 and I have a problem with v.dissolve: >> >> v.dissolve [EMAIL PROTECTED] output=province layer=1 >> column=provincia >> dbmi: Protocol error >> > > What platform? > Linux Debian > What 6.3 CVS checkout date? > 26/05/07 > What DB backend do you use? > postgresql 8.1 > Can you reproduce the problem in sperfish60 location? > v.dissolve [EMAIL PROTECTED] output=soils layer=1 column=label dbmi: Protocol error
and the output shell stops I must make Ctrl-c to go on now db=dbf > If you don't and can't provide your data for testing, run: > > $ g.gisenv set="DEBUG=5" > > then your v.dissolve command and pass the output over to the list. > [....] D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D3/5: dig_Rd_P_isle() D3/5: dig_isle_alloc_line(): D2/5: Vect_cidx_open(): name = soils mapset= PERMANENT D3/5: dig_cidx_init() D3/5: dig_read_cidx() D3/5: dig_cidx_init() D3/5: Cidx header: file version 5.0 , supported from GRASS version 5.0 D3/5: byte order 0 D3/5: header size 9 D1/5: V1_open_old_nat(): name = soils mapset = PERMANENT D2/5: Coor header: file version 5.1 , supported from GRASS version 5.1 D2/5: byte order 0 D2/5: header size 14 D2/5: with_z 0 D2/5: coor size 634133 D1/5: get coor info: /home/Documenti/datigrass/spearfish60/PERMANENT/vector/soils/coor D1/5: Info->size = 634133, Info->mtime = 1113222409 D1/5: coor size in head = 634133, real coor file size= 634133 D2/5: dig_file_load () D2/5: requested mode = 2 D2/5: size = 634133 D2/5: file was not loaded to the memory D1/5: Vect_open_old(): vector opened on level 2 D1/5: Vect_read_dblinks(): map = soils, mapset = PERMANENT D3/5: Searching for FID column in OGR DB D1/5: dbln file: /home/Documenti/datigrass/spearfish60/PERMANENT/vector/soils/dbln D1/5: dbln: 1 soils cat $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ dbf D3/5: Field number <1>, name <(null)> D3/5: Vect_check_dblink: field 1 D1/5: field = 1 name = (null), table = soils, key = cat, database = $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/, driver = dbf D1/5: Dblinks read D1/5: Vect_Rewind(): name = soils D2/5: Vect_open_new(): name = [EMAIL PROTECTED] D1/5: Vect_set_thresh(): thresh = 0.000000 D1/5: V1_open_new_nat(): name = [EMAIL PROTECTED] D1/5: Vect_get_thresh(): thresh = 0.000000 D1/5: dig__write_head() D1/5: write coor size (0) to head D2/5: coor body offset 14 D3/5: dig_init_plus() D1/5: dig_spidx_init() D3/5: dig_cidx_init() D1/5: Vect_get_thresh(): thresh = 0.000000 D1/5: Vect_set_thresh(): thresh = 0.000000 D3/5: Vect_hist_copy() D5/5: Vect_hist_write() D3/5: Vect_hist_command() D3/5: G_recreate_command() D5/5: Vect_hist_write() D5/5: Vect_hist_write() D5/5: Vect_hist_write() D5/5: Vect_hist_write() D5/5: Vect_hist_write() D1/5: Vect_get_field(): field = 1 D1/5: Vect_get_dblink(): link = 0 D3/5: Vect_subst_var(): in = $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/, map = soils, mapset = PERMANENT D3/5: -> /home/Documenti/datigrass/spearfish60/PERMANENT/dbf/ D3/5: db_start_driver_open_database(): drvname = dbf, dbname = /home/Documenti/datigrass/spearfish60/PERMANENT/dbf/ D2/5: opendir /usr/local/grass-6.3.cvs/driver/db/ D2/5: DBF: db__driver_open_database() name = '/home/Documenti/datigrass/spearfish60/PERMANENT/dbf/' D2/5: db.name = /home/Documenti/datigrass/spearfish60/PERMANENT/dbf/ D2/5: add_table(): table = archsites name = archsites.dbf D2/5: add_table(): table = bugsites name = bugsites.dbf D2/5: add_table(): table = fields name = fields.dbf D2/5: add_table(): table = roads name = roads.dbf D2/5: add_table(): table = soils name = soils.dbf D2/5: add_table(): table = streams name = streams.dbf D2/5: find_table(): table = soils D2/5: ? archsites D2/5: ? bugsites D2/5: ? fields D2/5: ? roads D2/5: ? soils D2/5: load_table_head(): tab = 4, /home/Documenti/datigrass/spearfish60/PERMANENT/dbf//soils.dbf D2/5: ncols = 2 D2/5: DBFFieldType 1 D3/5: add_column(): tab = 4, type = 2, name = cat, width = 11, decimals = 0 D2/5: DBFFieldType 0 D3/5: add_column(): tab = 4, type = 1, name = label, width = 13, decimals = 0 D1/5: Vect_default_field_info(): map = [EMAIL PROTECTED] field = 1 D2/5: drv = dbf db = $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ D3/5: Field number <1>, name <(null)> D3/5: Vect_check_dblink: field 1 D1/5: Vect_write_dblinks(): map = [EMAIL PROTECTED], mapset = corso D1/5: dbln file: /home/Documenti/datigrass/spearfish60/corso/vector/[EMAIL PROTECTED]/dbln D1/5: 1 [EMAIL PROTECTED] cat $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ dbf D1/5: Dblinks written D3/5: Vect_subst_var(): in = $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/, map = [EMAIL PROTECTED], mapset = corso D3/5: -> /home/Documenti/datigrass/spearfish60/corso/dbf/ D3/5: db_start_driver_open_database(): drvname = dbf, dbname = /home/Documenti/datigrass/spearfish60/corso/dbf/ D2/5: opendir /usr/local/grass-6.3.cvs/driver/db/ D2/5: DBF: db__driver_open_database() name = '/home/Documenti/datigrass/spearfish60/corso/dbf/' D2/5: db.name = /home/Documenti/datigrass/spearfish60/corso/dbf/ D3/5: SQL: SELECT cat, label FROM soils ORDER BY label D3/5: SQL statement parsed successfully: SELECT cat, label FROM soils ORDER BY label D2/5: find_table(): table = soils D2/5: ? archsites D2/5: ? bugsites D2/5: ? fields D2/5: ? roads D2/5: ? soils D2/5: load_table_head(): tab = 4, /home/Documenti/datigrass/spearfish60/PERMANENT/dbf//soils.dbf D3/5: Doing SQL command <4> on DBF table... (see include/sqlp.h) D2/5: SELECT D2/5: sel(): tab = 4 D2/5: load_table(): tab = 4 D2/5: ncols = 2 nrows = 54 D3/5: Order selection by label D2/5: load_table_head(): tab = 4, /home/Documenti/datigrass/spearfish60/PERMANENT/dbf//soils.dbf D3/5: 54 rows selected D3/5: key type = 15 dbmi: Protocol error D1/5: Vect_close(): name = [EMAIL PROTECTED], mapset = corso, format = 0, level = 1 D1/5: close history file D1/5: V1_close_nat(): name = [EMAIL PROTECTED] mapset= corso D1/5: get coor info: /home/Documenti/datigrass/spearfish60/corso/vector/[EMAIL PROTECTED]/coor D1/5: Info->size = 14, Info->mtime = 1180455741 D1/5: dig__write_head() D1/5: write coor size (14) to head D2/5: coor body offset 14 D1/5: Vect_get_thresh(): thresh = 0.000000 D1/5: Vect_write_dblinks(): map = [EMAIL PROTECTED], mapset = corso D1/5: dbln file: /home/Documenti/datigrass/spearfish60/corso/vector/[EMAIL PROTECTED]/dbln D1/5: 1 [EMAIL PROTECTED] cat $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/ dbf D1/5: Dblinks written D2/5: save_table 0 D2/5: save_table 1 D2/5: save_table 2 D2/5: save_table 3 D2/5: save_table 4 D2/5: save_table 5 and it stops > You might find this usefull: > http://grass.gdf-hannover.de/wiki/GRASS_Debugging > > Maciek > > _______________________________________________ grassuser mailing list [email protected] http://grass.itc.it/mailman/listinfo/grassuser

