Opened 13 years ago

Closed 13 years ago

#680 closed defect (duplicate)

Wrong database driver (dbf instead of sqlite) for showing attribute table with tcltk gui

Reported by: marmai Owned by: grass-dev@…
Priority: normal Milestone: 6.4.0
Component: Tcl/Tk Version: 6.4.0 RCs
Keywords: tcltk gui database driver Cc:
CPU: Unspecified Platform: Linux


I think within the tcltk gui there is a problem when using another database than dbf.

Within the nc dataset I opened the sqlite mapset and copied the geology map to the splite mapset with:

~> g.copy vect=geology@PERMANENT,geology

Now there should be the geology map with the sqlite database. Then I tried to show the attribute table of the geology map by using the tcl/tk GUI (the button in the lower part of the GIS Manager window). By clicking the button 'Show attribute data' the following command is sent to the GIS.m window: table=geology database=/home/martin/GISDataBase/nc_spm_08/sqlite/sqlite.db driver=dbf

Note the driver option! This command fails with the error:

Cannot open dbf database: /home/martin/GISDataBase/nc_spm_08/sqlite/sqlite.db

By correcting the driver option to sqlite everything works fine. By the way: v.db.connect -p geology shows the correct sqlite driver.

I am working with the 6.4.0RC4 (from: at OpenSuse 10.3 system.

Change History (3)

comment:1 by frankie, 13 years ago

This seems already reported as #602

in reply to:  1 comment:2 by marmai, 13 years ago

Replying to frankie:

This seems already reported as #602

Yes, seems to be the same problem. Sorry, I have not found that bug report (#602), before filing this report.

comment:3 by martinl, 13 years ago

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.