north-road / qgis-processing-saga-nextgen

GNU General Public License v3.0
21 stars 11 forks source link

The following layers were not correctly generated. #46

Open christro opened 1 month ago

christro commented 1 month ago

I installed SAGA GIS 9.4.0 in the Applications folder and tested the installation. It works well.

After this I installed the "Processing Saga NextGen Provider" and defined the SAGA folder as "/Applications/SAGA.app/Contents/MacOS". After restarting QGIS and testing the 'K-means clustering for grids' I get the following error message

QGIS version: 3.34.6-Prizren QGIS code revision: 623828f58c2 Qt version: 5.15.2 Python version: 3.9.5 GDAL version: 3.3.2 GEOS version: 3.9.1-CAPI-1.14.2 PROJ version: Rel. 8.1.1, September 1st, 2021 PDAL version: 2.3.0 (git-version: Release) SAGA Next Gen version: 1.0.0 Algorithm started at: 2024-05-09T17:37:57 Algorithm 'K-means clustering for grids' starting… Input parameters: { 'CLUSTER' : 'TEMPORARY_OUTPUT', 'GRIDS' : ['/Users/chrischi/shared/planet/buchsee/20240427_Buchsee_psscene_analytic_8b_sr_udm2/composite.tif'], 'INITIALIZE' : 0, 'MAXITER' : 10, 'METHOD' : 1, 'NCLUSTER' : 10, 'NORMALISE' : False, 'OLDVERSION' : False, 'STATISTICS' : 'TEMPORARY_OUTPUT', 'UPDATEVIEW' : True }

io_gdal 0 -TRANSFORM 1 -RESAMPLING 3 -GRIDS "/private/var/folders/rs/vv61nw9j6dz24012j33665p80000gn/T/processing_yioHqc/98d2b48dd8fa411fa4f0e83fe42b4748/composite.sgrd" -FILES "/Users/chrischi/shared/planet/buchsee/20240427_Buchsee_psscene_analytic_8b_sr_udm2/composite.tif" imagery_classification "1" -GRIDS "/private/var/folders/rs/vv61nw9j6dz24012j33665p80000gn/T/processing_yioHqc/98d2b48dd8fa411fa4f0e83fe42b4748/composite.sgrd" -METHOD 1 -NCLUSTER 10 -MAXITER 10 -NORMALISE false -INITIALIZE 0 -OLDVERSION false -UPDATEVIEW true -CLUSTER "/private/var/folders/rs/vv61nw9j6dz24012j33665p80000gn/T/processing_yioHqc/0fb5d547bae3461da2261069123e1595/CLUSTER.sdat" -STATISTICS "/private/var/folders/rs/vv61nw9j6dz24012j33665p80000gn/T/processing_yioHqc/f68fa534f0e5408bb7b8a0245ff849fc/STATISTICS.dbf"



