semiautomaticgit / SemiAutomaticClassificationPlugin

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

The SCP plugin doesn't work at all #361

Open dzcreators opened 2 months ago

dzcreators commented 2 months ago

Screenshot_1

When I just opened the QGIS 3.34 application, an error notification appeared in the SCP plugin. Fill in the error as follows:

2024-07-27T20:47:48 WARNING Traceback (most recent call last): File "C:\Users/Mr. Maryono/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\semiautomaticclassificationplugin.py", line 765, in project_loaded File "C:\Users/Mr. Maryono/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\semiautomaticclassificationplugin.py", line 1706, in reset_scp File "C:\Users/Mr. Maryono/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\SemiAutomaticClassificationPlugin\core\ui_utils.py", line 288, in set_interface RuntimeError: wrapped C/C++ object of type SemiAutomaticClassificationPluginDialog has been deleted

I don't understand at all what the error is in this plugin. Yesterday I tried to download Sentinel 2A via this application and couldn't display the preview or download it at all. Apart from that, I tried preprocessing the Sentinel 2A file in jp2 format, but it couldn't be used at all, the band file couldn't be read at all. Is there any solution for this?

semiautomaticgit commented 2 months ago

Hello @dzcreators , it could be an installation error. Please update both SCP and Remotior Sensus following this guide https://semiautomaticclassificationmanual.readthedocs.io/en/latest/installation_win64.html

If you still get the same issue, please enable "Records detailed events in a log file" and copy the log file as described here https://semiautomaticclassificationmanual.readthedocs.io/en/latest/faq.html#how-can-i-report-an-error

semiautomaticgit commented 1 month ago

Hello @dzcreators , please update the SCP to version 8.3 and report if you still get the same error

dzcreators commented 1 month ago

Screenshot_2

I have done according to the steps above but it still doesn't work. I also tried reinstalling QGIS and the SCP Plugin, but it still doesn't work. I tried test dependencies, the result is PyTorch: Fail as shown in the picture. Can you help again? I attached the log file too.

File Log SCP my.txt

semiautomaticgit commented 1 month ago

Hello @dzcreators , thank you for the log file. Probably it is a server issue. I suggest to select the product Sentinel-2_MPC in the section "Search parameters" and try again (see https://semiautomaticclassificationmanual.readthedocs.io/en/latest/download_products_tab.html#search).