<FONT face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=2><P style="MARGIN: 0px">Dear GRASS users,</P><P style="MARGIN: 0px">&nbsp;</P><P style="MARGIN: 0px">I keep on getting SQLite driver errors when&nbsp;trying to use&nbsp;a newly created&nbsp;SQLite database ('unable to open database'). By default, GRASS starts up connected to DBF. Connecting to an SQLite database works&nbsp;fine (when the database does not yet exist, it seems to create an empty database). So far so good. Problems emerge however when i next wish to import a shapefile, OR copy&nbsp;an attribute table from a shapefile that was previously imported using the DBF driver. I recall that an earlier version of GRASS 6.4 used SQLite as the default driver. With this version, all worked well, i.e. i did NOT have the problems described below.</P><P style="MARGIN: 0px">&nbsp;</P><P style="MARGIN: 0px">Let me attach&nbsp;the command lines for both examples:</P><P style="MARGIN: 0px">&nbsp;</P><P style="MARGIN: 0px">(1) Problem importing shapefile while connected to a SQLite database:</P><P style="MARGIN: 0px">&nbsp;</P><P style="MARGIN: 0px">GRASS 6.4&gt; db.connect driver=sqlite database="c:\Test\sqlite.db"<BR>GRASS 6.4&gt; v.in.ogr dsn=C:\Test\pse.shp layer=pse output=pse&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>Datum &lt;Palestine_1923&gt; not recognised by GRASS and no parameters found<BR>Projection of input dataset and current location appear to match<BR>Layer: pse<BR>DBMI-SQLite driver error:<BR>Unable to open database: unable to open database file<BR>Unable to open database &lt;c:\test\sqlite.db&gt; by driver &lt;sqlite&gt;<BR>ERROR: Unable open database &lt;c:\test\sqlite.db&gt; by driver &lt;sqlite&gt;<BR>(Fri May 06 13:33:01 2011) Command finished (0 sec)</P><P style="MARGIN: 0px">&nbsp;</P><P style="MARGIN: 0px">(2) Problem copying attribute table (imported in DBF) to SQLite database):</P><P style="MARGIN: 0px">&nbsp;</P><P style="MARGIN: 0px">GRASS 6.4&gt; db.connect driver=sqlite database="c:\Test\sqlite.db"<BR>GRASS 6.4&gt; g.copy <A href="mailto:vect=pse@pov4,pse_sqlite" target=blank>vect=pse@pov4,pse_sqlite</A><BR>Copy vector &lt;<A href="mailto:pse@pov4" target=blank>pse@pov4</A>&gt; to current mapset as &lt;pse_sqlite&gt;<BR>DBMI-SQLite driver error:<BR>Unable to open database: unable to open database file</P><P style="MARGIN: 0px">WARNING: Unable to open database &lt;sqlite&gt; by driver &lt;c:\Test\sqlite.db&gt;<BR>no database is open<BR>WARNING: Unable to copy table &lt;pse_sqlite&gt;<BR>WARNING: Cannot copy &lt;<A href="mailto:pse@pov4" target=blank>pse@pov4</A>&gt; to current mapset as &lt;pse_sqlite&gt;</P><P style="MARGIN: 0px">&nbsp;</P><P style="MARGIN: 0px">&nbsp;</P><P style="MARGIN: 0px">(*) What am i doing wrong -- What is the easiest way of fixing both of these problems??</P><P style="MARGIN: 0px">&nbsp;</P><P style="MARGIN: 0px">&nbsp;</P><P style="MARGIN: 0px">Many thanks in advance,</P><P style="MARGIN: 0px">&nbsp;</P><P style="MARGIN: 0px">Roy</P></FONT>