SAGA Version: 9.4.0

ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/libltidsdk.9.dylib Referenced from: <76680EF2-0E12-32EC-A049-5E9E7C6AD1AD> /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib Reason: tried: '/usr/local/lib/libltidsdk.9.dylib' (no such file), '/usr/lib/libltidsdk.9.dylib' (no such file, not in dyld cache) ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/libltidsdk.9.dylib Referenced from: <76680EF2-0E12-32EC-A049-5E9E7C6AD1AD> /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib Reason: tried: '/usr/local/lib/libltidsdk.9.dylib' (no such file), '/usr/lib/libltidsdk.9.dylib' (no such file, not in dyld cache) ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_ECW_JP2ECW.dylib, 0x0001): symbol not found in flat namespace 'ZN14GDALPamDataset10FlushCacheEv' ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_ECW_JP2ECW.dylib, 0x0001): symbol not found in flat namespace 'ZN14GDALPamDataset10FlushCacheEv' ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/liblti_lidar_dsdk.1.dylib Referenced from: /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib Reason: tried: '/usr/local/lib/liblti_lidar_dsdk.1.dylib' (no such file), '/usr/lib/liblti_lidar_dsdk.1.dylib' (no such file, not in dyld cache) ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/liblti_lidar_dsdk.1.dylib Referenced from: /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib Reason: tried: '/usr/local/lib/liblti_lidar_dsdk.1.dylib' (no such file), '/usr/lib/liblti_lidar_dsdk.1.dylib' (no such file, not in dyld cache) ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/libltidsdk.9.dylib Referenced from: <76680EF2-0E12-32EC-A049-5E9E7C6AD1AD> /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib Reason: tried: '/usr/local/lib/libltidsdk.9.dylib' (no such file), '/usr/lib/libltidsdk.9.dylib' (no such file, not in dyld cache) ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/libltidsdk.9.dylib Referenced from: <76680EF2-0E12-32EC-A049-5E9E7C6AD1AD> /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib Reason: tried: '/usr/local/lib/libltidsdk.9.dylib' (no such file), '/usr/lib/libltidsdk.9.dylib' (no such file, not in dyld cache) ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_ECW_JP2ECW.dylib, 0x0001): symbol not found in flat namespace 'ZN14GDALPamDataset10FlushCacheEv' ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_ECW_JP2ECW.dylib, 0x0001): symbol not found in flat namespace 'ZN14GDALPamDataset10FlushCacheEv' ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/liblti_lidar_dsdk.1.dylib Referenced from: /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib Reason: tried: '/usr/local/lib/liblti_lidar_dsdk.1.dylib' (no such file), '/usr/lib/liblti_lidar_dsdk.1.dylib' (no such file, not in dyld cache) ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/liblti_lidar_dsdk.1.dylib Referenced from: /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib Reason: tried: '/usr/local/lib/liblti_lidar_dsdk.1.dylib' (no such file), '/usr/lib/liblti_lidar_dsdk.1.dylib' (no such file, not in dyld cache) ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/5482 ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/5936 ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/3978 ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/2193 ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/5482 ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/5936 ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/3978 ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/2193


library path: /Applications/SAGA.app/Contents/Tools/ library path: /Applications/SAGA.app/Contents/Tools/ library name: libio_gdal library : io_gdal tool : Import Raster identifier : 0 author : O.Conrad (c) 2007 (A.Ringeler) processors : 8 [8]


[Import Raster] Execution started...


[Import Raster] Parameters:

Grids: No objects Files: "/Users/chrischi/shared/planet/buchsee/20240427_Buchsee_psscene_analytic_8b_sr_udm2/composite.tif" Multiple Bands Output: automatic Subsets: Select from Multiple Bands: Transformation: true Resampling: B-Spline Interpolation Extent: original

[Error] Dataset creation failed: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/2193

Dataset: /Users/chrischi/shared/planet/buchsee/20240427_Buchsee_psscene_analytic_8b_sr_udm2/composite.tif

Driver: GTiff

Bands: 8

Rows: 2911

Columns: 1875

loading: composite [1/8]


total execution time: 1000 milliseconds (01s)

[Import Raster] Execution succeeded (01s)

Saving grid collection: /private/var/folders/rs/vv61nw9j6dz24012j33665p80000gn/T/processing_yioHqc/98d2b48dd8fa411fa4f0e83fe42b4748/composite.sgrd...

okay



