Hi all,

I really don't know if I'm missing something basic, but even with this
super short script (that does not run anything):


from processing.algs.qgis.QgisAlgorithm import QgisAlgorithm


class myScript(QgisAlgorithm):

    INPUT = 'INPUT'
    OUTPUT = 'OUTPUT'


    def group(self):
        return 'My group'

    def name(self):
        return 'my algorithm'


from the editor I can run it (and the dialog pops up normally, even
without parameters), I can save it, but when I close it than the same
error appears:

NotImplementedError: QgsProcessingAlgorithm.name() is abstract and must
be overridden


Cheers and thanks for any hint

Matteo
_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to