[GeoNode-devel] Geonode 2.8 in Vagrant

Alessio Fabiani alessio.fabiani at geo-solutions.it
Fri Apr 6 04:03:25 PDT 2018


Corina,
that is a Python error fixed on recent PRs.

geoserver/helpers.py [614] -> *resource.srid* should be
*resource.projection* instead

Regards,

Alessio Fabiani

==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Ing. Alessio Fabiani

@alfa7691
Founder/Technical Lead


GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

2018-04-06 12:40 GMT+02:00 Corina Tudorache <corina_ww at yahoo.com>:

> Hi Pieter,
>
> I also tried a Vagrant installation with Ubuntu 16.04 and private network,
> but running "sudo geonode updatelayers" throws an error:
> Inspecting the available layers in GeoServer ...
> GET http://localhost:8080/geoserver/rest/workspaces.xml
> GET http://localhost:8080/geoserver/rest/workspaces/geonode/datastores.xml
> GET http://localhost:8080/geoserver/rest/workspaces/
> geonode/coveragestores.xml
> GET http://localhost:8080/geoserver/rest/workspaces/geonode/wmsstores.xml
> GET http://localhost:8080/geoserver/rest/workspaces/
> geonode/datastores/geonode_data/featuretypes.xml
> GET http://localhost:8080/geoserver/rest/workspaces/
> geonode/datastores/geonode_data/featuretypes/district_boundaries.xml
> Found 1 layers, starting processing
> Stopping process because --ignore-errors was not set and an error was
> found.
> Traceback (most recent call last):
>   File "/usr/bin/django-admin", line 9, in <module>
>     load_entry_point('Django==1.8.19', 'console_scripts',
> 'django-admin')()
>   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 354, in execute_from_command_line
>     utility.execute()
>   File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py",
> line 346, in execute
>     self.fetch_command(subcommand).run_from_argv(self.argv)
>   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py",
> line 394, in run_from_argv
>     self.execute(*args, **cmd_options)
>   File "/usr/lib/python2.7/dist-packages/django/core/management/base.py",
> line 445, in execute
>     output = self.handle(*args, **options)
>   File "/usr/local/lib/python2.7/dist-packages/geonode/
> geoserver/management/commands/updatelayers.py", line 122, in handle
>     execute_signals=True)
>   File "/usr/local/lib/python2.7/dist-packages/geonode/geoserver/helpers.py",
> line 614, in gs_slurp
>     "srid": resource.srid
> Exception: ('Failed to process district_boundaries',
> AttributeError("'FeatureType' object has no attribute 'srid'",))
>
> Does this command work for you?
>
> Kind regards,
> Corina
>
> On Apr 6, 2018, at 09:34, Alessio Fabiani <alessio.fabiani at geo-
> solutions.it> wrote:
>
> Hi guys,
> would you have some time to update documentation with this vagrant stuff?
>
>
> Regards,
> Alessio Fabiani
> ==
> GeoServer Professional Services from the experts! Visit
> http://goo.gl/it488V for more information.
> ==
>
> Ing. Alessio Fabiani
> @alfa7691
> Founder/Technical Lead
>
> GeoSolutions S.A.S.
> Via di Montramito 3/A
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054++Massarosa&entry=gmail&source=g>
> 55054
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054++Massarosa&entry=gmail&source=g>
>  Massarosa
> <https://maps.google.com/?q=Via+di+Montramito+3/A+55054++Massarosa&entry=gmail&source=g>
> (LU)
> Italy
> phone: +39 0584 962313
> fax:     +39 0584 1660272
> mob:   +39 331 6233686
>
> http://www.geo-solutions.it
> http://twitter.com/geosolutions_it
>
> -------------------------------------------------------
> AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
> Le informazioni contenute in questo messaggio di posta elettronica e/o
> nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
> loro utilizzo è consentito esclusivamente al destinatario del messaggio,
> per le finalità indicate nel messaggio stesso. Qualora riceviate questo
> messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
> darcene notizia via e-mail e di procedere alla distruzione del messaggio
> stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
> divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
> utilizzarlo per finalità diverse, costituisce comportamento contrario ai
> principi dettati dal D.Lgs. 196/2003.
>
> The information in this message and/or attachments, is intended solely for
> the attention and use of the named addressee(s) and may be confidential or
> proprietary in nature or covered by the provisions of privacy act
> (Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
> Code).Any use not in accord with its purpose, any disclosure, reproduction,
> copying, distribution, or either dissemination, either whole or partial, is
> strictly forbidden except previous formal approval of the named
> addressee(s). If you are not the intended recipient, please contact
> immediately the sender by telephone, fax or e-mail and delete the
> information in this message that has been received in error. The sender
> does not give any warranty or accept liability as the content, accuracy or
> completeness of sent messages and accepts no responsibility  for changes
> made after they were sent or for other risks which arise as a result of
> e-mail transmission, viruses, etc.
>
> 2018-04-06 10:02 GMT+02:00 Pieter du Plooy <pjduplooy.gis at gmail.com>:
>
>> Hi Toni
>>
>> Thanks for all your help and guidance.  Geonode 2.8 is now running in
>> vagrant perfectly, without having localhost exposed.  Private networking is
>> such a clever way! I will probably be using vagrant with private networking
>> more.  By the way, I have started to "vagrantize" geohelm (geohelm.org)
>> as a proof of concept using private networking.
>>
>> On a side note have you used Cartoview yet?  That is one project that I
>> really want to use (as "extension" to Geonode), but have always been unable
>> to do so, especially in vagrant or docker.  I think that might be a good
>> project to install natively on Mac using your gist.
>>
>> Anyway, Thanks again.
>>
>> Pieter
>>
>> On Thu, Apr 5, 2018 at 12:17 PM, Toni Schönbuchner <
>> toni.schoenbuchner at csgis.de> wrote:
>>
>>> Hey Pieter,
>>>
>>> yes Homebrew is installed here. But regarding geonode I did not any
>>> installation else except those
>>> mentioned in the gist. But I´ve installed qgis (
>>> http://www.kyngchaos.com/software/qgis)
>>> This installes some packages as well. Means If something is missing
>>> after you´ve run through
>>> the gist this could be the reason.
>>>
>>> Cheers,
>>>
>>> Toni
>>>
>>> -----------------------------------------------
>>> CSGIS
>>>
>>> -----------------------------------------------
>>> Kolonnadenstraße 1
>>> <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
>>> 04109 Leipzig
>>> <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
>>> -----------------------------------------------
>>> Mobil +49/ (0) 176 6680 3198
>>> Tel  +49/ (0) 341 24 04 738
>>> Fax  +49/ (0) 341 24 04 73
>>> Web http://csgis.de
>>> -----------------------------------------------
>>>
>>> Hinweis gemäß § 33 BDSG
>>> Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist
>>> ausschließlich für den
>>> Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie
>>> diese E-Mail versehentlich
>>> erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und
>>> löschen Sie diese Nachricht
>>> von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung,
>>> Vervielfältigung, Veränderung,
>>> Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.
>>>
>>> Am 05.04.2018 um 11:44 schrieb Pieter du Plooy <pjduplooy.gis at gmail.com
>>> >:
>>>
>>> Hi Toni
>>>
>>> Thanks for all the valuable info.  Last question though, did you install
>>> anything else like homebrew or macports packages for you Geonode OSX
>>> install"
>>>
>>>
>>> Pieter
>>>
>>> On Thu, Apr 5, 2018 at 9:35 AM, Toni Schönbuchner <
>>> toni.schoenbuchner at csgis.de> wrote:
>>>
>>>> Hi Pieter,
>>>>
>>>> So what your saying is that if my router's address range is
>>>> 192.168.1.xxx, I could tell vagrant that I want to use 192.168.1.33 (or
>>>> whatever as last part), and thats that?
>>>>
>>>>
>>>> Exactly. After you´ve '$ vagrant up' have a look at virtualbox network
>>>> setup. You will see a second network interface
>>>> further check /etc/network/interfaces on your vm. Vagrant did the
>>>> „hard“ work for you. Of course you can change the ip
>>>> to your needs.
>>>>
>>>> https://gist.github.com/t-book/e05e2b3905356e9a51fe7d6fa187ad4d
>>>>
>>>>
>>>> Any case, thanx so much for your help…
>>>>
>>>>
>>>> You´re welcome.
>>>>
>>>> I also saw that you are trying to get to run geonode on OSX, Any luck
>>>> with that?
>>>>
>>>>
>>>> Yes this is how I did:
>>>> https://gist.github.com/t-book/e05e2b3905356e9a51fe7d6fa187ad4d
>>>>
>>>> By the way, a Geonode install from PPA, can I use ubuntugis-unstable as
>>>> the repo for the gdal, and postgis stuff?
>>>>
>>>>
>>>> I have not tried yet but why? The package should install all which is
>>>> needed?
>>>>
>>>> Cheers,
>>>>
>>>> Toni
>>>>
>>>> -----------------------------------------------
>>>> CSGIS
>>>>
>>>> -----------------------------------------------
>>>> Kolonnadenstraße 1
>>>> <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
>>>> 04109 Leipzig
>>>> <https://maps.google.com/?q=Kolonnadenstra%C3%9Fe+1+04109+Leipzig&entry=gmail&source=g>
>>>> -----------------------------------------------
>>>> Mobil +49/ (0) 176 6680 3198
>>>> Tel  +49/ (0) 341 24 04 738
>>>> Fax  +49/ (0) 341 24 04 73
>>>> Web http://csgis.de
>>>> -----------------------------------------------
>>>>
>>>> Hinweis gemäß § 33 BDSG
>>>> Daten der Verfahrensbeteiligten werden gespeichert. Dieses Dokument ist
>>>> ausschließlich für den
>>>> Adressaten bestimmt. Der Inhalt der E-Mail ist vertraulich. Falls Sie
>>>> diese E-Mail versehentlich
>>>> erhalten haben, rufen Sie uns unter obiger Rufnummer umgehend an und
>>>> löschen Sie diese Nachricht
>>>> von Ihrem Computer. Jegliche Art von Reproduktionen, Verbreitung,
>>>> Vervielfältigung, Veränderung,
>>>> Verteilung und/oder Veröffentlichung dieser E-Mail ist verboten.
>>>>
>>>> Am 05.04.2018 um 08:27 schrieb Pieter du Plooy <pjduplooy.gis at gmail.com
>>>> >:
>>>>
>>>> Hi Toni
>>>>
>>>> So what your saying is that if my router's address range is
>>>> 192.168.1.xxx, I could tell vagrant that I want to use 192.168.1.33 (or
>>>> whatever as last part), and thats that?
>>>>
>>>> Any case, thanx so much for your help...  O I also saw that you are
>>>> trying to get to run geonode on OSX, Any luck with that?
>>>>
>>>> By the way, a Geonode install from PPA, can I use ubuntugis-unstable as
>>>> the repo for the gdal, and postgis stuff?
>>>>
>>>>
>>>> Regards.
>>>>
>>>> Pieter
>>>>
>>>>
>>>>
>>>
>>>
>>
>> _______________________________________________
>> geonode-devel mailing list
>> geonode-devel at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>>
>>
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-devel
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20180406/e4b778fb/attachment-0001.html>


More information about the geonode-devel mailing list