You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
also posted on facebook
Qgis 3.44.11, scp 8.5.0
when creating roi multiple in scp, the points appears in the scp window (confer image) but when clicking launch, i get error messages : roi not found and unable to calculate
DEBUG FILE :
ERROR|2026-06-02T20:22:27.618|multiple_roi_tab|expression_text_edited|101|invalid syntax (, line 1)
ERROR|2026-06-02T20:22:27.740|multiple_roi_tab|expression_text_edited|101|invalid syntax (, line 1)
ERROR|2026-06-02T20:22:28.163|multiple_roi_tab|expression_text_edited|101|invalid syntax (, line 1)
ERROR|2026-06-02T20:22:29.956|multiple_roi_tab|expression_text_edited|101|invalid syntax (, line 1)
ERROR|2026-06-02T20:22:40.561|scp_dock|create_region_growing_roi|2368|only 0-dimensional arrays can be converted to Python scalars
ERROR|2026-06-02T20:22:41.667|scp_dock|create_region_growing_roi|2368|only 0-dimensional arrays can be converted to Python scalars
Hello,
I get this error message when installing QGIS 4 and SCP :
Impossible de charger l'extension 'SemiAutomaticClassificationPlugin' provoque une erreur lors de l'appel à sa méthode initGui()
AttributeError: module 'remotior_sensus.core.configurations' has no attribute 'pretrained_model_dict'
Traceback (most recent call last):
File "C:\PROGRA1/QGIS401.3/apps/qgis/./python\qgis\utils.py", line 538, in startPlugin
plugins[packageName].initGui()
File "C:\Users/u203493/AppData/Roaming/QGIS/QGIS4\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\semiautomaticclassificationplugin.py", line 632, in initGui
cfg.rs.configurations.pretrained_model_dict
AttributeError: module 'remotior_sensus.core.configurations' has no attribute 'pretrained_model_dict'
Version de Python : 3.12.13 (main, Apr 16 2026, 15:59:38) [MSC v.1944 64 bit (AMD64)]
Version de QGIS : 4.0.3-Norrköping Norrköping, 70e40ae6
Thank you @GITHUBAntoineDENIS , I'm glad you successfully installed the new version.
However I don't have the data anymore to retest the bug I mentionned above
I couldn't recreate your issue, therefore I'm moving this thread to discussions.
In case you get this error again we can continue the discussion and reopen the issue.
Repository owner locked and limited conversation to collaborators on Jun 6, 2026
Activity
semiautomaticgit commentedon Jun 5, 2026
Hello @GITHUBAntoineDENIS , could you please try it in the new version 9 for QGIS 4.
GITHUBAntoineDENIS commentedon Jun 6, 2026
Hello,
I get this error message when installing QGIS 4 and SCP :
Impossible de charger l'extension 'SemiAutomaticClassificationPlugin' provoque une erreur lors de l'appel à sa méthode initGui()
AttributeError: module 'remotior_sensus.core.configurations' has no attribute 'pretrained_model_dict'
Traceback (most recent call last):
File "C:\PROGRA
1/QGIS401.3/apps/qgis/./python\qgis\utils.py", line 538, in startPluginplugins[packageName].initGui()
File "C:\Users/u203493/AppData/Roaming/QGIS/QGIS4\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\semiautomaticclassificationplugin.py", line 632, in initGui
cfg.rs.configurations.pretrained_model_dict
AttributeError: module 'remotior_sensus.core.configurations' has no attribute 'pretrained_model_dict'
Version de Python : 3.12.13 (main, Apr 16 2026, 15:59:38) [MSC v.1944 64 bit (AMD64)]
Version de QGIS : 4.0.3-Norrköping Norrköping, 70e40ae6
Chemin Python :
C:/Users/u203493/AppData/Roaming/QGIS/QGIS4/profiles/default/python/plugins/SemiAutomaticClassificationPlugin
C:/Users/u203493/AppData/Roaming/QGIS/QGIS4/profiles/default/python/plugins/SemiAutomaticClassificationPlugin
C:\Users\u203493\AppData\Roaming\QGIS\QGIS4\profiles\default\python\plugins\LDMP\ext-libs
C:/Users/u203493/AppData/Roaming/QGIS/QGIS4/profiles/default/python/plugins/SemiAutomaticClassificationPlugin
C:/Users/u203493/AppData/Roaming/QGIS/QGIS4/profiles/default/python/plugins/SemiAutomaticClassificationPlugin
C:\Users\u203493\AppData\Roaming\QGIS\QGIS4\profiles\default\python\dependencies\3.12
C:/PROGRA
1/QGIS401.3/apps/qgis/./pythonC:/Users/u203493/AppData/Roaming/QGIS/QGIS4\profiles\default/python
C:/Users/u203493/AppData/Roaming/QGIS/QGIS4\profiles\default/python/plugins
C:/PROGRA
1/QGIS401.3/apps/qgis/./python/pluginsC:\PROGRA
1\QGIS401.3\apps\grass\grass84\etc\pythonC:\Users\u203493\Documents
C:\Program Files\QGIS 4.0.3\bin\python312.zip
C:\PROGRA
1\QGIS401.3\apps\Python312\DLLsC:\PROGRA
1\QGIS401.3\apps\Python312\LibC:\Program Files\QGIS 4.0.3\bin
C:\Users\u203493\AppData\Roaming\Python\Python312\site-packages
C:\PROGRA
1\QGIS401.3\apps\Python312C:\PROGRA
1\QGIS401.3\apps\Python312\Lib\site-packagesC:\PROGRA
1\QGIS401.3\apps\Python312\Lib\site-packages\win32C:\PROGRA
1\QGIS401.3\apps\Python312\Lib\site-packages\win32\libC:\PROGRA
1\QGIS401.3\apps\Python312\Lib\site-packages\PythonwinC:/Users/u203493/AppData/Roaming/QGIS/QGIS4\profiles\default/python
.
C:\Users\u203493\AppData\Roaming\QGIS\QGIS4\profiles\default\python\plugins
C:\Users\u203493\AppData\Roaming\QGIS\QGIS4\profiles\default\python\plugins
GITHUBAntoineDENIS commentedon Jun 6, 2026
I reinstalled scp by following https://semiautomaticclassificationmanual.readthedocs.io/en/latest/installation.html
And now no error message anymore when launching QGIS
However I don't have the data anymore to retest the bug I mentionned above
semiautomaticgit commentedon Jun 6, 2026
Thank you @GITHUBAntoineDENIS , I'm glad you successfully installed the new version.
I couldn't recreate your issue, therefore I'm moving this thread to discussions.
In case you get this error again we can continue the discussion and reopen the issue.