[GeoNode-devel] [GeoNode-users] GeoNode Windows installer: looking for testers

Alessio Fabiani alessio.fabiani at geo-solutions.it
Mon Jan 18 04:09:49 PST 2016


The problem is that the Apache Windows Service uses the system environment
variables.

Maybe it's not hard to fix the virtual env setup script for GeoNode, but
I'm afraid that then Apache HTTPD won't use the right Python env in any
case.

However I'm going to spend some time trying to figure out a possible
solution for this.

Thanks again very much for you help,

Alessio.


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

Ing. Alessio Fabiani
@alfa7691
Founder/Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
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.

On Mon, Jan 18, 2016 at 1:04 PM, Daniel Victoria <daniel.victoria at gmail.com>
wrote:

> Can't the geonode install use the python that comes with it? Isolate it
> from any other installation?
> Looking at virtualenv_setup.bat it calls python_env.bat which will set the
> path. But in that file (python_env.bat) there is no mention of python...
>
> Also, when I start a fresh comand line in wn7, I can get into python by
> just issuing 'python' command. But after I run virtualenv_setup.bat, I
> can't run python anymore in that cmd window
>
>
>
> On Mon, Jan 18, 2016 at 9:49 AM, Alessio Fabiani <
> alessio.fabiani at geo-solutions.it> wrote:
>
>> Oh, I see.
>>
>> Yes, if you have another Python installation it may conflict.
>>
>> Don't know exactly what is the best way to proceed here, maybe asking to
>> the user if he wants to use its own Python installation? But this may lead
>> to installation issues since we don't know how the user has configured
>> Python.
>>
>> Any feedbacks welcome.
>>
>> Alessio.
>>
>>
>> ==
>> GeoServer Professional Services from the experts! Visit
>> http://goo.gl/NWWaa2 for more information.
>> ==
>>
>> Ing. Alessio Fabiani
>> @alfa7691
>> Founder/Technical Lead
>>
>> GeoSolutions S.A.S.
>> Via Poggio alle Viti 1187
>> 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.
>>
>> On Mon, Jan 18, 2016 at 12:45 PM, Daniel Victoria <
>> daniel.victoria at gmail.com> wrote:
>>
>>> Bingo,
>>>
>>> No pip and virtualenv.
>>>
>>> My computer had some funny python installation problems because I mixed
>>> ArcMap with python(XY) and OSGeo4W. I've removed python(xy). But I see in
>>> windows environment that
>>> GEONODE_PATHEXT=C:\GeoNode-2.4\Python27;C:\GeoNode-2.4\Python27\Scripts;C:\Program
>>> Files (x86)\GDAL. It looks correct
>>>
>>> Cheers
>>> Daniel
>>>
>>> On Mon, Jan 18, 2016 at 9:36 AM, Alessio Fabiani <
>>> alessio.fabiani at geo-solutions.it> wrote:
>>>
>>>> Daniel,
>>>> roger. Maybe the GeoNode environment did not correctly configured.
>>>>
>>>> In the windows "All Apps" menu shortcuts, under the voide "GeoNode-2.4"
>>>> you should see the "GeoNode VirtualEnv Setup" link. Can you try to run
>>>> this? It should start automatically during the installation process, but
>>>> maybe it needed an internet connection or something went wrong during this
>>>> step. If this works for you we catched the issue and I can try to debug it.
>>>>
>>>> Many thanks for you patient and help!
>>>>
>>>> Alessio.
>>>>
>>>>
>>>> ==
>>>> GeoServer Professional Services from the experts! Visit
>>>> http://goo.gl/NWWaa2 for more information.
>>>> ==
>>>>
>>>> Ing. Alessio Fabiani
>>>> @alfa7691
>>>> Founder/Technical Lead
>>>>
>>>> GeoSolutions S.A.S.
>>>> Via Poggio alle Viti 1187
>>>> 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.
>>>>
>>>> On Mon, Jan 18, 2016 at 12:28 PM, Daniel Victoria <
>>>> daniel.victoria at gmail.com> wrote:
>>>>
>>>>> Apache is running. If I stop the service and try to connect to
>>>>> localhost, firefox will tell that it can't connect. And when I start the
>>>>> service, firefox will just keep on trying to connect, with no success. Our
>>>>> network uses a proxy but I've disabled it when connecting to localhost. So
>>>>> that should not be the problem.
>>>>>
>>>>> The error log just keeps on getting bigger (9.5 Mb now). Don't
>>>>> understand much but it conplains about ImportError: No module named site
>>>>> (entire log is attached).
>>>>>
>>>>> Cheers
>>>>> Daniel
>>>>>
>>>>> On Mon, Jan 18, 2016 at 9:15 AM, Alessio Fabiani <
>>>>> alessio.fabiani at geo-solutions.it> wrote:
>>>>>
>>>>>> Thanks Daniel,
>>>>>>
>>>>>> can you please check if Apache HTTPD service has started correctly?
>>>>>> If so can you try to see if in the $INSTALLDIR/Apache2/logs/error.log there
>>>>>> is something related to the issue?
>>>>>>
>>>>>> Also, make a try by restarting the Apache HTTPD service.
>>>>>>
>>>>>> ==
>>>>>> GeoServer Professional Services from the experts! Visit
>>>>>> http://goo.gl/NWWaa2 for more information.
>>>>>> ==
>>>>>>
>>>>>> Ing. Alessio Fabiani
>>>>>> @alfa7691
>>>>>> Founder/Technical Lead
>>>>>>
>>>>>> GeoSolutions S.A.S.
>>>>>> Via Poggio alle Viti 1187
>>>>>> 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.
>>>>>>
>>>>>> On Mon, Jan 18, 2016 at 12:12 PM, Daniel Victoria <
>>>>>> daniel.victoria at gmail.com> wrote:
>>>>>>
>>>>>>> Dear Alessio,
>>>>>>>
>>>>>>> That's great news. I believe it will help spread the use of geonode
>>>>>>> to other niches...
>>>>>>>
>>>>>>> Anyway, I downloaded and installed the package in my machine.
>>>>>>> Installation went without a problem (no error screens). However, when I try
>>>>>>> to connect to http://localhost, it just keeps on waiting for the
>>>>>>> server response and nothing happens. I never see the GeoNode web page. I
>>>>>>> also tried 127.0.0.1.
>>>>>>>
>>>>>>> I'm not sure this is because I'm in a corporate domain and there
>>>>>>> might be some security blocks or if the installation did not work out.
>>>>>>> Later I'll try the installation on my personal computer. Meanwhile, if
>>>>>>> you'd like to figure out what happened, I can run the necessary tests, just
>>>>>>> give me the instructions as to what to do.
>>>>>>>
>>>>>>> Cheers
>>>>>>> Daniel
>>>>>>>
>>>>>>> On Mon, Jan 18, 2016 at 7:48 AM, Alessio Fabiani <
>>>>>>> alessio.fabiani at geo-solutions.it> wrote:
>>>>>>>
>>>>>>>> Dear all,
>>>>>>>> at this address
>>>>>>>>
>>>>>>>> https://www.dropbox.com/s/ujclwt7mtu5zy87/GeoNode-2.4.exe?dl=0
>>>>>>>>
>>>>>>>> you can find a first version of the GeoNode Windows installer.
>>>>>>>>
>>>>>>>> The installer has been created using NSIS compiler and if it works
>>>>>>>> fine it will be part at the official GeoNode distribution and continuous
>>>>>>>> build as a result of the folowing GNIP:
>>>>>>>>
>>>>>>>> https://github.com/GeoNode/geonode/issues/2375
>>>>>>>>
>>>>>>>> The installer works by installing under a folder chosen by the user:
>>>>>>>>
>>>>>>>> 1. A 32bit version of JRE 1.8
>>>>>>>> 2. A 32bit version of Python 2.7.10 with virtualenv and GDAL
>>>>>>>> bindings
>>>>>>>> 3. A 32bit version of Apache Tomcat 7.0.35 with GeoServer
>>>>>>>> 4. A customized version of minimal WinLAMP with only the Apache
>>>>>>>> HTTPD + mod_wsgi
>>>>>>>>
>>>>>>>> At the end of the installation you should be able to see:
>>>>>>>> 1. A running service of Apache Tomcat for GeoServer
>>>>>>>> 2. A running service of Apache HTTPD server for GeoNode
>>>>>>>>
>>>>>>>> Your GeoNode installation will be available at:
>>>>>>>>
>>>>>>>> http://localhost
>>>>>>>>
>>>>>>>> Your GeoServer installation will be available at:
>>>>>>>>
>>>>>>>> http://localhost/geoserver
>>>>>>>>
>>>>>>>> No DB is installed on this version. The installation relies on the
>>>>>>>> default GeoNode settings.
>>>>>>>> It could be possible to optionally install also PostGIS in the
>>>>>>>> future if the community really needs it.
>>>>>>>>
>>>>>>>> Also notice that the GeoNode will be configured to run in
>>>>>>>> production mode through the mod_wsgi and not in development mode through
>>>>>>>> paver.
>>>>>>>>
>>>>>>>> Please test it and report any feedbacks.
>>>>>>>>
>>>>>>>> Very soon I will make available the NSIS source code too.
>>>>>>>>
>>>>>>>> Best Regards,
>>>>>>>> Alessio Fabiani.
>>>>>>>>
>>>>>>>>
>>>>>>>> ==
>>>>>>>> GeoServer Professional Services from the experts! Visit
>>>>>>>> http://goo.gl/NWWaa2 for more information.
>>>>>>>> ==
>>>>>>>>
>>>>>>>> Ing. Alessio Fabiani
>>>>>>>> @alfa7691
>>>>>>>> Founder/Technical Lead
>>>>>>>>
>>>>>>>> GeoSolutions S.A.S.
>>>>>>>> Via Poggio alle Viti 1187
>>>>>>>> 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.
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> geonode-users mailing list
>>>>>>>> geonode-users at lists.osgeo.org
>>>>>>>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> geonode-users mailing list
>>>>>>> geonode-users at lists.osgeo.org
>>>>>>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> geonode-users mailing list
>>>>> geonode-users at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>>>>
>>>>>
>>>>
>>>
>>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20160118/2137544d/attachment-0001.html>


More information about the geonode-devel mailing list