Git Product home page Git Product logo

Comments (6)

avnishb avatar avnishb commented on April 28, 2024

This is a known issue in the latest build. Also occurs in Ubuntu. We are investigating.
@andreisel @asmitaw @dattapm

from earthenterprise.

andreisel avatar andreisel commented on April 28, 2024

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.

tst-lsavoie avatar tst-lsavoie commented on April 28, 2024

@andreisel is this issue related to #36?

from earthenterprise.

andreisel avatar andreisel commented on April 28, 2024

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.

tst-lsavoie avatar tst-lsavoie commented on April 28, 2024

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.

tst-lsavoie avatar tst-lsavoie commented on April 28, 2024

It seems I don't have permission to assign this to myself, but I am working this issue.

from earthenterprise.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.