Bug report #12502

Updated by Nyall Dawson almost 6 years ago

processing.runalg run from python console seems to "lock" the input file (CutLayer)

so it can't be deleted while running a plugin.

There seems to be no option to close runalg after completion.



processing.runalg('gdalogr:cliprasterbymasklayer', layerToBeCut CutLayer,None, False, False, "", "output.tif")

os.remove(Cutlayer) -->fails

Back