[Qgis-user] Error after saving my script

Giacomo Fontanelli giacomofontanelli76 at gmail.com
Wed Jan 1 09:19:00 PST 2020


Dear forum


I slightly modified the processing-script called RandomPointsPolygons.py to
make my own script and I copied it in

/home/giacomo/.local/share/QGIS/QGIS3/profiles/default/processing/scripts.


but when I launch QGIS 3.10 I get this error


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

Traceback (most recent call last):

File "/usr/share/qgis/python/plugins/processing/script/ScriptUtils.py",
line 68, in loadAlgorithm

alg = algfactory.instances.pop().createInstance()

IndexError: pop from empty list


During handling of the above exception, another exception occurred:


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



Versione Python: 3.7.3 (default, Oct 7 2019, 12:56:13) [GCC 8.3.0]

Versione di QGIS: 3.10.1-A Coruña A Coruña, ef24c526da


Percorso Python:

/usr/share/qgis/python

/home/giacomo/.local/share/QGIS/QGIS3/profiles/default/python

/home/giacomo/.local/share/QGIS/QGIS3/profiles/default/python/plugins

/usr/share/qgis/python/plugins

/usr/lib/x86_64-linux-gnu/otb/python

/usr/lib/python37.zip

/usr/lib/python3.7

/usr/lib/python3.7/lib-dynload

/usr/local/lib/python3.7/dist-packages

/usr/lib/python3/dist-packages

/home/giacomo/.local/share/QGIS/QGIS3/profiles/default/python

/usr/lib/python3/dist-packages/IPython/extensions


Any help please?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200101/caae5349/attachment.html>


More information about the Qgis-user mailing list