On Sat, Oct 30, 2010 at 5:58 AM, <[email protected]> wrote:

> David,
>
> I manage to install GeoNode now on Ubuntu 10.06 running in VirtualBox.
> Installation is somewhat challenging, esp. for the casual tester, but
> doable.
>

Do you have any suggestions for improving this situation? I'd be interested
in working on making installation simpler.  I should note that OpenGeo
currently has a contract to work on Ubuntu packages for GeoNode, which
should simplify the installation process considerably for that platform.
 However, since customized GeoNodes will (hopefully) be common I think the
"from-scratch" install should be as easy as possible as well.

I tested the upload with my vector set, and it works fine locally. In
> fact, I retried the public demo version, and that one works now as well.
> Someone must have tweaked it between last week and now.
>

Yes, at the time of the RC2
<http://geonode.org/2010/10/geonode-1-0-rc2/>release I updated the
demo site with the latest version of the code.


> It's great! Just what we are looking for. I am going to read up on Django
> and Python a bit to see if we can contrib in other ways.
>
> I read that you mentioned to drop dependency on PIL. I saw that during
> the install JAI is installed (as part of geoserver). I would be interested
> to understand what is done in PIL that could most likely be done in JAI.
> I use Groovy with JAI a lot, which is a nice way to java-script for image
> processing.
>

No code in GeoNode itself actually uses PIL, but a third-party library we
are using for user profiles uses it to resize uploaded profile avatars.
 ReportLab, which we have discussed using for some map reports, also uses
PIL.  So, all our usage of PIL is in libraries that aren't maintained by the
GeoNode project.

I think there is some interest in having a GeoNode variant that is
Jython-compatible, which is the only reasonable way I see us replacing PIL
with JAI for this purpose.  (I am also aware of
JPype<http://jpype.sourceforge.net/>,
but I think that using that would actually worsen the installation story,
while still requiring us to modify code.)  If you are interested in working
or funding work on a Jython port of GeoNode let me know, I can help you
assess what's keeping GeoNode from running on Jython as-is.

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

