<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Thanks! That worked!</p>
<p>I put in a fully qualified file name in the "Grid" dialog box and
it worked - I left the "Open output file after running algorithm"
checked and it adds the vector layer to my project. It uses a
default layer name of "Grid" rather than my file name, but I can
rename it.</p>
<p>Exploring a bit, I opened the [...] button for the input field
and selected File. I got the standard Save file dialog defaulted
to
C:\Users\me\AppData\Roaming\QGIS\QGIS3\profiles\default\processing\outputs.
My bet is that this directory requires special permission to write
to, and I would not want to put my files there anyway.</p>
<pre wrap="">RE: Was this done through the processing toolbox? How did you obtain the
"test" value here?</pre>
<p>Yes, I used the processing toolbox:
Processing->Toolbox->Vector creation->Create grid. The
dialog that opens has a "Grid" section at the bottom with an input
field. By default it contains the advisory [Create temporary
layer]. I used this the first time I tried Create Grid, and it
worked. I then renamed the layer in the layer panel and saved it.
Given my experience, I assumed that I could type in the name of a
layer here and it would put the layer in the layer panel, from
which I could save it. I now understand how it works. Thanks!</p>
<p>For reference, I have attached a screen shot of the dialog box -
hope it makes it through the list server!<br>
</p>
<p><br>
</p>
<p>Since this is a developer list, I have two suggestions - First
update the Create Grid documentation, second, create an "invalid
file name" trace in the log or some such message so the cause of
the problem would be better understood by those who might run into
it.</p>
<p>I'm sure I can update the documentation, and I might be able to
update the code also. What should I do to get involved with
helping out?</p>
<p><br>
</p>
<img src="cid:part1.E1A7DF13.484CB4BB@gmail.com" alt="" height="388"
width="356"><br>
<br>
<br>
<div class="moz-cite-prefix">On 7/25/2018 6:40 PM, Nyall Dawson
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAB28Asgak_MB5zSh7FEw3SpvcOLQqmeVKcagC4Ok9j7P6yyqVQ@mail.gmail.com">
<pre wrap="">Looking at this, the value for output is a bit odd: 'test'. This
should usually be a full path, e.g. "c:\users\nd\Desktop\all my
important stuff which i need\grid_final_rev2_revised.shp". I suspect
this is where the issue comes from, it's trying to create a file named
"test" in an unspecified directory which is likely somewhere you don't
have permission to write to.
Was this done through the processing toolbox? How did you obtain the
"test" value here?
Nyall
</pre>
</blockquote>
<br>
</body>
</html>