<div dir="ltr"><div>Salve a tutti</div><div><br></div><div>ho deciso di provare a salvare come script da utilizzare nel motore di processing di qgis uno script python che uso spesso.</div><div>Lo script in questione è molto simile a RandomPointsVector.py a cui ho apporto le modifiche che ritenevo necessarie e poi ho salvato nella cartella 

<p style="margin:0px;text-indent:0px;white-space:pre-wrap">cd /home/giacomo/.local/share/QGIS/QGIS3/profiles/default/processing/scripts</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Purtroppo però quando vado ad aprire QGIS 3.10 ottengo due messaggi di errore in serie.</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Questo è il primo

</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">NotImplementedError: QgsProcessingAlgorithm.name() is abstract and must be overridden </p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Traceback (most recent call last):</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">  File "/usr/share/qgis/python/plugins/processing/script/ScriptUtils.py", line 68, in loadAlgorithm</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">    alg = algfactory.instances.pop().createInstance()</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">IndexError: pop from empty list</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">During handling of the above exception, another exception occurred:</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">NotImplementedError: QgsProcessingAlgorithm.name() is abstract and must be overridden</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br><br></p></div><div>Questo è il secondo</div><div><br></div><div>

<p style="margin:0px;text-indent:0px;white-space:pre-wrap">NotImplementedError: QgsProcessingAlgorithm.initAlgorithm() is abstract and must be overridden </p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">NotImplementedError: QgsProcessingAlgorithm.initAlgorithm() is abstract and must be overridden</p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Versione Python: 3.7.3 (default, Oct  7 2019, 12:56:13) [GCC 8.3.0] </p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap">Versione di QGIS: 3.10.1-A Coruña A Coruña, ef24c526da <br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Qualche consiglio?</p><p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br></p><p style="margin:0px;text-indent:0px;white-space:pre-wrap">Grazie<br></p>
<p style="margin:0px;text-indent:0px;white-space:pre-wrap"><br><br></p></div></div>