Guido
>
>
> >-- Original Message --
> >Date: Fri, 29 Oct 2010 09:02:22 -0400
> >From: David Winslow <[email protected]>
> >Reply-To: [email protected]
> >Subject: Re: [geonode] Error installing GeoNode from source
> >To: [email protected]
> >
> >
> >I haven't looked very hard but I can't find any information about the
> >removal of urlgrabber from the python package repository.  I think it
> would
> >probably be a good idea for us to start mirroring our dependencies in a
> >repository of our own to avoid this sort of thing.
> >
> >In the shorter term I would be open to rewriting the build script to avoid
> >requiring urlgrabber.
> >
> >--
> >David Winslow
> >OpenGeo - http://opengeo.org/
> >
> >On Fri, Oct 29, 2010 at 7:56 AM, Christian Spanring <[email protected]
> >wrote:
> >
> >> Ole,
> >>
> >> the problem is that easy_install can't find urlgrabber at
> pypi.python.organymore,
> >so you have to install urlgrabber manually as workaround:
> >>
> >> download and unpack it from http://urlgrabber.baseurl.org/
> >>
> >> $ wget http://urlgrabber.baseurl.org/download/urlgrabber-3.9.1.tar.gz
> >> $ tar xvzf urlgrabber-3.9.1.tar.gz
> >>
> >> install urlgrabber in GeoNode's Virtual Environment:
> >>
> >> $ . bin/activate
> >> (geonode) $ cd urlgrabber-3.9.1
> >> (geonode) $ python setup.py install
> >>
> >> in my case it asked for pycurl, which I had to install first
> >> (geonode) $ easy_install pycurl
> >>
> >> That should to it.
> >>
> >> Christian
> >>
> >> On Oct 29, 2010, at 1:54 AM, Ole Nielsen wrote:
> >>
> >> > Dear all
> >> > I am trying to install GeoNode according to the instructions at
> >> http://github.com/GeoNode/geonode/blob/1.0-RC2/README.rst and have
> gotten
> >> as far as paver build.
> >> >
> >> > However, paver build fails with the following error: ImportError: No
> >> module named urlgrabber.grabber
> >> > However, if I start Python normally (i.e. without virtual environment)
> >> and try it works just fine:
> >> >
> >> > Python 2.6.2 (release26-maint, Apr 19 2009, 01:58:18)
> >> > [GCC 4.3.3] on linux2
> >> > Type "help", "copyright", "credits" or "license" for more information.
> >> > >>> from urlgrabber.grabber import urlgrab, URLGrabError
> >> > >>>
> >> >
> >> > I am running Ubuntu 9.04 - 64 bit.
> >> >
> >> > The tail of the paver output follows below.
> >> > Cheers and thanks for any help
> >> > Ole Nielsen
> >> >
> >> > -- output from paver build --
> >> >
> >> >     ########## SUMMARY INFO #########
> >> >     ################################################
> >> >     #Attempting install of _rl_accel, sgmlop & pyHnj
> >> >     #extensions from '/tmp/pip-0Buy2p-build/src/rl_addons/rl_accel'
> >> >     ################################################
> >> >     ################################################
> >> >     #Attempting install of _renderPM
> >> >     #extensions from '/tmp/pip-0Buy2p-build/src/rl_addons/renderPM'
> >> >     # installing with freetype version 21
> >> >     ################################################
> >> > Successfully installed avatar gsconfig.py OWSLib reportlab
> >> > ---> pavement.setup_webapps
> >> > ---> pavement.setup_geoserver
> >> > ---> pavement.setup_gs_data
> >> > Traceback (most recent call last):
> >> >   File "/home/nielso/sandpit/geonode/bin/paver", line 8, in <module>
> >> >     load_entry_point('Paver==1.0.1', 'console_scripts', 'paver')()
> >> >   File
> >>
> "/home/nielso/sandpit/geonode/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py",
> >> line 615, in main
> >> >     _launch_pavement(args)
> >> >   File
> >>
> "/home/nielso/sandpit/geonode/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py",
> >> line 598, in _launch_pavement
> >> >     _process_commands(args, auto_pending=auto_pending)
> >> >   File
> >>
> "/home/nielso/sandpit/geonode/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py",
> >> line 563, in _process_commands
> >> >     task()
> >> >   File
> >>
> "/home/nielso/sandpit/geonode/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py",
> >> line 241, in __call__
> >> >     retval = environment._run_task(self.name, self.needs, self.func)
> >> >   File
> >>
> "/home/nielso/sandpit/geonode/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py",
> >> line 181, in _run_task
> >> >     return do_task()
> >> >   File
> >>
> "/home/nielso/sandpit/geonode/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py",
> >> line 160, in do_task
> >> >     task()
> >> >   File
> >>
> "/home/nielso/sandpit/geonode/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py",
> >> line 241, in __call__
> >> >     retval = environment._run_task(self.name, self.needs, self.func)
> >> >   File
> >>
> "/home/nielso/sandpit/geonode/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py",
> >> line 181, in _run_task
> >> >     return do_task()
> >> >   File
> >>
> "/home/nielso/sandpit/geonode/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py",
> >> line 160, in do_task
> >> >     task()
> >> >   File
> >>
> "/home/nielso/sandpit/geonode/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py",
> >> line 241, in __call__
> >> >     retval = environment._run_task(self.name, self.needs, self.func)
> >> >   File
> >>
> "/home/nielso/sandpit/geonode/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py",
> >> line 181, in _run_task
> >> >     return do_task()
> >> >   File
> >>
> "/home/nielso/sandpit/geonode/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py",
> >> line 160, in do_task
> >> >     task()
> >> >   File
> >>
> "/home/nielso/sandpit/geonode/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py",
> >> line 241, in __call__
> >> >     retval = environment._run_task(self.name, self.needs, self.func)
> >> >   File
> >>
> "/home/nielso/sandpit/geonode/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py",
> >> line 181, in _run_task
> >> >     return do_task()
> >> >   File
> >>
> "/home/nielso/sandpit/geonode/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py",
> >> line 161, in do_task
> >> >     return func(**kw)
> >> >   File "pavement.py", line 186, in setup_gs_data
> >> >     grab(src_url, dst_url)
> >> >   File "pavement.py", line 159, in grab
> >> >     from urlgrabber.grabber import urlgrab, URLGrabError
> >> > ImportError: No module named urlgrabber.grabber
> >> > (geonode)nie...@shiva:~/sandpit/geonode$
> >> >
> >> >
> >> >
> >> >
> >>
> >>
>
>
>

Reply via email to