[GRASSLIST:2853] Fwd: Re: Re: Problem with v.in.db

leo.lami at katamail.com leo.lami at katamail.com
Fri Mar 5 13:38:20 EST 2004


We changed the PostgreSQL version and now v.in.db work well.
But i have a new problem:
when i use the command d.what.vect and i click on a point of my imported from 
PostgreSQL vector i have a new error message:
child killed: write on pipe with no readers

and the output message say:
...
...
field = 1 category = 310894
D1/3: Vect_get_field(): field = 1
D1/3: Vect_get_dblink(): link = 0
D3/3: Vect_subst_var(): in = $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/, map = 
anfibi, mapset = RENATO
D3/3:   -> /home/Documenti/datigrass/Toscana/RENATO/dbf/
D2/3: F_generate(): drvname = 'dbf', dbname = 
'/home/Documenti/datigrass/Toscana/RENATO/dbf/'
      tblname = 'anfibi', key = 'id', keyval = 310894
    form = '(null)', form_mapset = '(null)'
      edit_mode = 2
D2/3: Open driver
D2/3: Driver opened
D2/3: Open database
D2/3: add_table(): table = anfibi name = anfibi.dbf
D2/3: Database opened
D2/3: select * from anfibi where id = 310894
D2/3: find_table(): table = anfibi
D2/3:   ? anfibi
D2/3: load_table_head(): tab = 0, 
/home/Documenti/datigrass/Toscana/RENATO/dbf//anfibi.dbf
D2/3:   ncols = 4
D2/3: dbmi: Protocol error
WARNING: Cannot open select cursor

Why that?

I cannot convert the vector in rast becuase the output message say:
...
...
D3/3: Vect_subst_var(): in = $GISDBASE/$LOCATION_NAME/$MAPSET/dbf/, map = 
anfibi, mapset = RENATO
D3/3:   -> /home/Documenti/datigrass/Toscana/RENATO/dbf/
D3/3: db_start_driver_open_database():
  drvname = dbf, dbname = /home/Documenti/datigrass/Toscana/RENATO/dbf/
D2/3: add_table(): table = anfibi name = anfibi.dbf
D3/3: db_select_db_select_CatValArray ()
D3/3:   SQL: SELECT id, count FROM anfibi
D2/3: find_table(): table = anfibi
D2/3:   ? anfibi
D2/3: load_table_head(): tab = 0, 
/home/Documenti/datigrass/Toscana/RENATO/dbf//anfibi.dbf
D2/3:   ncols = 4
D2/3: dbmi: Protocol error
D3/3: nrec = -1
ERROR: Column type not supported


Thank you
Leonardo Lami

Alle 13:26, giovedì 04 marzo 2004, Radim Blazek ha scritto:
> On Wednesday 03 March 2004 14:30, you wrote:
> > I'm sorry but I installed the new version of GRASS and I had the same
> > error. Do you have same idea?
>
> What is exactly the output now?
>
> Radim
>




More information about the grass-user mailing list