librelist archives

« back to archive

How to run RC1?

How to run RC1?

From:
Chris Holmes
Date:
2010-10-17 @ 13:23
So I downloaded RC1 and I'm not exactly sure what to do.  I think 
perhaps we should stick a readme?

I found this page:

http://projects.opengeo.org/CAPRA/wiki/DeployingGeoNode

And I think I got to step 4.  But then I get 'Build failed: Unknown 
task: build'

Since I got to step 4 I guess that page may be close to what I need to 
do?  But I think for a 1.0 release we need some directions.

I should have some time tomorrow to work through this - I'd love to get 
a local demo going so I can show people when I'm offline.

thanks,

C

Re: [geonode] How to run RC1?

From:
Ariel Nunez
Date:
2010-10-21 @ 19:20
Setting up the Python part of the deployment on a Mac is not straight
forward, depending on your setup the built-in Apache and the built-in
Python can cause a lot of headaches (even when compiling things
manually).

My best bet to show off a GeoNode version on a Mac would be either
with a Virtual Machine guest or running the development server from a
git tag (i.e. RC1).

Ariel.

Sent from my MacBook Pro.

On Sun, Oct 17, 2010 at 8:23 AM, Chris Holmes <cholmes@opengeo.org> wrote:
> So I downloaded RC1 and I'm not exactly sure what to do.  I think
> perhaps we should stick a readme?
>
> I found this page:
>
> http://projects.opengeo.org/CAPRA/wiki/DeployingGeoNode
>
> And I think I got to step 4.  But then I get 'Build failed: Unknown
> task: build'
>
> Since I got to step 4 I guess that page may be close to what I need to
> do?  But I think for a 1.0 release we need some directions.
>
> I should have some time tomorrow to work through this - I'd love to get
> a local demo going so I can show people when I'm offline.
>
> thanks,
>
> C
>

Re: [geonode] How to run RC1?

From:
David Winslow
Date:
2010-10-17 @ 18:12
Those docs are quite outdated (honestly I had forgotten they existed).
 Also, they seem to start out with instructions on how to do a GeoNode
release.

Unfortunately, installation is pretty system dependent so far (since we
don't package WSGI or Servlet containers with the release bundles, you have
to go find an appropriate one for your system.)  I have been working on
improving the documentation situation; the docs in
http://github.com/dwins/geonode/blob/issue_822_deployment_docs/docs/source/deploy/
are much closer to correct (I've tested the Ubuntu doc twice on fresh
hardware this past week; the CentOS one is based on an older revision and I
have fixed everything that I know about, but it still needs testing.)

I assume you'll be installing on a mac?  That's currently undocumented.  I
expect the biggest differences from the steps in the Ubuntu docs will be
getting mod_wsgi and a compiler + libraries ready for installing the native
Python modules.

Does this help at all?

--
David Winslow

On Sun, Oct 17, 2010 at 9:23 AM, Chris Holmes <cholmes@opengeo.org> wrote:

> So I downloaded RC1 and I'm not exactly sure what to do.  I think
> perhaps we should stick a readme?
>
> I found this page:
>
> http://projects.opengeo.org/CAPRA/wiki/DeployingGeoNode
>
> And I think I got to step 4.  But then I get 'Build failed: Unknown
> task: build'
>
> Since I got to step 4 I guess that page may be close to what I need to
> do?  But I think for a 1.0 release we need some directions.
>
> I should have some time tomorrow to work through this - I'd love to get
> a local demo going so I can show people when I'm offline.
>
> thanks,
>
> C
>

Installation on Ubuntu 10.04

From:
Luca Casagrande
Date:
2010-10-18 @ 10:19
Hello everybody,
I installed GeoNode RC1 following the awesome guide on Github [1] and 
all is fine.
I am planning to use it for the Italian GFOSS.it Association.
Just some small notices on it, to be sure that it can be followed also 
by new people:
- Tell people to become root or use sudo on most command;
- The Geoserver interface doesn't work as written in point 2 of "Changes 
after Tomcat is Running";
- Type exit once created the db;
- unzip GeoNode-1.0-RC1/geonode-client/ -d /var/www/geonode/htdocs/ 
should be unzip GeoNode-1.0-RC1/geonode-client.zip -d 
/var/www/geonode/htdocs/
- in the end point people to http://localhost/

