semiautomaticgit / SemiAutomaticClassificationPlugin

https://fromgistors.blogspot.com/p/semi-automatic-classification-plugin.html
Other
138 stars 50 forks source link

SCP 7.2.0 - sentinel2Tab-sentinelReflectance 337 ERROR exception: 'NoneType' object is not subscriptable #145

Closed PedroVenancio closed 3 years ago

PedroVenancio commented 3 years ago

Dear @semiautomaticgit

After upgrade SCP to 7.2.0, I'm getting this error:

2020-12-05 23.46.35.772769  SemiAutomaticClassificationPlugin.maininterface.sentinel2Tab-sentinelReflectance 337     ERROR exception: 'NoneType' object is not subscriptable
2020-12-05 23.46.35.826624  SemiAutomaticClassificationPlugin.maininterface.sentinel2Tab-sentinel2 287  WARNING: unable to load raster

Here is the complete log file: Error_SCP_7.2.0.txt

I'm repeating a workflow that I've done dozens of times in last weeks. The steps are illustrated in images here: https://github.com/semiautomaticgit/SemiAutomaticClassificationPlugin/issues/130#issue-739877239

I've also tried it with SCP 7.1.1 that I still have on another user profile, and it works fine.

So it seems to be something introduced in 7.2.0.

Can you confirm?

Thanks Luca!

semiautomaticgit commented 3 years ago

Thank you @PedroVenancio , I think I found the cause of the issue. I'll fix it

PedroVenancio commented 3 years ago

Hi Luca,

Possibly some kind of side effect, but it happens in SCP 7.2.0 and not in 7.1.1, in same QGIS version (3.16.1).

Thank you very much Luca!

semiautomaticgit commented 3 years ago

Hi @PedroVenancio , it should be fixed in version 7.2.1. Please update the plugin

PedroVenancio commented 3 years ago

Fix confirmed @semiautomaticgit ! Thank you very much!!

semiautomaticgit commented 3 years ago

Thank you for your feedback @PedroVenancio