On Sat, Dec 29, 2012 at 3:28 PM, Markus Metz <span dir="ltr"><<a href="mailto:markus.metz.giswork@gmail.com" target="_blank">markus.metz.giswork@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Sat, Dec 29, 2012 at 7:14 PM, Aren Cambre <<a href="mailto:aren@arencambre.com">aren@arencambre.com</a>> wrote:<br>
</div><div class="im">> When it try to run this in 6.4.3svn (last night's build) or 6.4.2:<br>
> v.in.ogr -t -o dsn=C:\Users\Aren Cambre\Desktop\DEEM documents\TxDOT\grass<br>
> connection.dsn output=crashes<br>
><br>
> ...all I get this this:<br>
> ERROR: Unable to open data source <C:\Users\Aren Cambre\Desktop\DEEM<br>
> documents\TxDOT\grass connection.dsn><br>
><br>
> That error is vague.<br>
><br>
> The DSN was generated by v.in.ogr.qgis in Quantum GIS, and it does work in<br>
> QGIS's bundled GRASS 6.4.2. In the grass connection.dsn file is this:<br>
> PG:dbname='de' host=localhost port=5432 user='development'<br>
> password='XXXXXXXX' sslmode=disable<br>
> (of course, XXXXX is replaced with the actual password)<br>
<br>
</div>Does<br>
<br>
v.in.ogr -t -o dsn="PG:dbname='de' host=localhost port=5432<br>
user='development' password='XXXXXXXX' sslmode=disable" output=crashes<br>
<br>
work? I.e. not using the file "grass connection.dsn" but its contents.<br></blockquote><div><br></div><div>Here's the command that I tried to run manually:</div><div><b>v.in.ogr dsn="PG:dbname='de' host=localhost port=5432 user='development' password='XXXXXXXXX' sslmode=disable" layer="raw.TxDOT consolidated crashes" output=crashesX snap=-1 min_area=0.0001 -o</b></div>
<div><br></div><div>I get this dialog:</div><div><br></div><div><br></div><div><img src="cid:ii_13bed5ccd6b77368" alt="Inline image 1"><br></div><div><br></div><div>In case the dialog doesn't come through, the error is <b>Unable to parse command</b>, then it repeats my command encapsulated in single quote marks.</div>
<div><br></div><div>Aren</div></div>