Hi Giacomo,

The error message indicates that you have removed (or masked
away) the "name()" function when modifying the scipt.

If you would like to get more help, you will need to show
us your script.

Håvard

On 01.01.2020 18:19, Giacomo Fontanelli wrote:
> 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?
> 
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to