Re: [gdal-dev] Test problem After Merge

2024-04-30 Thread Even Rouault via gdal-dev
Andrew, interestingly adding the debug traces I suggested to you to the GDAL CI MacOS 14 build witch no longer worked turns out to reveal the exact same issue as yours! (funny that I didn't even consider doing that myself ! interesting case where helping others actually is helping oneself

Re: [gdal-dev] Test problem After Merge

2024-04-30 Thread Andrew Bell via gdal-dev
On Tue, Apr 30, 2024 at 9:18 AM Even Rouault wrote: Even, > Also try in a Python interpreter "from osgeo import gdal" to see if the > exception is more verbose. If your GDAL lib links against libraries that > are not in the default library search path, GDAL command line utilities > might still

Re: [gdal-dev] Test problem After Merge

2024-04-30 Thread Even Rouault via gdal-dev
Andrew, first, check that you can use the command line utilities like gdalinfo, so you may need to adjust your PATH, DYLD_LIBRARY_PATH and GDAL_DATA. The Bash script scripts/setdevenv.sh might help setting up stuff (not totally sure if it works on Mac though). Also try in a Python

Re: [gdal-dev] Test problem After Merge

2024-04-30 Thread Andrew Bell via gdal-dev
Hi all, I removed all files from the build and started over, building using the same procedure that I used with the source from a couple of weeks ago without problem and now I get the following error: (gdal) [master] $ pytest -v autotest/utilities/test_gdal_viewshed.py ImportError while loading

Re: [gdal-dev] Test problem After Merge

2024-04-29 Thread Even Rouault via gdal-dev
Andrew, Perhaps you're running updated GDAL Python bindings against a libgdal that hasn't been rebuilt recently? OSRIsDerivedProjected() has been added recently both in libgdal and the bindings Even Le 29/04/2024 à 23:27, Andrew Bell via gdal-dev a écrit : Hi, I just merged master into my

[gdal-dev] Test problem After Merge

2024-04-29 Thread Andrew Bell via gdal-dev
Hi, I just merged master into my branch and I'm now getting an error when trying to run a test. If someone might know what happened, I'd appreciate a tip. (gdal) [master] $ pytest -v autotest/utilities/test_gdal_viewshed.py ImportError while loading conftest