semiautomaticgit / SemiAutomaticClassificationPlugin

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

Information [4] : Select a raster; raster is not loaded (Land Cover Change) #83

Closed lluisvicens closed 3 years ago

lluisvicens commented 4 years ago

I'm dealing with a problem using:

When I try to execute a Land Cover Analysis using two Corine raster files (.tif) from different years, on the Postprocessing tab, when hitting the Run button the following message appears: Information [4] : Select a raster; raster is not loaded

This happens only in my Linux environment. If I try the same on a Windows environment it works properly and it creates a change layer as well as a table. This behavior or error is also the same for the rest of Postprocessing tools on my linux.

Any hint? Thanks!

semiautomaticgit commented 4 years ago

Hello, it is probably a dependency issue. Please follow these steps to copy the log file https://semiautomaticclassificationmanual.readthedocs.io/en/latest/faq.html#how-can-i-report-an-error

lluisvicens commented 4 years ago

Hi Luca, Thanks for your reply. Here it goes the log file. Hope this helps. log_file_scp.txt

Date    Function    Message 
 SemiAutomaticClass Version 6.4.2 - Greenbelt - QGIS v. 31002 L:en - OS Linux - 64bit =Yes
2020-03-02 10.29.56.817753  SemiAutomaticClassificationPlugin.maininterface.settings-testGDAL 270    gdal version:2.2
2020-03-02 10.29.56.819406  SemiAutomaticClassificationPlugin.maininterface.settings-testGDAL 278    test: Success
2020-03-02 10.29.56.898930  SemiAutomaticClassificationPlugin.core.utils-GDALCopyRaster 5813     image: /tmp/semiautomaticclassification/20200302_102922435743/20200302_102956827058test.tif
2020-03-02 10.29.56.899376  SemiAutomaticClassificationPlugin.maininterface.settings-testGDALSubprocess 313  test: Success
2020-03-02 10.29.56.899645  SemiAutomaticClassificationPlugin.maininterface.settings-testNumpy 344   test: Success
2020-03-02 10.29.56.899861  SemiAutomaticClassificationPlugin.maininterface.settings-testScipy 355   test: Success
2020-03-02 10.29.56.900078  SemiAutomaticClassificationPlugin.maininterface.settings-testMatplotlib 366  test: Success
2020-03-02 10.29.56.900376  SemiAutomaticClassificationPlugin.core.utils-downloadFile 347    url:https://semiautomaticgit.github.io/SemiAutomaticClassificationPluginWelcome/changelog.html
2020-03-02 10.29.56.900951  SemiAutomaticClassificationPlugin.core.utils-getProxyHandler 313    
2020-03-02 10.29.57.055639  SemiAutomaticClassificationPlugin.maininterface.settings-testInternetConnection 325  test: Success
2020-03-02 10.30.45.361093  SemiAutomaticClassificationPlugin.core.input-menuIndex 435  
2020-03-02 10.30.45.409043  SemiAutomaticClassificationPlugin.core.input-menuClicked 446    
2020-03-02 10.30.50.482741  SemiAutomaticClassificationPlugin.maininterface.landcoverchange-classificationReferenceLayerName 48 reference classification name: clc_1990_reclass
2020-03-02 10.30.50.484007  SemiAutomaticClassificationPlugin.maininterface.landcoverchange-refreshClassificationReferenceLayer 257 reference classification layers refreshed
2020-03-02 10.30.52.674679  SemiAutomaticClassificationPlugin.maininterface.landcoverchange-newClassificationLayerName 244  reference classification name: clc_1990_reclass
2020-03-02 10.30.52.676140  SemiAutomaticClassificationPlugin.maininterface.landcoverchange-refreshNewClassificationLayer 270   new classification layers refreshed
2020-03-02 10.30.54.267224  SemiAutomaticClassificationPlugin.maininterface.landcoverchange-newClassificationLayerName 244  reference classification name: clc_2018_reclass
2020-03-02 10.30.56.434784  SemiAutomaticClassificationPlugin.core.utils-selectLayerbyName 5506 layer selected: clc_1990_reclass
2020-03-02 10.30.56.436832  landCoverChange 64   ERROR exception: 'NoneType' object has no attribute 'source'
2020-03-02 10.30.56.438769  SemiAutomaticClassificationPlugin.core.utils-selectLayerbyName 5506 layer selected: clc_2018_reclass
2020-03-02 10.30.56.439236  landCoverChange 72   ERROR exception: 'NoneType' object has no attribute 'source'
2020-03-02 10.31.01.286182  SemiAutomaticClassificationPlugin.core.input-menuIndex 435  
2020-03-02 10.31.01.313174  SemiAutomaticClassificationPlugin.core.input-menuClicked 446    
semiautomaticgit commented 3 years ago

I'm closing this because of the new version 7. If you still get the same issue, please reopen it