[GRASS-user] Grass WIN: DBF problem

Moritz Lennert mlennert at club.worldonline.be
Fri Feb 1 15:00:06 EST 2008


On Fri, February 1, 2008 19:28, Michael Barton wrote:
>
> On Feb 1, 2008, at 7:45 AM, Moritz Lennert wrote:
>
>> On 01/02/08 15:27, Massimiliano Cannata wrote:
>>> Hi Moritz,
>>> you are right, I was using a previous relese, with the RC4 release
>>> of wingrass it perfectly works.
>>> I just add a new issue (bug?):
>>> - the show table attribute button in the GUI does not work, i get
>>> the following error:
>>> "dbmi-dbf driver error: table ti_comuni doesn't exist error in
>>> db_open_select_cursor()"
>>> Table exist and works with the following commands:
>>> - show attribute column GUI button works
>>> - "database->query->query vector attribute table" perfectly works
>>> from menu
>>
>> The 'show table attribute' button calls db.select. Look into the
>> Output window to see what the database= option of this command is.
>> Probably your general database setting is not correct. The other
>> commands use the specific database settings of the particular vector
>> map.
>>
>> Michael, any particular reason why it does not use v.db.select ?
>
> I don't remember. Perhaps it didn't exist or didn't do the job when I
> originally wrote this procedure a couple years ago. Do you think it
> would work better than the current combination of v.db.connect (to get
> info on database connected to vector) coupled with db.select?

Sorry, hadn't looked at the source code and so didn't know that it called
v.db.connect before. No, I don't think it should make a difference, unless
there is some trouble in passing the $db info to db.select in windows...
I'll have to check that.

Moritz



More information about the grass-user mailing list