[Qgis-user] GDAL problems on Mac 10.14.6

RMG reikogoodwin at gmail.com
Sun May 31 17:40:05 PDT 2020


Hello Andrea,

Thanks for your response, but I am also getting the following error
messages. It is not letting me do a lot of things like clipping,
classifying, and modifying ROIs.

2020-05-24 22.18.35.803677
SemiAutomaticClassificationPlugin.core.utils-getGDALForMac 5684
getGDALForMac: /Library/Frameworks/GDAL.framework/Versions/2.4/Programs/
2020-05-24 22.18.36.422631
SemiAutomaticClassificationPlugin.core.utils-GDALCopyRaster 5799 GDAL
error:: b'ERROR 1:
dlopen(/Applications/QGIS3.12.app/Contents/Resources/gdal/gdalplugins/2.4/gdal_MrSID.dylib,
1): Library not loaded: @executable_path/lib/libltidsdk.dylib\n  Referenced
from:
/Applications/QGIS3.12.app/Contents/Resources/gdal/gdalplugins/2.4/gdal_MrSID.dylib\n
 Reason: image not found\nERROR 1:
dlopen(/Applications/QGIS3.12.app/Contents/Resources/gdal/gdalplugins/2.4/gdal_MrSID.dylib,
1): Library not loaded: @executable_path/lib/libltidsdk.dylib\n  Referenced
from:
/Applications/QGIS3.12.app/Contents/Resources/gdal/gdalplugins/2.4/gdal_MrSID.dylib\n
 Reason: image not found\nERROR 1:
dlopen(/Applications/QGIS3.12.app/Contents/Resources/gdal/gdalplugins/2.4/gdal_ECW_JP2ECW.dylib,
1): Library not loaded: @executable_path/lib/libNCSEcw.dylib\n  Referenced
from:
/Applications/QGIS3.12.app/Contents/Resources/gdal/gdalplugins/2.4/gdal_ECW_JP2ECW.dylib\n
 Reason: image not found\nERROR 1:
dlopen(/Applications/QGIS3.12.app/Contents/Resources/gdal/gdalplugins/2.4/gdal_ECW_JP2ECW.dylib,
1): Library not loaded: @executable_path/lib/libNCSEcw.dylib\n  Referenced
from:
/Applications/QGIS3.12.app/Contents/Resources/gdal/gdalplugins/2.4/gdal_ECW_JP2ECW.dylib\n
 Reason: image not found\nERROR 1:
dlopen(/Applications/QGIS3.12.app/Contents/Resources/gdal/gdalplugins/2.4/gdal_MG4Lidar.dylib,
1): Library not loaded: @executable_path/lib/liblti_lidar_dsdk.1.dylib\n
 Referenced from:
/Applications/QGIS3.12.app/Contents/Resources/gdal/gdalplugins/2.4/gdal_MG4Lidar.dylib\n
 Reason: image not found\nERROR 1:
dlopen(/Applications/QGIS3.12.app/Contents/Resources/gdal/gdalplugins/2.4/gdal_MG4Lidar.dylib,
1): Library not loaded: @executable_path/lib/liblti_lidar_dsdk.1.dylib\n
 Referenced from:
/Applications/QGIS3.12.app/Contents/Resources/gdal/gdalplugins/2.4/gdal_MG4Lidar.dylib\n
 Reason: image not found\n'
2020-05-24 22.18.36.437004
SemiAutomaticClassificationPlugin.core.utils-GDALCopyRaster 5813 image:
/private/var/folders/1q/mm9yvt8j22z4_fymnbxb9c6r0000gn/T/semiautomaticclassification/20200524_221050346577/20200524_221832858872previewtemp.tif
2020-05-24 22.18.36.692546
SemiAutomaticClassificationPlugin.core.utils-rasterSymbol 648
/private/var/folders/1q/mm9yvt8j22z4_fymnbxb9c6r0000gn/T/semiautomaticclassification/20200524_221050346577/20200524_221832858872previewtemp.tif
2020-05-24 22.18.36.715547
SemiAutomaticClassificationPlugin.core.utils-moveLayerTop 5462 layer:
20200524_221832858872previewtemp.tif
2020-05-24 22.18.36.737703
SemiAutomaticClassificationPlugin.core.utils-createGroup 5414 group:
Class_temp_group
2020-05-24 22.18.36.750883
SemiAutomaticClassificationPlugin.core.utils-selectLayerbyName 5506 layer
selected: None
2020-05-24 22.18.36.764598
SemiAutomaticClassificationPlugin.core.utils-setGroupVisible 5437 group:
<qgis._core.QgsLayerTreeGroup object at 0x160147dc8>
2020-05-24 22.18.36.777557
SemiAutomaticClassificationPlugin.core.utils-setGroupExpanded 5448 group:
<qgis._core.QgsLayerTreeGroup object at 0x160147dc8>
2020-05-24 22.18.36.894760
SemiAutomaticClassificationPlugin.dock.scpdock-createPreview 196 <<<
PREVIEW created: 20200524_221832858872previewtemp.tif
2020-05-24 22.19.05.074495
SemiAutomaticClassificationPlugin.core.utils-selectTabSettings 7125 tab
selected
-----------------------------

Message: 2
Date: Sun, 31 May 2020 02:36:16 -0700 (MST)
From: Andrea Giudiceandrea <andreaerdna at libero.it>
To: qgis-user at lists.osgeo.org
Subject: Re: [Qgis-user] GDAL problems on Mac 10.14.6
Message-ID: <1590917776554-0.post at n6.nabble.com>
Content-Type: text/plain; charset=us-ascii

RMG wrote
> I get the below messages when I use SCP.
> 2020-05-24T01:22:59     WARNING    warning:/Users/rmg/Library/Application
>
Support/QGIS/QGIS3/profiles/default/python/plugins/SemiAutomaticClassificationPlugin/core/utils.py:1298:
> DeprecationWarning:
>              time.clock has been deprecated in Python 3.3 and will be
> removed from Python 3.8: use time.perf_counter or time.process_time
> instead

Hi Reiko Matsuda Goodwin,
as Luca Congedo already replied to your question on the
Semi-Automatic Classification Plugin Facebook Group, this is only a Python
deprecation warning not related to any problems you encounter when using the
plugin.
It only states that time.clock() function will not work in Python 3.8, but
for now it works as expected.
It is also not related to GDAL.

Anyway the use of time.clock() in the code has already been fixed
https://github.com/semiautomaticgit/SemiAutomaticClassificationPlugin/pull/102
and will not appear with the next version of the Semi-Automatic
Classification Plugin.

Regards.

Andrea



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html


******************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20200531/35f94918/attachment.html>


More information about the Qgis-user mailing list