Wow, thanks, problem solved!<div><br></div><div>It seems the problem had to do with using single quotes when I declared the db path:</div><div>db.connect driver=dbf database='~/grassdata/latlong_coral/PERMANENT/dbf/'</div>
<div><div>Deleting the quotes, then running chmod 777 on the dbf folder made it work.</div><div><br></div><div>-Nick</div><div><br></div><br><div class="gmail_quote">On Fri, Mar 11, 2011 at 1:49 PM, Markus Neteler <span dir="ltr"><<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi Nick<br>
<br>
Odd. Please check the permissions of<br>
the ../dbf/ directory.<br>
<br>
There is nothing special to install<br>
for DBF support.<br>
<font color="#888888"><br>
Markus<br>
</font><div><div></div><div class="h5"><br>
On 3/11/11, Nick Jachowski <<a href="mailto:njachowski@gmail.com">njachowski@gmail.com</a>> wrote:<br>
> Thanks for the help Markus, but when I try it on my computer I still get the<br>
> same error message:<br>
> -----------------------------<br>
> GRASS 6.4.0RC5 (latlong_coral):~/grassdata/latlong_coral > v.in.ascii<br>
> input=kyy.csv out=kyy skip=1 fs=, cat=3<br>
> Scanning input for column types...<br>
> Maximum input row length: 86<br>
> Maximum number of columns: 9<br>
> Minimum number of columns: 8<br>
> DBMI-DBF driver error:<br>
> Cannot create dbf database: ~/grassdata/latlong_coral/PERMANENT/dbf/<br>
><br>
><br>
> WARNING: Unable to open database <~/grassdata/latlong_coral/PERMANENT/dbf/><br>
> by driver <dbf><br>
> ERROR: Unable to open database <~/grassdata/latlong_coral/PERMANENT/dbf/><br>
> by driver <dbf><br>
> -----------------------------<br>
> I'm a complete newbie to the db part of GRASS; was I supposed to do anything<br>
> special during the installation to allow the dbf driver to work?<br>
><br>
> I've tried this on two separate machines and have the same error message in<br>
> both, one is running GRASS 6.4.0RC5 on Ubuntu 9.10 the other is running<br>
> GRASS 6.4.0 on Ubuntu 10.04 in a vm.<br>
><br>
> Sorry to bother the list again!<br>
> Nick<br>
><br>
><br>
> On Fri, Mar 11, 2011 at 12:13 AM, Markus Neteler <<a href="mailto:neteler@osgeo.org">neteler@osgeo.org</a>> wrote:<br>
><br>
>> On Thu, Mar 10, 2011 at 3:45 PM, Nick Jachowski <<a href="mailto:njachowski@gmail.com">njachowski@gmail.com</a>><br>
>> wrote:<br>
>> > Hi all,<br>
>> > I'm trying to use v.in.ascii and I'm getting a "DBMI-DBF driver error."<br>
>> > -------------------<br>
>> > GRASS 6.4.0RC5 (latlong_coral):~/grassdata/latlong_coral > v.in.ascii<br>
>> > input=kyy.csv out=kyy skip=1 fs=, columns='x, y, cat int' cat=3<br>
>> ^^^^^^^^^^^^^^^<br>
>><br>
>> ... this cannot work since you did not specify the types for x and y.<br>
>><br>
>> Doing so, I get:<br>
>><br>
>> v.in.ascii input=kyy.csv out=kyy skip=1 fs=, columns='x double<br>
>> precision, y double precision, cat int' cat=3<br>
>> Scanning input for column types...<br>
>> Maximum input row length: 86<br>
>> Maximum number of columns: 9<br>
>> Minimum number of columns: 8<br>
>> Column: 1 type: double<br>
>> Column: 2 type: double<br>
>> Column: 3 type: integer<br>
>> Column: 4 type: string length: 3<br>
>> Column: 5 type: string length: 3<br>
>> Column: 6 type: double<br>
>> Column: 7 type: double<br>
>> Column: 8 type: double<br>
>> Column: 9 type: double<br>
>> WARNING: Table <kyy> linked to vector map <kyy> does not exist<br>
>> ERROR: Number of columns defined (3) does not match number of columns (9)<br>
>> in input<br>
>><br>
>> Of course all the other columns need to be defined as well.<br>
>> Or just use the auto-detector:<br>
>><br>
>> v.in.ascii input=kyy.csv out=kyy skip=1 fs=, cat=3<br>
>> Scanning input for column types...<br>
>> Maximum input row length: 86<br>
>> Maximum number of columns: 9<br>
>> Minimum number of columns: 8<br>
>> Column: 1 type: double<br>
>> Column: 2 type: double<br>
>> Column: 3 type: integer<br>
>> Column: 4 type: string length: 3<br>
>> Column: 5 type: string length: 3<br>
>> Column: 6 type: double<br>
>> Column: 7 type: double<br>
>> Column: 8 type: double<br>
>> Column: 9 type: double<br>
>> Importing points...<br>
>> 100%<br>
>> Populating table...<br>
>> Building topology for vector map <kyy>...<br>
>> Registering primitives...<br>
>> 23 primitives registered<br>
>> 23 vertices registered<br>
>> Building areas...<br>
>> 100%<br>
>> 0 areas built<br>
>> 0 isles built<br>
>> Attaching islands...<br>
>> Attaching centroids...<br>
>> 100%<br>
>> Number of nodes: 23<br>
>> Number of primitives: 23<br>
>> Number of points: 23<br>
>> Number of lines: 0<br>
>> Number of boundaries: 0<br>
>> Number of centroids: 0<br>
>> Number of areas: 0<br>
>> Number of isles: 0<br>
>> v.in.ascii complete.<br>
>><br>
>> ...<br>
>> > It seems a lot of people get this error (according to google...), but I<br>
>> > haven't seen a solution.<br>
>><br>
>> I doubt this statement :)<br>
>><br>
>> Hope this helps,<br>
>> Markus<br>
>><br>
><br>
</div></div></blockquote></div><br></div>