Uncaught AttributeError: 'str' object has no attribute 'copy'
NooshinHadidian opened this issue · 2 comments
NooshinHadidian commented
Steps to reproduce
- First
- Second
- Third
Traceback (most recent call last):
File "C:\Users/xuso8246/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\dock\scpdock.py", line 2411, in saveROItoShapefile
cfg.utls.calculateSignature(cfg.shpLay, cfg.bandSetsList[bandSetNumber][8], [self.ROILastID], cfg.ROIMacroID, cfg.ROIMacroClassInfo, cfg.ROIID, cfg.ROIInfo, 50, 40, 'No', 'No', UID, bandSetNumber = bandSetNumber)
File "C:\Users/xuso8246/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\core\utils.py", line 1597, in calculateSignature
outList = cfg.utls.clipRasterByRaster(oList, tRxs, progressMessage = cfg.QtWidgetsSCP.QApplication.translate('semiautomaticclassificationplugin', 'Calculating signature'), stats = 'Yes')
File "C:\Users/xuso8246/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\core\utils.py", line 3352, in clipRasterByRaster
bList = rasterClippedList.copy()
AttributeError: 'str' object has no attribute 'copy'
SemiAutomaticClassificationPlugin 7.10.11, QGIS 3.26.1-Buenos Aires on Windows 10
semiautomaticgit commented
Hello, please copy the log file following these steps https://semiautomaticclassificationmanual.readthedocs.io/en/latest/faq.html#how-can-i-report-an-error
NooshinHadidian commented
I did. please check the group in Facebook. I have sent a new post. Thanks.