SAGA Version: 9.4.0

ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/libltidsdk.9.dylib Referenced from: <76680EF2-0E12-32EC-A049-5E9E7C6AD1AD> /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib Reason: tried: '/usr/local/lib/libltidsdk.9.dylib' (no such file), '/usr/lib/libltidsdk.9.dylib' (no such file, not in dyld cache) ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/libltidsdk.9.dylib Referenced from: <76680EF2-0E12-32EC-A049-5E9E7C6AD1AD> /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib Reason: tried: '/usr/local/lib/libltidsdk.9.dylib' (no such file), '/usr/lib/libltidsdk.9.dylib' (no such file, not in dyld cache) ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_ECW_JP2ECW.dylib, 0x0001): symbol not found in flat namespace 'ZN14GDALPamDataset10FlushCacheEv' ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_ECW_JP2ECW.dylib, 0x0001): symbol not found in flat namespace 'ZN14GDALPamDataset10FlushCacheEv' ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/liblti_lidar_dsdk.1.dylib Referenced from: /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib Reason: tried: '/usr/local/lib/liblti_lidar_dsdk.1.dylib' (no such file), '/usr/lib/liblti_lidar_dsdk.1.dylib' (no such file, not in dyld cache) ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/liblti_lidar_dsdk.1.dylib Referenced from: /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib Reason: tried: '/usr/local/lib/liblti_lidar_dsdk.1.dylib' (no such file), '/usr/lib/liblti_lidar_dsdk.1.dylib' (no such file, not in dyld cache) ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/libltidsdk.9.dylib Referenced from: <76680EF2-0E12-32EC-A049-5E9E7C6AD1AD> /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib Reason: tried: '/usr/local/lib/libltidsdk.9.dylib' (no such file), '/usr/lib/libltidsdk.9.dylib' (no such file, not in dyld cache) ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/libltidsdk.9.dylib Referenced from: <76680EF2-0E12-32EC-A049-5E9E7C6AD1AD> /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MrSID.dylib Reason: tried: '/usr/local/lib/libltidsdk.9.dylib' (no such file), '/usr/lib/libltidsdk.9.dylib' (no such file, not in dyld cache) ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_ECW_JP2ECW.dylib, 0x0001): symbol not found in flat namespace 'ZN14GDALPamDataset10FlushCacheEv' ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_ECW_JP2ECW.dylib, 0x0001): symbol not found in flat namespace 'ZN14GDALPamDataset10FlushCacheEv' ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/liblti_lidar_dsdk.1.dylib Referenced from: /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib Reason: tried: '/usr/local/lib/liblti_lidar_dsdk.1.dylib' (no such file), '/usr/lib/liblti_lidar_dsdk.1.dylib' (no such file, not in dyld cache) ERROR 1: dlopen(/Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib, 0x0001): Library not loaded: @rpath/gdalplugins/3rdparty/liblti_lidar_dsdk.1.dylib Referenced from: /Applications/QGIS-LTR.app/Contents/MacOS/lib/gdalplugins/gdal_MG4Lidar.dylib Reason: tried: '/usr/local/lib/liblti_lidar_dsdk.1.dylib' (no such file), '/usr/lib/liblti_lidar_dsdk.1.dylib' (no such file, not in dyld cache) ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/5482 ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/5936 ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/3978 ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/2193 ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/5482 ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/5936 ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/3978 ERROR 1: PROJ: proj_create: no database context specified ERROR 1: Cannot parse CRS http://www.opengis.net/def/crs/EPSG/0/2193


library path: /Applications/SAGA.app/Contents/Tools/ library path: /Applications/SAGA.app/Contents/Tools/ library name: libimagery_classification library : imagery_classification tool : K-Means Clustering for Grids identifier : 1 author : O.Conrad (c) 2001 processors : 8 [8]


Loading grid: /private/var/folders/rs/vv61nw9j6dz24012j33665p80000gn/T/processing_yioHqc/98d2b48dd8fa411fa4f0e83fe42b4748/composite.sgrd... failed [K-Means Clustering for Grids] Execution started... K-Means Clustering for Grids: Input Error [GRIDS] Grids [Error] executing tool: K-Means Clustering for Grids Execution completed in 15.83 seconds Results: {'CLUSTER': '/private/var/folders/rs/vv61nw9j6dz24012j33665p80000gn/T/processing_yioHqc/0fb5d547bae3461da2261069123e1595/CLUSTER.sdat', 'STATISTICS': '/private/var/folders/rs/vv61nw9j6dz24012j33665p80000gn/T/processing_yioHqc/f68fa534f0e5408bb7b8a0245ff849fc/STATISTICS.dbf'}

Loading resulting layers The following layers were not correctly generated. • /private/var/folders/rs/vv61nw9j6dz24012j33665p80000gn/T/processing_yioHqc/0fb5d547bae3461da2261069123e1595/CLUSTER.sdat • /private/var/folders/rs/vv61nw9j6dz24012j33665p80000gn/T/processing_yioHqc/f68fa534f0e5408bb7b8a0245ff849fc/STATISTICS.dbf You can check the 'Log Messages Panel' in QGIS main window to find more information about the execution of the algorithm.

The log messages are showing the following:

WARNING Cannot open /private/var/folders/rs/vv61nw9j6dz24012j33665p80000gn/T/processing_yioHqc/f68fa534f0e5408bb7b8a0245ff849fc/STATISTICS.dbf ().()