<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">You need to run db.connect to select a database backend to use<br>first. (There is no VAR file in the mapset yet)<br><br>Manage databases -&gt; connect<br><br>see the help page for details, I usually just cut and paste out of the examples. v.db.addtable can probably do this automatically.<br><br>Vector database connections -&gt; New Table<br><br>Most modules should create the connection if needed using the default<br>DB (dbf in grass 6.4) if it is needed, but because db.execute is "raw"<br>perhaps it shouldn't and whatever in the GUI is calling that should<br>check that first.<br><br>Hamish<br><br><br><b>Kim Besson</b> wrote:<blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div id="yiv1635851415"><div>
- Error in command execution db.execute</div><div>Execution failed: 'db.execute --q'</div><div>Details: </div><div>Error: Unable to start driver &lt;(null)&gt;</div><div><br></div><div>And the following is printed in Command Output:</div>
<div><div>Traceback (most recent call last):</div><div>  File "C:/GRASS6/etc/wxpython/wxgui.py", line 546, in</div><div>OnNewVector</div><div><br></div><div>cmdDef=(['v.edit', 'tool=create'], "map"))</div>
<div>  File "C:\GRASS6\etc\wxpython\gui_modules\gdialogs.py",</div><div>line 192, in CreateNewVector</div><div><br></div><div>stdin=sql)</div><div>  File "C:\GRASS6\etc\wxpython\gui_modules\gcmd.py", line</div>
<div>369, in __init__</div><div><br></div><div>_("Error: ") + self.GetError()))</div><div>gui_modules.gcmd</div><div>.</div><div>CmdError</div><div>Traceback (most recent call last):</div><div>  File "C:/GRASS6/etc/wxpython/wxgui.py", line 546, in</div>
<div>OnNewVector</div><div><br></div><div>cmdDef=(['v.edit', 'tool=create'], "map"))</div><div>  File "C:\GRASS6\etc\wxpython\gui_modules\gdialogs.py",</div><div>line 192, in CreateNewVector</div>
<div><br></div><div>stdin=sql)</div><div>  File "C:\GRASS6\etc\wxpython\gui_modules\gcmd.py", line</div><div>369, in __init__</div><div><br></div><div>_("Error: ") + self.GetError()))</div><div>gui_modules.gcmd</div>
<div>.</div><div>CmdError</div></div><div><br></div><div>I believe this was not expected but, what might be wrong?</div><div><br></div><div>Thanks</div><div><br></div><div>Kim</div>
</div>I have installed WinGRASS-6.4.SVN-r42868-1-Setup.exe in my WinXP machine and, when I  select Vector/Develop Vector Map/Create new vector map, I place output name and check Create Attibute table I get an error windows stating:<br></blockquote></td></tr></table><br>