The only problem I have with my installation is that I can't upload any 
ShapFile (it says to contact the admin and highlight in red the layer name).
How can I debug this troubles? Apache/Geoserver/Geonetowork logs doesn't 
show any troubles.

Thank you for your great work
Luca

[1]: 

http://github.com/dwins/geonode/blob/issue_822_deployment_docs/docs/source/deploy/ubuntu.rst

Re: [geonode] Installation on Ubuntu 10.04

From:
David Winslow
Date:
2010-10-18 @ 14:11
Hi Luca,

I ran into failing uploads after setting up RC1 as well; the problem for me
was the one described in http://projects.opengeo.org/CAPRA/ticket/838 . A
patch that resolved it for me is under discussion at
http://github.com/GeoNode/geonode/pull/10 .  If you would like to try out
that code for yourself and don't know how to use it in your deployment,
please contact us in IRC (the #geonode channel on irc.freenode.net).  I also
hope to produce an RC2 this week which includes a fix for this issue.

Anyway, about troubleshooting:
I should write a page in the docs about this, but there are several places
error messages may appear in GeoNode:

   1. Tomcat's error log (*tomcat/logs/catalina.out*)
   2. GeoServer's error log (*geoserver_data/logs/geoserver.log*)
   3. Django's error reporting system.  Django may report errors in one of
   two ways (built-in):
      1. You set *DEBUG=True* in *local_settings.py* and re-attempt the
      action that failed.  A detailed log with information for programmers will
      show up in your browser for failed requests.
      2. You configure your Django application to send email, and add a list
      of admins to local_settings.py.  This would simply involve adding a line
      like: [ADMINS=("Luca", "luca@example.com"),]and then setting up email.
       See http://docs.djangoproject.com/en/dev/topics/email/ or
      http://rob.cogit8.org/blog/2008/Aug/31/using-gmails-smtp-server-django/for
some info on that.  Error messages will be sent to the users listed in
      the ADMINS setting, which has to be a tuple of tuples (the extra comma at
      the end is important.)

Unfortunately, the upload view is a little overzealous in hiding errors and
presenting obscured/simplified messages to the user instead, so none of
these logging systems presented much useful information (I found the cause
of the problem by removing a lot of the error wrapping code manually).  A
nice improvement would be to have it log the real error using the usual
Django mechanisms while still presenting a human-readable error instead of a
stack-trace.

--
David Winslow
OpenGeo - http://opengeo.org/

On Mon, Oct 18, 2010 at 6:19 AM, Luca Casagrande
<luca.casagrande@gmail.com>wrote:

> Hello everybody,
> I installed GeoNode RC1 following the awesome guide on Github [1] and
> all is fine.
> I am planning to use it for the Italian GFOSS.it Association.
> Just some small notices on it, to be sure that it can be followed also
> by new people:
> - Tell people to become root or use sudo on most command;
> - The Geoserver interface doesn't work as written in point 2 of "Changes
> after Tomcat is Running";
> - Type exit once created the db;
> - unzip GeoNode-1.0-RC1/geonode-client/ -d /var/www/geonode/htdocs/
> should be unzip GeoNode-1.0-RC1/geonode-client.zip -d
> /var/www/geonode/htdocs/
> - in the end point people to http://localhost/
>
> The only problem I have with my installation is that I can't upload any
> ShapFile (it says to contact the admin and highlight in red the layer
> name).
> How can I debug this troubles? Apache/Geoserver/Geonetowork logs doesn't
> show any troubles.
>
> Thank you for your great work
> Luca
>
> [1]:
>
> 
http://github.com/dwins/geonode/blob/issue_822_deployment_docs/docs/source/deploy/ubuntu.rst
>
>
>

Re: [geonode] Installation on Ubuntu 10.04

From:
luca.casagrande@gmail.com
Date:
2010-10-18 @ 19:36
Hi David,
thank you for your answer and your help with the problem in the
#geonode IRC channel.
The patch worked fine, now I can upload shapefile, but the problem
still remains if I try to upload a GeoTiff file.

Ciao
Luca

2010/10/18 David Winslow <dwinslow@opengeo.org>:
> Hi Luca,
> I ran into failing uploads after setting up RC1 as well; the problem for me
> was the one described in http://projects.opengeo.org/CAPRA/ticket/838 . A
> patch that resolved it for me is under discussion
> at http://github.com/GeoNode/geonode/pull/10 .  If you would like to try out
> that code for yourself and don't know how to use it in your deployment,
> please contact us in IRC (the #geonode channel on irc.freenode.net).  I also
> hope to produce an RC2 this week which includes a fix for this issue.
> Anyway, about troubleshooting:
> I should write a page in the docs about this, but there are several places
> error messages may appear in GeoNode:
>
> Tomcat's error log (tomcat/logs/catalina.out)
> GeoServer's error log (geoserver_data/logs/geoserver.log)
> Django's error reporting system.  Django may report errors in one of two
> ways (built-in):
>
> You set DEBUG=True in local_settings.py and re-attempt the action that
> failed.  A detailed log with information for programmers will show up in
> your browser for failed requests.
> You configure your Django application to send email, and add a list of
> admins to local_settings.py.  This would simply involve adding a line like:
> [ADMINS=("Luca", "luca@example.com"),]and then setting up email.
>  See http://docs.djangoproject.com/en/dev/topics/email/
> or http://rob.cogit8.org/blog/2008/Aug/31/using-gmails-smtp-server-django/
> for some info on that.  Error messages will be sent to the users listed in
> the ADMINS setting, which has to be a tuple of tuples (the extra comma at
> the end is important.)
>
> Unfortunately, the upload view is a little overzealous in hiding errors and
> presenting obscured/simplified messages to the user instead, so none of
> these logging systems presented much useful information (I found the cause
> of the problem by removing a lot of the error wrapping code manually).  A
> nice improvement would be to have it log the real error using the usual
> Django mechanisms while still presenting a human-readable error instead of a
> stack-trace.
> --
> David Winslow
> OpenGeo - http://opengeo.org/
> On Mon, Oct 18, 2010 at 6:19 AM, Luca Casagrande <luca.casagrande@gmail.com>
> wrote:
>>
>> Hello everybody,
>> I installed GeoNode RC1 following the awesome guide on Github [1] and
>> all is fine.
>> I am planning to use it for the Italian GFOSS.it Association.
>> Just some small notices on it, to be sure that it can be followed also
>> by new people:
>> - Tell people to become root or use sudo on most command;
>> - The Geoserver interface doesn't work as written in point 2 of "Changes
>> after Tomcat is Running";
>> - Type exit once created the db;
>> - unzip GeoNode-1.0-RC1/geonode-client/ -d /var/www/geonode/htdocs/
>> should be unzip GeoNode-1.0-RC1/geonode-client.zip -d
>> /var/www/geonode/htdocs/
>> - in the end point people to http://localhost/
>>
>> The only problem I have with my installation is that I can't upload any
>> ShapFile (it says to contact the admin and highlight in red the layer
>> name).
>> How can I debug this troubles? Apache/Geoserver/Geonetowork logs doesn't
>> show any troubles.
>>
>> Thank you for your great work
>> Luca
>>
>> [1]:
>>
>> 
http://github.com/dwins/geonode/blob/issue_822_deployment_docs/docs/source/deploy/ubuntu.rst
>>
>>
>
>



-- 
Luca Casagrande
http://www.lucacasagrande.net
twitter: lucacasagrande