Yes Alex, I agree with you that could solve it too. Although I don't like
much the fact that it uses a network connection.

I also discovered that doing:

apt-get purge geonode tomcat6
apt-get install geonode

after a failed install in 10.04.01 LTS results in a successful installation.

Unfortunately I will not be able to work on a fix for this until tomorrow.
But anyone interested can build their own packages using:
http://github.com/geonode/geonode-deb

Thanks again for the help of the community debugging this issues, the same
problem does not happen in the Ubuntu 10.04 machine that I used to test the
packages, seems like it only happens the first time geonode tries to be
installed.

Ariel.

On Fri, Sep 9, 2011 at 11:59 AM, Alex Mandel <[email protected]>wrote:

> That means the ubuntu repo version of pip is installed via apt. If
> setuptools is on the system then
> sudo easy_install -U pip would force an upgrade using pypi and probably
> pull the latest. One could also apt-get purge python-pip (guessing
> package name) before using easy_install to get the old one out of the
> way 100%.
>
> Enjoy,
> Alex
>
> On 09/09/2011 06:44 AM, Ariel Nunez wrote:
> > Hello Jude,
> >
> > There was a problem creating the virtualenv, seems like it was related to
> > installing pip, I have seen this in the past but have not been able to
> > reproduce it reliably.
> >
> > I have fixed it in the past by removing python-pip and or
> python-virtualenv
> > but that causes other problems. It seems to be related to having older
> > versions of pip conflict with the virtualenv (Last pip release is > 1.0,
> and
> > the log is referencing pip-0.6.3).
> >
> > Hopefully we will find a workaround for the installer. Can you tell me
> more
> > about the specific version of Ubuntu you are using (the number after
> > 10.04.??, it should be something between 01 and 04).
> >
> > Did it happen when you created a new machine? Can you switch to Ubuntu
> > 11.04?
> >
> > Ariel.
> >
> >  Complete output from command /var/lib/geonode/bin/python
> > /var/lib/geonode/bin/easy_install
> > /usr/lib/pymodules/python2.6/v...ar.gz:
> >   error: Not a URL, existing file, or requirement spec:
> > '/usr/lib/pymodules/python2.6/virtualenv_support/pip-0.6.3.tar.gz'
> > ----------------------------------------
> > Traceback (most recent call last):
> >   File "/usr/bin/virtualenv", line 9, in <module>
> >     load_entry_point('virtualenv==1.4.5', 'console_scripts',
> 'virtualenv')()
> >   File "/usr/lib/pymodules/python2.6/virtualenv.py", line 537, in main
> >     use_setuptools=options.use_setuptools)
> >   File "/usr/lib/pymodules/python2.6/virtualenv.py", line 630, in
> > create_environment
> >     install_pip(py_executable)
> >   File "/usr/lib/pymodules/python2.6/virtualenv.py", line 390, in
> install_pip
> >     filter_stdout=_filter_setup)
> >   File "/usr/lib/pymodules/python2.6/virtualenv.py", line 598, in
> > call_subprocess
> >     % (cmd_desc, proc.returncode))
> >
> >
> >
> > On Fri, Sep 9, 2011 at 8:54 AM, jude mwenda <[email protected]>
> wrote:
> >
> >> Ahh, yes, the paste is here. Sorry about that not seen the error .
> >>
> >> Here it is. http://dpaste.de/eWZat/ seems not to find django-admin.py
> >>
> >>
> >> On 9 September 2011 15:49, David Winslow <[email protected]> wrote:
> >>
> >>> Thanks for the correction, I have updated the online documentation with
> >>> the proper quoting.
> >>>
> >>> As for the error in your Apache log, I am not sure what might have gone
> >>> wrong - were any errors or warnings printed during the installation
> >>> process?  I haven't spent much time debugging the .deb packages but I
> >>> imagine Ariel will have some insight.
> >>>
> >>> --
> >>> David Winslow
> >>> OpenGeo - http://opengeo.org/
> >>>
> >>>
> >>> On Fri, Sep 9, 2011 at 5:25 AM, jude mwenda <[email protected]>
> wrote:
> >>>
> >>>> On the documentation, when adding the repo, the line below worked for
> me.
> >>>> The one on the documentation  which does not have the quotes returns
> Error:
> >>>> repository is an argument..
> >>>>
> >>>> sudo add-apt-repository "deb http://apt.opengeo.org/ubuntu lucid
> main"
> >>>>
> >>>>
> >>>> On 9 September 2011 12:08, jude mwenda <[email protected]> wrote:
> >>>>
> >>>>> Hi,
> >>>>> Came across this, set up on a vanilla Ubuntu Server 10.04, apart from
> >>>>> GeoNode, openssh is what is installed. And used the repo by open geo.
> >>>>> Attached is the error.
> >>>>>
> >>>>> http://dpaste.de/2rD4b/
> >>>>>
> >>>>> --
> >>>>> Regards,
> >>>>>
> >>>>> Jude Mwenda
> >>>>> Skype id: jmwenda
> >>>>> Twitter: www.twitter.com/judemwenda
> >>>>> Web: www.africangeogeek.com
> >>>>>
> >>>>> "Was ist mein Leben, wenn ich nicht mehr nützlich für andere."
> >>>>> Johann Wolfgang von Goethe
> >>>>>
>
>

Reply via email to