-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Cannot find proj.db in QGIS-LTR 3.22; PROJ_LIB env variable not set #151
Comments
Confirm this is still a problem with the latest LTR 3.22.8 as well. |
Hi, Since it is still a problem in 3.22.8, how can I merge rasters in 3.22.8? |
Same issue on QGIS version 3.32.2-Lima running on MacOS 10.13.6. I looked around the code for Possible regressionThe only place where QGIS-Mac-Packager/qgis_bundle/recipes/python_pyproj/recipe.sh Lines 38 to 40 in 1597c04
The sed command in line 40 adds _patch_proj_lib to a line matching from pyproj import _datadir inside pyproj/__init__.py . Locally, this file is in/Applications/QGIS.app/Contents/Resources/python/site-packages/pyproj-3.2.0-py3.9-macosx-10.13.0-x86_64.egg/pyproj/__init__.py .However, the line from pyproj import _datadir is nowhere to be found as it seems it was removed from pyproj a while back. Therefore, sed does nothing and the patch is not imported.
Could it be that |
Since the corresponding issue(s) in QGIS have been closed, I should report this here:
qgis/QGIS#39801
qgis/QGIS#48574
I have the same problem in all QGIS 3.22 versions on MacOS, including LTR. Trying to run etc. gdalwarp results in
I suspect this is because the PROJ_LIB env variable is not set in QGIS python environment. All the other GDAL variables are set correctly:
There is a merged commit 18f8180 that should have fixed this issue. The commit seems to set env variables, including PROJ_LIB.
However, in 3.22 PROJ_LIB is still not set.
The text was updated successfully, but these errors were encountered: