<div dir="ltr"><div>Hi Franceso,</div><div><br></div><div>Yes. I got it done. I was wrong, the site is actually pointing to GeoNode Production.</div><div><br></div><div>Thank you very much for your time, patience and help.</div><div><br></div><div>Now, I have Production and Development running smoothly in the same Virtualenv.</div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme<br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 8, 2018 at 4:37 PM, Julierme Pinheiro <span dir="ltr"><<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hi Francesco,</div><div><br></div><div>Yes, I did. And I was having a lot of issues will all commands paver reset, paver setup, paver sync and paver start.</div><div><br></div><div>Here what I did: as I installed GeoNode Production using [1], I decided to fall the setup for GeoNode Development according to [2].</div><div><br></div><div>I have GeoNode Production running in a virtualenv named geonode placed in /home/geonode/my_geonode (GeoNode Production)</div><div><br></div><div>And I have GeoNode Development running in the same virtualenv (geonode) placed in /home/geonode/geonode_proj (GeoNode Development)</div><div><br></div><div>After all setup for GeoNode Development which is up and running, without making any change to geonode.conf, I started tomcat8 and apache2 and realized that my GeoNode Production website is pointing to GeoNode Development website. Could you tell me why? I did not make any change at all to geonode.conf since the first time I started tomcat8 and apache2. But, anyway, I have made a lot of changes to geonode.conf, but I can not get Production pointing to the write database.</div><div><br></div><div>Any hint on that will be very appreciated.</div><div><br></div><div>Kind Regards</div><div><br></div><div>Julierme<br></div><div><br></div><div><br></div><div><br></div><div></div><div><br></div><div><br></div><div><br></div><div>[1] <a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html" target="_blank">http://docs.geonode.org/en/<wbr>master/tutorials/install_and_<wbr>admin/geonode_install/index.<wbr>html</a></div><div>[2] <a href="http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/create_geonode_db.html" target="_blank">http://docs.geonode.org/en/<wbr>master/tutorials/install_and_<wbr>admin/geonode_install/create_<wbr>geonode_db.html</a><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 8, 2018 at 3:08 AM, francesco bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Julierme,<div><br></div><div>did you run "paver setup" before at the beginning when you bootstrapped your dev environment?</div></div><div class="m_-5865816230686228202HOEnZb"><div class="m_-5865816230686228202h5"><br><div class="gmail_quote"><div dir="ltr">Il giorno mer 8 ago 2018 alle ore 00:28 Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@g<wbr>mail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Dear Francesco,</div><div><br></div><div>Thank you very much for your reply. I see. That was one of my mistakes. I was settings different environments for GeoNode Production (GP@2.8.0) and GeoNode Development (GD@2.8.0).</div><div><br></div><div>Now, Because I already have GP running smoothly, I assumed that the GP and GD requirements are installed and I checked one by one and I got only two requirements mismatching.<br></div><div><br></div><div>requirements already installed for GP <wbr> requirements for GD not installed <wbr> (requirements GP x GD)<br></div><div>pip freeze | grep -i Django</div><div>Django==1.8.19 <wbr> <wbr> Django==1.8.19 <wbr> <wbr> Match<br></div><div><br></div><div>pip freeze | grep -i six</div><div>six==1.10.0 <wbr> <wbr> six==1.10.0 <wbr> <wbr> Match</div><div>django-cuser==201 <wbr> django-cuser==2017.3.16 <wbr> Match</div><div>django-model-utils==3.1.1 <wbr> <wbr> django-model-utils==3.1.1 <wbr> Match</div><div>Shapely==1.5.17.post1 <wbr> <wbr> Shapely==1.5.17 <wbr> Match</div><div><b>OWSLib==0.15.0 <wbr> <wbr> OWSLib==0.16.0 </b> <wbr> <b>MisMatch</b></div><div>pyshp==1.2.12 <wbr> <wbr> pyshp==1.2.12 Match</div><div>celery==4.1.0 <wbr> <wbr> celery==4.1.0 <wbr> <wbr> Match<br></div><div>numpy==1.13.1 <wbr> <wbr> numpy==1.13.1 <wbr> <wbr> Match</div><div>proj==0.1.0 <wbr> <wbr> proj==0.1.0 <wbr> <wbr> Match</div><div><b>pyproj==1.9.5.1 <wbr> <wbr> pyproj==1.9.3 </b> <wbr> <wbr> <b>MisMatch</b></div><div>pygdal==2.2.1.3 <wbr> <wbr> pygdal==2.2.1.3 <wbr> <wbr> Match</div><div>inflection==0.3.1 <wbr> <wbr> inflection==0.3.1 <wbr> <wbr> Match</div><div>backports.functools-lru-cache=<wbr>=1.5 <wbr> backports.functools-lru-cache><wbr>=1.2.1 Attend</div><div>arrow==0.12.1 <wbr> <wbr> arrow==0.12.1 <wbr> <wbr> Match</div><div>django-haystack==2.7.0 <wbr> <wbr> django-haystack==2.7.0 <wbr> Match</div><div>django-oauth-toolkit==0.12.0 <wbr> <wbr> django-oauth-toolkit==0.12.0 <wbr> Match</div><div>django-autocomplete-light==2.3<wbr>.3 <wbr> django-autocomplete-light==2.3<wbr>.3 Match</div><div>oauthlib==2.0.1 oauthlib==2.0.1 <wbr> <wbr> Match</div><div>pycsw==2.0.3 <wbr> <wbr> pycsw==2.0.3 <wbr> <wbr> Match</div><div>lxml==3.6.2 <wbr> <wbr> lxml==3.6.2 Match</div><div>flake8==2.5.4 <wbr> <wbr> flake8==2.5.4 Match</div><div>pyflakes==0.8.1 <wbr> <wbr> pyflakes==0.8.1 <wbr> <wbr> Match</div><div>python-dateutil==2.6.1 <wbr> <wbr> python-dateutil==2.6.1 <wbr> <wbr> Match<br></div><div><br></div><div>Assuming that the requirements for GD were installed based on the list above, I went straight to the command line (pip install -e . --no-warn-conflicts).</div><div><br></div><div>The command ran well. Successfully installed my-geonode<br></div><div><br></div><div><br></div><div>With GP and GD virrtualenv activated I am trying to run paver reset and hitting the following error:</div><div></div><div><br></div><div>(geonode) geo@gis:/home/my_geonode/my_ge<wbr>onode$ paver reset<br>---> pavement.reset<br>---> pavement.stop<br>---> pavement.stop_geoserver<br>Stopping geoserver (process number 20499)<br>sleep 30<br>Stopping geoserver (process number 20501)<br>[Errno 3] No such process<br>---> pavement.stop_qgis_server<br>Stopping GeoNode ...<br>---> pavement.stop_django<br>rm -rf /home/geo/Envs/geonode/local/l<wbr>ib/python2.7/site-packages/geo<wbr>node/development.db<br>rm -rf my_geonode/development.db<br>rm -rf my_geonode/uploaded/*<br>[Errno 2] No such file or directory: path('geoserver/data/global.xm<wbr>l')<br>[Errno 2] No such file or directory: path('geoserver/data/security/<wbr>filter/geonode-oauth2/config.x<wbr>ml')<br>[Errno 2] No such file or directory: path('geoserver/data/security/<wbr>role/geonode REST role service/config.xml')</div><div><br></div><div>Any hint in what is causing these errors will be very appreciated.</div><div><br></div><div>Thank you very much for your time in advance</div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> <br><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> <br></div><div><br></div><div> <br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 2, 2018 at 1:27 PM, francesco bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Sorry blame myself to made a direct reply in the previous message!<div><br></div><div>I think probably you have started with too many geonode setups but now just to figure out this once forever the trick for inheritance is based on the concept to have geonode (as a library) and geonode-project installed together in the same virtual environment.</div><div>Once you get this then you can replace the geonode references with the same from the geonode-project.</div><div><br></div><div>Hope this helps</div><span class="m_-5865816230686228202m_6456610376975509224m_-8358230832644461026HOEnZb"><font color="#888888"><div>Francesco</div></font></span></div><div class="m_-5865816230686228202m_6456610376975509224m_-8358230832644461026HOEnZb"><div class="m_-5865816230686228202m_6456610376975509224m_-8358230832644461026h5"><br><div class="gmail_quote"><div dir="ltr">Il giorno gio 2 ago 2018 alle ore 18:06 Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@g<wbr>mail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Dear Francesco,</div><div><br></div><div>Sorry, I am just amazed the way GeoNode is built. You all do a wonderful work. I used the term bridge because I have to environments GeoNode Production and GeoNode-Project, and I have to connect ( please take the term "bridge" out of consideration) these two environments through Apache2 configuration.</div><div><br></div><div>Just to make sure that I was not doing anything wrong, I installed geonode-project@2.8.0 and <a href="mailto:geonode-project@2.6.3." target="_blank">geonode-project@2.6.3.</a></div><div><br></div><div>I did just one change in site_base.css --> <code>.home .jumbotron { background: yellow }</code><br></div><div><br></div><div>I ran python manage.py collectstatic</div><div><br></div><div>And Lastly, I did as in <<a href="http://geonode.org/dev-workshop/#/8/3" target="_blank">http://geonode.org/dev-worksh<wbr>op/#/8/3</a>>, geonode.conf</div><div><br></div><div> WSGIScriptAlias / /home/sipam_geonode/geonode/ge<wbr>onode/wsgi.py # According to the third line after second "Warning" in <a href="http://docs.geonode.org/en/master/tutorials/admin/customize_lookfeel/customize/setup_admin.html" target="_blank">http://docs.geonode.org/en/mas<wbr>ter/tutorials/admin/customize_<wbr>lookfeel/customize/setup_<wbr>admin.html</a><br></div><div> </div><div> <Directory "/home/sipam_geonode/geonode/g<wbr>eonode/"> # According to the fourth bullet point in <a href="http://geonode.org/dev-workshop/#/8/3" target="_blank">http://geonode.org/dev-worksho<wbr>p/#/8/3</a><br># <Directory "/home/geonode/my_geonode/my_g<wbr>eonode/"><br> <Files wsgi.py><br> Order deny,allow<br> Allow from all<br> Require all granted<br> </Files><br><br> Order allow,deny<br> Options Indexes FollowSymLinks<br> Allow from all<br> IndexOptions FancyIndexing<br> </Directory></div><div><br></div><div> <Directory "/home/sipam_geonode/"> # According to the fifth bullet point in <a href="http://geonode.org/dev-workshop/#/8/3" target="_blank">http://geonode.org/dev-worksho<wbr>p/#/8/3</a><br> Order allow,deny<br> Options Indexes FollowSymLinks<br> Allow from all<br> Require all granted<br> </Directory><br><br></div><div><br></div><div>Within this configuration, GeoNode Production goes up and runs, but I do not see inheritance. So, I am not connecting them correctly.</div><div><br></div><div>Again I apologize for the term bridge.</div><div><br></div><div>Thank you very much for your time and help.</div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 2, 2018 at 12:17 PM, francesco bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Responses inline.<br><br><div class="gmail_quote"><span><div dir="ltr">Il giorno gio 2 ago 2018 alle ore 15:22 Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@g<wbr>mail.com</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Dear Francesco,</div><div><br></div><div>Thank you very much for your reply and resource suggestion. I am taking a python course and as soon as I finished it, I will devour the information in <a href="http://www.paolocorti.net/foss4g_2017_geonode_solr/" target="_blank">http://www.paolocorti.net/f<wbr>oss4g_2017_geonode_solr/. <br></a></div><div><br></div><div>Regarding Gdalinfo, I have gdal@2.2.1 and <a href="mailto:pygdal@2.2.1.3" target="_blank">pygdal@2.2.1.3</a><br></div><div><br></div><div>geo@gis:~$ gdal-config --version<br>2.2.1<br></div><div>geo@gis:~$ gdal-config --version<br>2.2.1<br>geo@gis:~$ pip show pygdal<br>Name: pygdal<br>Version: 2.2.1.3<br></div></div></blockquote><div><br></div></span><div>According to your command you have pygdal installed systemwide which doesn't mean you have it in each of the virtual environments. So for instance:</div><div><br></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">(sipam_geonode) geo@gis: /home/sipam_geonode/my_</span><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">geonode<wbr>$ pip freeze |grep -i gdal</span><br></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">should tell you that no entry is listed. This means you have to run "pip install pygdal==2.2.1.3"</span></div><div><div class="m_-5865816230686228202m_6456610376975509224m_-8358230832644461026m_-2745278620987605622m_7309044406495343011h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>Before entering to the resource you sent me, let me just give some more information about what I am trying to do. I created three virtualenv for GeoNode-Project named by: my_geonode, geonode_project, and sipam_geonode. Sorry if I am misunderstanding, but I think I can do that without mixing the requirements (requirements.txt) for each GeoNode vesrion. Also I created three users /home/my_geonode; /home/geonode_project and /home/sipam_geonode.</div><div><br></div><div>(my_geonode) geo@gis: /home/my_geonode/my_geonode # contains <a href="mailto:GeoNode-Project@2.8.0." target="_blank">GeoNode-Project@2.8.0.</a> installed according to the pdf in attached.</div><div><br></div><div>Fine. GeoNode is up and running.</div><div><br></div><div>One issue only: I collected the static directory by running python manage.py collectstatic, but I did not see css changes on the index.html.</div><div><br></div><div>site_base.css ---> <code>.home .jumbotron { background: yellow }</code><br></div><div><br></div><div>(geonode_project) geo@gis: /home/geonode_project/my_geono<wbr>de # contains
<a href="mailto:GeoNode-Project@2.9.0." target="_blank">GeoNode-Project@2.9.0.</a> installed according to <a href="https://github.com/geosolutions-it/geonode-project" target="_blank">https://github.com/geosolution<wbr>s-it/geonode-project</a></div><div><br></div><div>Issue1: paver sync <br></div><div></div><div><br></div><div><br></div><div>Response:</div><div><br></div><div> pavement.sync<br> python -W ignore manage.py makemigrations --noinput<br>Traceback (most recent call last):<br> File "manage.py", line 31, in <module><br> execute_from_command_line(sys.<wbr>argv)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/core/managemen<wbr>t/__init__.py", line 364, in execute_from_command_line<br> utility.execute()<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/core/managemen<wbr>t/__init__.py", line 356, in execute<br> self.fetch_command(subcommand)<wbr>.run_from_argv(self.argv)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/core/managemen<wbr>t/base.py", line 283, in run_from_argv<br> self.execute(*args, **cmd_options)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/core/managemen<wbr>t/base.py", line 327, in execute<br> self.check()<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/core/managemen<wbr>t/base.py", line 359, in check<br> include_deployment_checks=incl<wbr>ude_deployment_checks,<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/core/managemen<wbr>t/base.py", line 346, in _run_checks<br> return checks.run_checks(**kwargs)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/core/checks/<wbr>registry.py", line 81, in run_checks<br> new_errors = check(app_configs=app_configs)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/core/checks/<wbr>urls.py", line 16, in check_url_config<br> return check_resolver(resolver)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/core/checks/<wbr>urls.py", line 26, in check_resolver<br> return check_method()<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/urls/resolvers<wbr>.py", line 254, in check<br> for pattern in self.url_patterns:<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/utils/function<wbr>al.py", line 35, in __get__<br> res = instance.__dict__[<a href="http://self.name" target="_blank">self.name</a>] = self.func(instance)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/urls/resolvers<wbr>.py", line 405, in url_patterns<br> patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/utils/function<wbr>al.py", line 35, in __get__<br> res = instance.__dict__[<a href="http://self.name" target="_blank">self.name</a>] = self.func(instance)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/urls/resolvers<wbr>.py", line 398, in urlconf_module<br> return import_module(self.urlconf_nam<wbr>e)<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module<br> __import__(name)<br> File "/home/geonode_project/my_geon<wbr>ode/my_geonode/urls.py", line 24, in <module><br> from geonode.urls import urlpatterns<br> File "/home/geo/Envs/geonode_projec<wbr>t/src/geonode/geonode/urls.py"<wbr>, line 89, in <module><br> url(r'^catalogue/', include('geonode.catalogue.url<wbr>s')),<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/conf/urls/__<wbr>init__.py", line 50, in include<br> urlconf_module = import_module(urlconf_module)<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module<br> __import__(name)<br> File "/home/geo/Envs/geonode_projec<wbr>t/src/geonode/geonode/catalogu<wbr>e/urls.py", line 22, in <module><br> from . import views<br> File "/home/geo/Envs/geonode_projec<wbr>t/src/geonode/geonode/catalogu<wbr>e/views.py", line 29, in <module><br> from pycsw import server<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/pycsw/__init__.py", line 35, in <module><br> __version__ = pkg_resources.require("pycsw")<wbr>[0].version<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/pkg_resources/__init_<wbr>_.py", line 892, in require<br> needed = self.resolve(parse_requirement<wbr>s(requirements))<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/pkg_resources/__init_<wbr>_.py", line 783, in resolve<br> raise VersionConflict(dist, req).with_context(dependent_re<wbr>q)<br>pkg_resources.ContextualVersio<wbr>nConflict: (xmltodict 0.9.2 (/home/geo/Envs/geonode_projec<wbr>t/lib/python2.7/site-packages)<wbr>, Requirement.parse('xmltodict==<wbr>0.10.2'), set(['pycsw']))<br><br><br>Captured Task Output:<br>---------------------<br><br>---> pavement.sync<br> python -W ignore manage.py makemigrations --noinput<br><br>Build failed running pavement.sync: Subprocess return code: 1<br><br></div><div><br></div><div>Issue2: paver start <br></div><div><br></div><div><b>Note</b>: The issue seems to be related to xmltodict version. It is installed xmltodict 0.9.2, but it requires xmltodict 0.10.2. My concern is to try to upgrade the requirements version and get everything messed up. <br></div><div><br></div><div>(geonode_project) geo@gis:/home/geonode_project/<wbr>my_geonode$ pip show xmltodict<br>Name: xmltodict<br>Version: 0.9.2<br><br></div><div><br></div><div><br></div><div>Traceback (most recent call last):<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/utils/autorelo<wbr>ad.py", line 228, in wrapper<br> fn(*args, **kwargs)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/core/managemen<wbr>t/commands/runserver.py", line 124, in inner_run<br> self.check(display_num_errors=<wbr>True)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/core/managemen<wbr>t/base.py", line 359, in check<br> include_deployment_checks=incl<wbr>ude_deployment_checks,<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/core/managemen<wbr>t/base.py", line 346, in _run_checks<br> return checks.run_checks(**kwargs)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/core/checks/<wbr>registry.py", line 81, in run_checks<br> new_errors = check(app_configs=app_configs)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/core/checks/<wbr>urls.py", line 16, in check_url_config<br> return check_resolver(resolver)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/core/checks/<wbr>urls.py", line 26, in check_resolver<br> return check_method()<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/urls/resolvers<wbr>.py", line 254, in check<br> for pattern in self.url_patterns:<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/utils/function<wbr>al.py", line 35, in __get__<br> res = instance.__dict__[<a href="http://self.name" target="_blank">self.name</a>] = self.func(instance)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/urls/resolvers<wbr>.py", line 405, in url_patterns<br> patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/utils/function<wbr>al.py", line 35, in __get__<br> res = instance.__dict__[<a href="http://self.name" target="_blank">self.name</a>] = self.func(instance)<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/urls/resolvers<wbr>.py", line 398, in urlconf_module<br> return import_module(self.urlconf_nam<wbr>e)<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module<br> __import__(name)<br> File "/home/geonode_project/my_geon<wbr>ode/my_geonode/urls.py", line 24, in <module><br> from geonode.urls import urlpatterns<br> File "/home/geo/Envs/geonode_projec<wbr>t/src/geonode/geonode/urls.py"<wbr>, line 89, in <module><br> url(r'^catalogue/', include('geonode.catalogue.url<wbr>s')),<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/django/conf/urls/__<wbr>init__.py", line 50, in include<br> urlconf_module = import_module(urlconf_module)<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module<br> __import__(name)<br> File "/home/geo/Envs/geonode_projec<wbr>t/src/geonode/geonode/catalogu<wbr>e/urls.py", line 22, in <module><br> from . import views<br> File "/home/geo/Envs/geonode_projec<wbr>t/src/geonode/geonode/catalogu<wbr>e/views.py", line 29, in <module><br> from pycsw import server<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/pycsw/__init__.py", line 35, in <module><br> __version__ = pkg_resources.require("pycsw")<wbr>[0].version<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/pkg_resources/__init_<wbr>_.py", line 892, in require<br> needed = self.resolve(parse_requirement<wbr>s(requirements))<br> File "/home/geo/Envs/geonode_projec<wbr>t/local/lib/python2.7/site-<wbr>packages/pkg_resources/__init_<wbr>_.py", line 783, in resolve<br> raise VersionConflict(dist, req).with_context(dependent_re<wbr>q)<br>pkg_resources.ContextualVersio<wbr>nConflict: (xmltodict 0.9.2 (/home/geo/Envs/geonode_projec<wbr>t/lib/python2.7/site-packages)<wbr>, Requirement.parse('xmltodict==<wbr>0.10.2'), set(['pycsw']))<br>GeoNode is now available.<br></div><div><br></div><div><br></div><div>(sipam_geonode) geo@gis: /home/sipam_geonode/my_geonode<wbr> # contains
GeoNode-Project@2.6.x. installed according to <a href="http://geonode.org/dev-workshop/#/2/3" target="_blank">http://geonode.org/dev-worksho<wbr>p/#/2/3</a></div><div><br></div><div>Issues: python manage.py migrate <br></div><div> python manage.py createsuperuser</div><div> python manage.py shell</div><div><br></div><div>Response:</div><div><br></div><div>Traceback (most recent call last):<br> File "manage.py", line 29, in <module><br> execute_from_command_line(sys.<wbr>argv)<br> File "/home/geo/Envs/sipam_geonode/<wbr>local/lib/python2.7/site-packa<wbr>ges/django/core/management/__<wbr>init__.py", line 354, in execute_from_command_line<br> utility.execute()<br> File "/home/geo/Envs/sipam_geonode/<wbr>local/lib/python2.7/site-packa<wbr>ges/django/core/management/__<wbr>init__.py", line 328, in execute<br> django.setup()<br> File "/home/geo/Envs/sipam_geonode/<wbr>local/lib/python2.7/site-packa<wbr>ges/django/__init__.py", line 18, in setup<br> apps.populate(settings.INSTALL<wbr>ED_APPS)<br> File "/home/geo/Envs/sipam_geonode/<wbr>local/lib/python2.7/site-packa<wbr>ges/django/apps/registry.py", line 108, in populate<br> app_config.import_models(all_m<wbr>odels)<br> File "/home/geo/Envs/sipam_geonode/<wbr>local/lib/python2.7/site-packa<wbr>ges/django/apps/config.py", line 198, in import_models<br> self.models_module = import_module(models_module_na<wbr>me)<br> File "/usr/lib/python2.7/importlib/<wbr>__init__.py", line 37, in import_module<br> __import__(name)<br> File "/home/sipam_geonode/geonode/g<wbr>eonode/base/models.py", line 56, in <module><br> from geonode.utils import bbox_to_wkt<br> File "/home/sipam_geonode/geonode/g<wbr>eonode/utils.py", line 30, in <module><br> from osgeo import ogr<br>ImportError: No module named osgeo<br><br></div><div><br></div><div>What I am doing seems to be crazy (;. But I separated my project in two parts, in one side I have GeoNode Production working fine and on the other, I need to have GeoNode-project. My goal is to have geonode-project working fine and make the connection between them. A bridge project started from its land edges (;</div></div></blockquote><div><br></div></div></div><div>Regardless of the version you have chosen and the corresponding virtual environment please note that you definitively don't need the bridge at all.</div><div>The scope of geonode-project is right to ease the life of a developer and basically everything is already bridged ;).</div><div><br></div><div>Just to let's figure out if somehow the workshop is gone to make it confusing can you tell us where did you find such information to the need of a bridge?</div><div>Maybe we can consider to rewrite that part. </div><div><div class="m_-5865816230686228202m_6456610376975509224m_-8358230832644461026m_-2745278620987605622m_7309044406495343011h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Kind regards</div><div><br></div><div>Julierme<br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Aug 2, 2018 at 7:51 AM, francesco bartoli <span dir="ltr"><<a href="mailto:xbartolone@gmail.com" target="_blank">xbartolone@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Julierme,<div><br></div><div>just to give you some quick ways to check what could be wrong.</div><div><br></div><div>Check what GDAL version is installed or it isn't</div><div>------------------------------<wbr>-----------------------</div><div>$ gdalinfo --version</div><div><br></div><div>Check if the python bindings for GDAL are installed</div><div>------------------------------<wbr>------------------------------<wbr>--------</div><div>(virtual environment)</div><div>$ python manage.py shell</div><div><br></div><div>(geonode installed systemwide)</div><div>$ geonode shell</div><div><br></div><div>then in the interactive python shell</div><div><br></div><div>>>>from osgeo import ogr</div><div><br></div><div>Remember to make sure to match the GDAL binary version when you install the python bindings pygdal as already suggested by Toni.</div><div><br></div><div>A great resource to improve your confidence to programming GeoNode with the interactive shell is the workshop from Paolo Corti:</div><div><br></div><div><a href="http://www.paolocorti.net/foss4g_2017_geonode_solr/" target="_blank">http://www.paolocorti.net/foss<wbr>4g_2017_geonode_solr/</a></div><div><br></div></div><br><div class="gmail_quote"><div><div class="m_-5865816230686228202m_6456610376975509224m_-8358230832644461026m_-2745278620987605622m_7309044406495343011m_-3540519128544275086m_-8716963654015731008h5"><div dir="ltr">Il giorno gio 2 ago 2018 alle ore 12:27 Julierme Pinheiro <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@g<wbr>mail.com</a>> ha scritto:<br></div></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-5865816230686228202m_6456610376975509224m_-8358230832644461026m_-2745278620987605622m_7309044406495343011m_-3540519128544275086m_-8716963654015731008h5"><div dir="ltr"><div>Hi Toni,</div><div><br></div><div>Thank you very much for your reply. The problem remains even after your suggested command lines. I will separate a brand new Ubuntu@16.04LTS machine and see what happens.</div><div><br></div><div>I appreciated your time and help.</div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-08-02 6:07 GMT-03:00 Toni Schönbuchner <span dir="ltr"><<a href="mailto:toni.schoenbuchner@csgis.de" target="_blank">toni.schoenbuchner@csgis.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space">Hi Julierme,<div><br></div><div><blockquote type="cite" style="font-family:Menlo-Regular;font-size:11px"><blockquote type="cite"> from osgeo import ogr<br>ImportError: No module named osgeo</blockquote></blockquote></div><div><br></div><div>you´re on ubuntu, right? can you check:</div><div><pre>$ sudo apt-get install python-gdal gdal-bin libgdal20 libgdal-dev libgdal-devpython-gdal –y</pre><pre>$ pip install <span class="m_-5865816230686228202m_6456610376975509224m_-8358230832644461026m_-2745278620987605622m_7309044406495343011m_-3540519128544275086m_-8716963654015731008m_-6090438269585804786m_7901984134890827881m_6747212660040020994nv">pygdal</span><span class="m_-5865816230686228202m_6456610376975509224m_-8358230832644461026m_-2745278620987605622m_7309044406495343011m_-3540519128544275086m_-8716963654015731008m_-6090438269585804786m_7901984134890827881m_6747212660040020994o">==</span><span class="m_-5865816230686228202m_6456610376975509224m_-8358230832644461026m_-2745278620987605622m_7309044406495343011m_-3540519128544275086m_-8716963654015731008m_-6090438269585804786m_7901984134890827881m_6747212660040020994m">2</span>.2.1.3</pre><div><br></div><div>Cheers,</div><div><br></div><div>Toni</div><div><br></div><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div><div style="word-wrap:break-word"><div><div>------------------------------<wbr>-----------------</div><div>CSGIS</div><div><br></div><div>------------------------------<wbr>-----------------</div><div><div><a href="https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g" target="_blank">Kolonnadenstraße 1</a></div><div><a href="https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g" target="_blank">04109 Leipzig</a></div></div><div>------------------------------<wbr>-----------------</div><div>Mobil<span class="m_-5865816230686228202m_6456610376975509224m_-8358230832644461026m_-2745278620987605622m_7309044406495343011m_-3540519128544275086m_-8716963654015731008m_-6090438269585804786m_7901984134890827881m_6747212660040020994Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 176 6680 3198</div><div>Tel <span class="m_-5865816230686228202m_6456610376975509224m_-8358230832644461026m_-2745278620987605622m_7309044406495343011m_-3540519128544275086m_-8716963654015731008m_-6090438269585804786m_7901984134890827881m_6747212660040020994Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 738</div><div>Fax <span class="m_-5865816230686228202m_6456610376975509224m_-8358230832644461026m_-2745278620987605622m_7309044406495343011m_-3540519128544275086m_-8716963654015731008m_-6090438269585804786m_7901984134890827881m_6747212660040020994Apple-tab-span" style="white-space:pre-wrap"> </span>+49/ (0) 341 24 04 73</div><div>Web<span class="m_-5865816230686228202m_6456610376975509224m_-8358230832644461026m_-2745278620987605622m_7309044406495343011m_-3540519128544275086m_-8716963654015731008m_-6090438269585804786m_7901984134890827881m_6747212660040020994Apple-tab-span" style="white-space:pre-wrap"> </span><a href="http://csgis.de" target="_blank">http://csgis.de</a></div><div>------------------------------<wbr>-----------------</div><div><br></div><div>Hinweis gemäß § 33 BDSG</div><div>Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist ausschließlich für den </div><div>Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie diese E-Mail versehentlich </div><div>erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und löschen Sie diese Nachricht </div><div>von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung, Vervielfältigung, Veränderung, </div><div>Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.</div></div></div></div></div></div></div></div>
</div>
<div><br><blockquote type="cite"><div>Am 01.08.2018 um 19:12 schrieb <a href="mailto:geonode-users-request@lists.osgeo.org" target="_blank">geonode-users-request@lists.os<wbr>geo.org</a>:</div><br class="m_-5865816230686228202m_6456610376975509224m_-8358230832644461026m_-2745278620987605622m_7309044406495343011m_-3540519128544275086m_-8716963654015731008m_-6090438269585804786m_7901984134890827881m_6747212660040020994Apple-interchange-newline"><div><blockquote type="cite" style="font-family:Menlo-Regular;font-size:11px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><blockquote type="cite"><blockquote type="cite">ImportError: No module named osgeo</blockquote></blockquote></blockquote></div></blockquote></div><br></div></div></blockquote></div><br></div></div></div>
______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
</blockquote></div>
</blockquote></div><br></div>
</blockquote></div></div></div></div>
</blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>
</blockquote></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>