-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Wrong Python default path in QGIS server on macOS #29843
Comments
Author Name: Giovanni Manghi (@gioman)
|
Can you please test with https://qgis.org/downloads/macos/nightly2/qgis_nightly2_master_20200923_062253.dmg |
cc @gioman |
@PeterPetrik I never tested QGIS Server on macOS, I guess I can try. |
I believe this was fixed in QGIS 3.16, cannot we close the issue? @gioman why the Feedback was removed, is there any issue with the implementation ATM? |
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". |
Author Name: vince - (vince -)
Original Redmine Issue: 22029
Affected QGIS version: 3.6.2
Redmine category:qgis_server
It appears that QGis server layout is broken when compiled on MacOS. Frameworks are expected in @loader_path/../../Frameworks/ whereas the right access path is @loader_path/../../../../Frameworks and for libraries instead of @loader_path/../lib this is @loader_path/../../lib. This is inconvenient, though fixable using install_name_tool.
However, when QGIS server starts, the path given to the Python interpreter is wrong, and that causes the server to fail
This path: '/Applications/MacPorts/Qgis3.app/Contents/MacOS/fcgi-bin/../Resources/python' is wrong. It should be '/Applications/MacPorts/Qgis3.app/Contents/MacOS/fcgi-bin/../../Resources/python'. So far I have failed to find out where this path was set (in order to correct it). Can anyone help?
The text was updated successfully, but these errors were encountered: