New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proj.db not found for GDAL tools on QGIS 3.16 Mac all-in-one installer #39801
Comments
Confirmed here too on Catalina. |
@PeterPetrik This is a pretty serious regression and would be good to fix this for the next point release. |
@spatialthoughts . where do you have your application installed? have you relocated it? |
@spatialthoughts as a workaround, can you please open qgis python console and type
and retry to run the algorithm? |
Thanks. That Works. Will use the workaround for now. Hopefully, it's an easy fix for the next release. |
i can think of two ways... do you use these algorithms directly (without qgis/processing)? one solution would allow it too, other one will not... |
By directly, you mean running gdalwarp on the command line? I do that occasionally, but if that doesn't work there are ways to install those tools via other means or set an environment variable like here. Making it work via processing toolbox without any workarounds would be the top priority for me. |
because I can either set PROJ_LIB in qgis environment (works only from QGIS) or create a wrapper bash script for every GDAL binary (will work from command line too) |
It would be awesome to get it working properly everywhere. Is it possible to roll out the simple fix (proj_lib in qgis) for 3.16.1 and work towards the global fix for a later release? |
@spatialthoughts can you try in tomorrow's nightly build? should be fixed "correctly" so it should work from command line too |
Just ran into this problem under Monterey and QGIS 3.22.2-Bialowieza Trying to merge about 9 layers. Can confirm that the above appears to work and make the error message go away. So....this is still an issue a few years later (or it came back) |
this is still an issue with QGIS 3.24.0-Tisler |
Having the same problem with all 3.22 versions, including LTR.
|
Same here using Monterey and QGIS 3.26.3. |
I am having this same issue. 3.26.3 on Monterey 12.6.
This seems to fix it. |
I'm having this same problem when I try the Raster > Merge command on QGIS 3.22.8 on Mac OS 10.15.7. --Edit: Fixed; problem is path to app is different for more recent QGIS: By the way, is there any way to update the Proj that QGIS uses? Mine seems to be using version 3 whereas the current version is 9. |
I' m having the same issue on QGIS 3.28 LTR with MacOS 14.0. |
The problem still exists in QGIS-LTR 3.28.12-Firenze on macOS 13.6. The solution suggested above in #39801 (comment) does not work - at least for QGIS-LTR, since it will be installed as QGIG-LTR.app. The path must probably be adjusted accordingly (though I did not try using QGIS Python console) There is another solution: In QGIS Options you can specify the correct path under System > Environment by overwriting the PROJ_LIB variabel with the correct path (restart required) - see screenshot below: This will fix the problem perhaps more permanently. |
gdalwarp give an error on QGIS3.16 Mac because it can't find proj.db. Same operation works fine in QGIS3.10 LTR package.
"ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db"
To reproduce
2.Processing -> Toolbox -> Warp (reproject)
QGIS and OS versions
The text was updated successfully, but these errors were encountered: