Comments (6)
This is a known issue in the latest build. Also occurs in Ubuntu. We are investigating.
@andreisel @asmitaw @dattapm
from earthenterprise.
It is different issue, I fixed this on Ubuntu build by adding into mod_wsgi_ge.conf (third_party/mod_wsgi/conf.d/mod_wsgi-ge.conf) a path to site-packages:
/opt/google/gepython/Python-2.7.6/lib/python2.7/site-packages
I believe that problem here is that RHEL 7 may have different python version, so that the path referenced in mod_wsgi_ge.conf is incorrect.
Seems there are two options:
A) bundle python and related libs, so we can use static path in mod_wsgi_ge.conf.
B) have template with placeholders for mod_wsgi_ge.conf and generate final mod_wsgi_ge.conf when deploying Server.
For now, we can just revert bundling of python. Need to only update third_party/SConscript, and third_party/mod_wsgi/conf.d/mod_wsgi-ge.conf
from earthenterprise.
@andreisel is this issue related to #36?
from earthenterprise.
No it is not related to #36. In OSS version, we unbundled bunch of 3rd party libs and use python from system.
I believe we just need to update https://github.com/google/earthenterprise/blob/master/earth_enterprise/src/third_party/mod_wsgi/conf.d/mod_wsgi-ge.conf. Should be generated when installing/deploying to use system-python version in python-path.
Suggestion can be verified on RHEL 7 by updating "python-path=/opt/google/gepython/Python-2.7.6/lib/python2.7/site-packages" in /opt/google/gehttpd/conf.d/mod_wsgi-ge.conf to use RHEL python versions. After building and deploying on RHEL 7, please check what path is to site-packages dir. in /opt/google/gepython/, and put that path to /opt/google/gehttpd/conf.d/mod_wsgi-ge.conf. Then restart geserver daemon and verify push/publish.
from earthenterprise.
Looks like simply changing "/opt/google/gepython/Python-2.7.6/lib/python2.7/site-packages" to "/opt/google/gepython/Python-2.7.5/lib/python2.7/site-packages" (note the python version number) does the trick.
from earthenterprise.
It seems I don't have permission to assign this to myself, but I am working this issue.
from earthenterprise.
Related Issues (20)
- Possible overflow in vector handling
- jumbled text on project dialog boxes
- stage_install fails if Fusion is installed
- Fusion Code does not check c++ vector size before accessing indexes
- Cannot create databases from Fusion UI
- Upgrade jquery to >= 3.5.0 for CVE-2020-11022 and CVE-2020-11023
- Possible null pointer dereference in earth_enterprise/src/fusion/fusionui/AssetChooser.cpp:431
- how to confirm https HOT 3
- OpenGEE server RPM creates incorrect home directories
- Setting an asset "Bad" sometimes blocks dependencies and sometimes doesn't
- CVE-2021-44228 security advisory HOT 1
- installed Google EC on my Audi
- scons: *** [build] Error 1 and Error 2 HOT 7
- Fusion- Preferences - asset manager tab, opening Resource editor default source paths crashes fusion with core dump
- Security Policy violation Binary Artifacts HOT 106
- gesystemmanager running for days
- GEE into Mattermost
- search for places or coordinates, not flying to location but dropping a pin only
- fusion 5.3.8 core dump if asset missing in project
- geeencryptdbroot fail to ncrypt dbroot.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from earthenterprise.