Uncaught UnboundLocalError: local variable 'r' referenced before assignment
joelruma73 opened this issue · 1 comments
joelruma73 commented
Steps to reproduce
- First
- Second
- Third
Traceback (most recent call last):
File "/Users/jose.elkin/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/dock/scpdock.py", line 1736, in pointerClickROI
self.createROI(cfg.pntROI)
File "/Users/jose.elkin/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
SemiAutomaticClassificationPlugin 7.10.11, QGIS 3.30.2-'s-Hertogenbosch on Darwin 22.5.0
semiautomaticgit commented
duplicate of #277