Problem with plugin

154 views
Skip to first unread message

Cristian Trujillo

unread,
Dec 16, 2020, 11:15:28 AM12/16/20
to OnSSET
Hi Onsset team,

I've been trying to run the model for the DRC, a big surface, without success so far: I left my PC a couple of days running the Onsset plugin but didn't obtain any result. Thinking that it could be because of the big extent of the datasets used, I tried but with a city only, Likasi. This time I didn't obtain any result neither but the system gave me the error message at the end of the post.

Do you have any idea of why this happened, please? Attached I send the datasets in case you could have a try with them on your PC, please.

For reference, I'm using the Python version 3.7.0 and the QGIS version 3.10.12-A, on an i7 PC. Please let me know if you need any further information.

Thanks in advance. Looking forward to your reply,
Cristian Trujillo

Error message:

An error has occurred while executing Python code:

_core.QgsProcessingException: There were errors executing the algorithm.

Traceback (most recent call last):
  File "C:/Users/Cristian/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\gep_onsset\GEP_OnSSET.py", line 581, in run
    'OUTPUT': 'memory:'})
  File "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python/plugins\processing\tools\general.py", line 106, in run
    return Processing.runAlgorithm(algOrName, parameters, onFinish, feedback, context)
  File "C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python/plugins\processing\core\Processing.py", line 181, in runAlgorithm
    raise QgsProcessingException(msg)
_core.QgsProcessingException: There were errors executing the algorithm.


Python version: 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)]
QGIS version: 3.10.12-A Coruña A Coruña, 75c848ffb1

Python Path:

·                     C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python

·                     C:/Users/Cristian/AppData/Roaming/QGIS/QGIS3\profiles\default/python

·                     C:/Users/Cristian/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins

·                     C:/PROGRA~1/QGIS3~1.10/apps/qgis-ltr/./python/plugins

·                     C:\PROGRA~1\QGIS3~1.10\apps\Python37

·                     C:\PROGRA~1\QGIS3~1.10\apps\Python37\Scripts

·                     C:\Program Files\QGIS 3.10\bin\python37.zip

·                     C:\PROGRA~1\QGIS3~1.10\apps\Python37\DLLs

·                     C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib

·                     C:\Program Files\QGIS 3.10\bin

·                     C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages

·                     C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\win32

·                     C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\win32\lib

·                     C:\PROGRA~1\QGIS3~1.10\apps\Python37\lib\site-packages\Pythonwin

·                     C:/Users/Cristian/AppData/Roaming/QGIS/QGIS3\profiles\default/python

·                     C:\Users\Cristian\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\HCMGIS/forms

C:/Users/Cristian/Desktop/ONSSET

Likasi.rar
Message has been deleted

Babak Khavari

unread,
Dec 17, 2020, 4:05:04 AM12/17/20
to OnSSET
Hello Cristian,

Sorry to hear that you are running into troubles with the plugin.

The files that you have sent, are you using them as input in the plugin? If so, that might be the problem.

We want you to use coordinate system EPSG:4326 for all the input layers, and then you can enter EPSG:3857 in the "Target CRS" field.
Can you try this and let us know if you are still having troubles with the plugin?

On a separate note, the Worldpop layer that you sent. Do you use this as your population layer? We want the population layer to have the following attributes:

1. The name of the country
2. A unique ID
3. Population in each unit
4. Area of each unit
5. Maximum nighttime light in each unit
6. Population living in lit areas

This is needed in order to run OnSSET at a later stage. There is a plugin available for creating the clusters available here: https://github.com/OnSSET/PopCluster or it can be done manually.

Best regards,
Babak
Reply all
Reply to author
Forward
0 new messages