Bug report #16142

Updated by Nyall Dawson over 3 years ago

I'm testing the "Create script collection plugin" functionality in QGIS 2.18.3.



The plugin seems to be created fine and the scripts show up in the QGIS section of the toolbox. (Took me a while to find them there.)



But when running any of the scripts, I get:



<pre>

Error loading result layer:

Traceback (most recent call last):

File "/usr/share/qgis/python/plugins/processing/gui/Postprocessing.py", line 75, in handleAlgorithmResults

out.name))

File "/usr/share/qgis/python/plugins/processing/tools/dataobjects.py", line 199, in load

+ '\

Check the processing framework log to look for errors')

RuntimeError: Could not load layer: memory:

Check the processing framework log to look for errors

</pre>





If I specify an output file instead of "Create temporary layer", the script runs fine and the output is created correctly.



If I run the script stand-alone (without integrating it into a plugin), temporary output works fine.

Back