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
{{ message }}
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
Help! I'm having a problem creating ROIs for a training input in QGIS. I'm using the SCP plugin but Python crashes every time I try ti create a training area ROI by drawing a polygon. I think it's a problem with the source code of the plugin, but I'm not sure.
The error message is:
WARNING: Traceback (most recent call last):
File "/Users/elenabalmaceda/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/dock/scpdock.py", line 1736, in pointerClickROI
self.createROI(cfg.pntROI)
File "/Users/elenabalmaceda/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/dock/scpdock.py", line 2848, in createROI
if cfg.np.count_nonzero(r) > 0:
UnboundLocalError: local variable 'r' referenced before assignment
**OS: MacOs
**QGIS version: 3
The text was updated successfully, but these errors were encountered:
Help! I'm having a problem creating ROIs for a training input in QGIS. I'm using the SCP plugin but Python crashes every time I try ti create a training area ROI by drawing a polygon. I think it's a problem with the source code of the plugin, but I'm not sure.
The error message is:
WARNING: Traceback (most recent call last):
File "/Users/elenabalmaceda/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/dock/scpdock.py", line 1736, in pointerClickROI
self.createROI(cfg.pntROI)
File "/Users/elenabalmaceda/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/dock/scpdock.py", line 2848, in createROI
if cfg.np.count_nonzero(r) > 0:
UnboundLocalError: local variable 'r' referenced before assignment
The text was updated successfully, but these errors were encountered: