On 2/15/21 6:24 AM, Allan López wrote:
>
> Dear All,
>
>
> Please, how to solve this silly issue while trying to install a PY ?
>
> Best,
> Allan López
>
> NameError: name 'progress' is not defined
>
> Traceback (most recent call last):
> File "C:/PROGRA~1/QGIS
> 3.12/apps/qgis/./python/plugins\processing\script\ScriptAlgorithmProvider.py",
> line 119, in loadAlgorithms
> alg = ScriptUtils.loadAlgorithm(moduleName, filePath)
> File "C:/PROGRA~1/QGIS
> 3.12/apps/qgis/./python/plugins\processing\script\ScriptUtils.py", line 66,
> in loadAlgorithm
> spec.loader.exec_module(module)
> File "", line 728, in exec_module
> File "", line 219, in _call_with_frames_removed
> File
> "C:\Users\allan\AppData\Roaming\QGIS\QGIS3\profiles\default\processing\scripts\Summit
> surface.py", line 84, in
> progress.setInfo('Importing DEM...')
> NameError: name 'progress' is not defined
In the code Summit surface.py QGIS is trying to call "setInfo('Importing
DEM...')" on in instance called 'progress'.
BUT this 'progress' does not excist (yet).
Is it your own code? Or did you change someting in others code?
Do you have this code from github?
Regards,
Richard Duivenvoorde
_______________________________________________
Qgis-user mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user