[GeoNode-users] RHEL 7
Vázquez López, José Manuel (DGITIP-Serv. Sist.Inf. Corporativos)
jm.vazquez.lopez at cfnavarra.es
Thu Jan 12 03:24:30 PST 2017
lxml==3.7.0
De: Francesco Bartoli [mailto:xbartolone at gmail.com]
Enviado el: jueves, 12 de enero de 2017 12:20
Para: Vázquez López, José Manuel (DGITIP-Serv. Sist.Inf. Corporativos)
CC: geonode-users at lists.osgeo.org
Asunto: Re: [GeoNode-users] RHEL 7
There might be issue with the lxml dependency. Let's see the current version by running:
$ pip freeze | grep lxml
Sent from Nylas N1<https://link.nylas.com/link/43o9gzlmd58gqwkxv3di3wjcc/local-a2f4d0e9-0fb4/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=>, the extensible, open source mail client.
[https://link.nylas.com/open/43o9gzlmd58gqwkxv3di3wjcc/local-a2f4d0e9-0fb4?r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=]
On gen 12 2017, at 12:14 pm, Vázquez López, José Manuel (DGITIP-Serv. Sist.Inf. Corporativos) <jm.vazquez.lopez at cfnavarra.es<mailto:jm.vazquez.lopez at cfnavarra.es>> wrote:
The manage.py script is:
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "geonode.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
I run python manage.py migrate, and I can see:
geonode at centjeedes12:geonode$ python manage.py migrate
Instrucción Ilegal
Jan 12 12:11:22 centjeedes12 kernel: traps: python[3801] trap invalid opcode ip:7fb25a4ebbee sp:7fff0c815e78 error:0 in etree.so[7fb25a2cd000+4b7000]
De: geonode-users [mailto:geonode-users-bounces at lists.osgeo.org] En nombre de Francesco Bartoli
Enviado el: jueves, 12 de enero de 2017 12:05
Para: Vázquez López, José Manuel (DGITIP-Serv. Sist.Inf. Corporativos)
CC: geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
Asunto: Re: [GeoNode-users] RHEL 7
Then which manage.py command are you running from there? What error are you facing?
Sent from Nylas N1<https://link.nylas.com/link/43o9gzlmd58gqwkxv3di3wjcc/local-60fab480-58a3/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=>, the extensible, open source mail client.
[https://link.nylas.com/open/43o9gzlmd58gqwkxv3di3wjcc/local-60fab480-58a3?r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=]
On gen 12 2017, at 11:43 am, Vázquez López, José Manuel (DGITIP-Serv. Sist.Inf. Corporativos) <jm.vazquez.lopez at cfnavarra.es<mailto:jm.vazquez.lopez at cfnavarra.es>> wrote:
No, I’m in the same directory:
geonode at centjeedes12:geonode$ pwd
/home/geonode/geonode
geonode at centjeedes12:geonode$ ls -l
total 132
-rw-r--r-- 1 root root 2687 ene 11 10:07 AUTHORS
-rw-r--r-- 1 root root 120 ene 11 10:07 CONTRIBUTING
-rw-r--r-- 1 root root 758 ene 11 10:07 dev_config.yml
-rw-r--r-- 1 root root 547 ene 11 10:07 docker-compose.override.yml
-rw-r--r-- 1 root root 1127 ene 11 10:07 docker-compose.yml
-rw-r--r-- 1 root root 199 ene 11 10:07 Dockerfile
drwxr-xr-x 7 root root 4096 ene 11 10:07 docs
drwxr-xr-x 22 root root 4096 ene 12 09:54 geonode
drwxr-xr-x 2 root root 124 ene 11 10:10 GeoNode.egg-info
-rw-r--r-- 1 root root 35147 ene 11 10:07 license.txt
-rw-r--r-- 1 root root 1448 ene 11 10:07 Makefile
-rwxr-xr-x 1 root root 1064 ene 11 10:07 manage.py
-rw-r--r-- 1 root root 325 ene 11 10:07 MANIFEST.in
drwxr-xr-x 8 root root 116 ene 11 10:07 package
-rw-r--r-- 1 root root 22331 ene 11 10:07 pavement.py
-rw-r--r-- 1 root root 10190 ene 11 10:07 README
lrwxrwxrwx 1 root root 6 ene 11 10:07 README.rst -> README
-rw-r--r-- 1 root root 1569 ene 11 10:07 requirements.txt
drwxr-xr-x 8 root root 90 ene 11 10:07 scripts
-rw-r--r-- 1 root root 62 ene 11 10:07 setup.cfg
-rw-r--r-- 1 root root 4712 ene 11 10:07 setup.py
De: Francesco Bartoli [mailto:xbartolone at gmail.com]
Enviado el: jueves, 12 de enero de 2017 11:28
Para: Vázquez López, José Manuel (DGITIP-Serv. Sist.Inf. Corporativos)
CC: geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
Asunto: Re: [GeoNode-users] RHEL 7
So now is or isn't the error related to not being able to find the manage.py script? Is something else?
Sent from Nylas N1<https://link.nylas.com/link/43o9gzlmd58gqwkxv3di3wjcc/local-3ac7d7af-88ee/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=>, the extensible, open source mail client.[https://link.nylas.com/open/43o9gzlmd58gqwkxv3di3wjcc/local-3ac7d7af-88ee?r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=]
On gen 12 2017, at 10:38 am, Vázquez López, José Manuel (DGITIP-Serv. Sist.Inf. Corporativos) <jm.vazquez.lopez at cfnavarra.es<mailto:jm.vazquez.lopez at cfnavarra.es>> wrote:
I think the script can’t find somewhat…
This is my current PATH:
/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/opt/java/bin:/home/geonode/.local/bin:/home/geonode/bin
If I type python, the interpreter starts correctly
But, if I type python manage.py or python manage.py migrate or python manage.py tururu… I obtain the error.
Thanks
Jose
De: geonode-users [mailto:geonode-users-bounces at lists.osgeo.org] En nombre de Francesco Bartoli
Enviado el: miércoles, 11 de enero de 2017 15:36
Para: Vázquez López, José Manuel (DGITIP-Serv. Sist.Inf. Corporativos)
CC: geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
Asunto: Re: [GeoNode-users] RHEL 7
Yes it is but you don’t need to move any file. Please make sure to have python and pip commands in your PATH before running:
$ pip install -e .
and
$ python manage.py <something>
Again each of them has to be executed from /home/geonode/geonode
Francesco
Il giorno 11/gen/2017, alle ore 10:55, Vázquez López, José Manuel (DGITIP-Serv. Sist.Inf. Corporativos) <jm.vazquez.lopez at cfnavarra.es<mailto:jm.vazquez.lopez at cfnavarra.es>> ha scritto:
Yes, this repo works.
Continuing the manual, I should modify the local_settings.py.sample file and save it as local_settings.py, but that file doesn’t exist.
I can see two other: local_settings.py.geoserver.sample and local_settings.py.qgis.sample, so I modified the geoserver one and save it as local_settings.py
Is this correct?
Then, the manage.py is not in /home/geonode/geonode/genode directory, instead it is in /home/geonode/geonode, so I have copied it to /home/geonode/geonode/genode in order to execute it (and obtain the same error as above)
Is this correct?
Thanks
Jose
De: Francesco Bartoli [mailto:xbartolone at gmail.com]
Enviado el: lunes, 09 de enero de 2017 16:14
Para: Vázquez López, José Manuel (DGITIP-Serv. Sist.Inf. Corporativos)
CC: geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
Asunto: Re: [GeoNode-users] RHEL 7
Have you already tried with this repo http://rpm.pbone.net/index.php3?stat=3&search=libxslt-python&srodzaj=3&dist[]=94<http://rpm.pbone.net/index.php3?stat=3&search=libxslt-python&srodzaj=3&dist%5B%5D=94&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=>?
Il giorno 09/gen/2017, alle ore 13:10, Vázquez López, José Manuel (DGITIP-Serv. Sist.Inf. Corporativos) <jm.vazquez.lopez at cfnavarra.es<mailto:jm.vazquez.lopez at cfnavarra.es>> ha scritto:
Hi, Francesco.
Sorry about Christmas long break.
First, I Can’t find the proper libxslt-python package,
After do sudo yum install -y git gdal gdal-python geos python-pip python-imaging \
python-virtualenv python-devel gcc-c++ python-psycopg2 libxml2 \
libxml2-devel libxml2-python libxslt libxslt-devel libxslt-python,
I get this:
No existe disponible ningún paquete libxslt-python
The rest of packages seem to be installed.
Continuing the manual, I arrive at this point:
python manage.py migrate with this result:
Instrucción ilegal
And, I can see this message in /var/log/messages:
Jan 9 13:06:24 centjeedes12 kernel: traps: python[62459] trap invalid opcode ip:7f938dbbabee sp:7fff2b18c058 error:0 in etree.so[7f938d99c000+4b7000]
Thanks
Jose
De: "xbartolone at gmail.com<mailto:xbartolone at gmail.com>" [mailto:xbartolone at gmail.com]
Enviado el: jueves, 22 de diciembre de 2016 17:06
Para: Vázquez López, José Manuel (DGITIP-Serv. Sist.Inf. Corporativos)
CC: "geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>"
Asunto: Re: [GeoNode-users] RHEL 7
Hi Josè,
What kind of issues are you facing?
Francesco
Inviato da TypeApp<http://www.typeapp.com/r&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=> per iPhone
On 22 dic 2016 at 16:29<x-apple-data-detectors://1&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=>, Vázquez López, José Manuel (DGITIP-Serv. Sist.Inf. Corporativos) <jm.vazquez.lopez at cfnavarra.es<mailto:jm.vazquez.lopez at cfnavarra.es>> wrote:
Hi,
Has anyone installed geonode over RHEL 7?
I'm having trouble installing it, following the guide http://docs.geonode.org/en/master/tutorials/install_and_admin/setup_on_centos/setup_centos.html<http://docs.geonode.org/en/master/tutorials/install_and_admin/setup_on_centos/setup_centos.html&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=>
Thanks
José Manuel Vázquez
Lurraldeko Informazio Sistemen Atala / Sección de Sistemas de Información Territorial
Informazio Sistema Korporatiboen Zerbitzua / Servicio de Sistemas de Información Corporativos
Informatika, Telekomunikazio eta Berrikuntza Publikoaren Zuzendaritza Nagusia / Dirección General de Informática, Telecomunicaciones e Innovación Pública
Lehendakaritzako, Funtzio Publikoko, Barneko eta Justiziako Departamentua / Departamento de Presidencia, Función Pública, Interior y Justicia
Nafarroako Gobernua Gobierno de Navarra
C/ Cabárceno, 6<x-apple-data-detectors://5&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=> - 3ª planta
31621 Sarriguren (Navarra)
e-mail: jm.vazquez.lopez at cfnavarra.es<mailto:jm.vazquez.lopez at cfnavarra.es>
teléfono: +34 848 426 169
Lantokiaren kokalekua / Localízame en
<https://administracionelectronica.navarra.es/ApiSitnaIFrames/VisorPunto.aspx?x=614672&y=4741153&detalles=Informatika%2C%20Telekomunikazio%20eta%20Berrikuntza%20Publikoaren%20Zuzendaritza%20Nagusia%20%2F%20Direcci%C3%B3n%20General%20de%20Inform%C3%A1tica%2C%20Telecomunicaciones%20e%20Innovaci%C3%B3n%20P%C3%BAblica&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=>
Antes de imprimir este mensaje, asegúrate de que es necesario. Proteger el medio ambiente está también en tu mano. Mesedez, gogoan izan ingurumenaren-inpaktua e-posta hau inprimatu baino lehen. Please consider your environmental responsibility before printing this e-mail.<https://administracionelectronica.navarra.es/ApiSitnaIFrames/VisorPunto.aspx?x=614672&y=4741153&detalles=Informatika%2C%20Telekomunikazio%20eta%20Berrikuntza%20Publikoaren%20Zuzendaritza%20Nagusia%20%2F%20Direcci%C3%B3n%20General%20de%20Inform%C3%A1tica%2C%20Telecomunicaciones%20e%20Innovaci%C3%B3n%20P%C3%BAblica&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=>
<https://administracionelectronica.navarra.es/ApiSitnaIFrames/VisorPunto.aspx?x=614672&y=4741153&detalles=Informatika%2C%20Telekomunikazio%20eta%20Berrikuntza%20Publikoaren%20Zuzendaritza%20Nagusia%20%2F%20Direcci%C3%B3n%20General%20de%20Inform%C3%A1tica%2C%20Telecomunicaciones%20e%20Innovaci%C3%B3n%20P%C3%BAblica&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=>
_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/geonode-users<https://administracionelectronica.navarra.es/ApiSitnaIFrames/VisorPunto.aspx?x=614672&y=4741153&detalles=Informatika%2C%20Telekomunikazio%20eta%20Berrikuntza%20Publikoaren%20Zuzendaritza%20Nagusia%20%2F%20Direcci%C3%B3n%20General%20de%20Inform%C3%A1tica%2C%20Telecomunicaciones%20e%20Innovaci%C3%B3n%20P%C3%BAblica&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=&r=Z2Vvbm9kZS11c2Vyc0BsaXN0cy5vc2dlby5vcmc=&r=am0udmF6cXVlei5sb3BlekBjZm5hdmFycmEuZXM=>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170112/9b3a46ba/attachment-0001.html>
More information about the geonode-users
mailing list