[QGIS-Developer] Create Grid (Grid.py) Crash and Exception

Nyall Dawson nyall.dawson at gmail.com
Wed Jul 25 15:40:09 PDT 2018


On Tue, 24 Jul 2018 at 09:54, Alan A. Mick <alan.a.mick at googlemail.com> wrote:
>
> Yes, Following, and some further information. I've narrowed the problem down to using a value for 'OUTPUT', rather than leaving it blank (memory / Create temporary layer). Note the second attempt where OUTPUT is 'memory:' rather than 'test'. I also noted a ':' appended to 'memory'. Hummm. Wonder if 'test' should have a ':' ?
> Input parameters:
>
> { 'CRS' : 'EPSG:26785', 'EXTENT' : '792412.0740345571,792462.5434347881,507440.04192142386,507477.91294505587 [EPSG:26785]', 'HOVERLAY' : 0, 'HSPACING' : 1, 'OUTPUT' : 'test', 'TYPE' : 1, 'VOVERLAY' : 0, 'VSPACING' : 1 }

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


More information about the QGIS-Developer mailing list