librelist archives

« back to archive

Install GeoNode on Ubuntu 10.04 from Debian Packages

Install GeoNode on Ubuntu 10.04 from Debian Packages

From:
Greg Corradini
Date:
2011-10-03 @ 18:46
Hello,
I've been following the instructions here
http://docs.geonode.org/1.1-RC1/deploy/ubuntu.html for setting up
GeoNode for production Ubuntu 10.04. When I run the 'geonode' command
or 'geonode createsuperuser' after installation I get the follow
error:

dev@dev-desktop:~$ geonode createsuperuser
/usr/bin/geonode: line 2: /var/lib/geonode/bin/activate: No such file
or directory
/usr/bin/geonode: line 3: django-admin.py: command not found

I noticed on the install logs that this same error appears after it
tries to do an easy_install. Below are those errors from the install
log:


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

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))
OSError: Command /var/lib/geonode/bin/python
/var/lib/geonode/bin/easy_install
/usr/lib/pymodules/python2.6/v...ar.gz failed with error code 1
/usr/share/geonode/install.sh: line 158: bin/activate: No such file or directory
Unpacking ./geonode-webapp.pybundle
Exception:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/pip.py", line 252, in main
    self.run(options, args)
  File "/usr/lib/python2.6/dist-packages/pip.py", line 408, in run
    requirement_set.install_files(finder, force_root_egg_info=self.bundle)
  File "/usr/lib/python2.6/dist-packages/pip.py", line 1769, in install_files
    for subreq in req_to_install.bundle_requirements():
  File "/usr/lib/python2.6/dist-packages/pip.py", line 1618, in
bundle_requirements
    url, rev = vcs_backend().parse_checkout_text(content)
AttributeError: 'Git' object has no attribute 'parse_checkout_text'

Any Ideas?

-- 
Greg

Re: [geonode] Install GeoNode on Ubuntu 10.04 from Debian Packages

From:
Ariel Nunez
Date:
2011-10-03 @ 19:26
Greg,

There are a few known bugs with the 1.1RC1 in 10.04 including a
failure during the setup process when creating the virtualenv. We are
preparing 1.1RC2 to address this but in the meantime here is what you
can do to re-try the installation:

sudo apt-get purge geonode tomcat6
sudo apt-get install geonode

I found out that these instructions worked for me and made some fixes
in the installer to prevent this in RC2.

Ariel.


On Mon, Oct 3, 2011 at 2:46 PM, Greg Corradini <gregcorradini@gmail.com> wrote:
> Hello,
> I've been following the instructions here
> http://docs.geonode.org/1.1-RC1/deploy/ubuntu.html for setting up
> GeoNode for production Ubuntu 10.04. When I run the 'geonode' command
> or 'geonode createsuperuser' after installation I get the follow
> error:
>
> dev@dev-desktop:~$ geonode createsuperuser
> /usr/bin/geonode: line 2: /var/lib/geonode/bin/activate: No such file
> or directory
> /usr/bin/geonode: line 3: django-admin.py: command not found
>
> I noticed on the install logs that this same error appears after it
> tries to do an easy_install. Below are those errors from the install
> log:
>
> 
---------------------------------------------------------------------------------------------------------------------------------
>
> 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))
> OSError: Command /var/lib/geonode/bin/python
> /var/lib/geonode/bin/easy_install
> /usr/lib/pymodules/python2.6/v...ar.gz failed with error code 1
> /usr/share/geonode/install.sh: line 158: bin/activate: No such file or directory
> Unpacking ./geonode-webapp.pybundle
> Exception:
> Traceback (most recent call last):
>  File "/usr/lib/python2.6/dist-packages/pip.py", line 252, in main
>    self.run(options, args)
>  File "/usr/lib/python2.6/dist-packages/pip.py", line 408, in run
>    requirement_set.install_files(finder, force_root_egg_info=self.bundle)
>  File "/usr/lib/python2.6/dist-packages/pip.py", line 1769, in install_files
>    for subreq in req_to_install.bundle_requirements():
>  File "/usr/lib/python2.6/dist-packages/pip.py", line 1618, in
> bundle_requirements
>    url, rev = vcs_backend().parse_checkout_text(content)
> AttributeError: 'Git' object has no attribute 'parse_checkout_text'
>
> Any Ideas?
>
> --
> Greg
>

Re: [geonode] Install GeoNode on Ubuntu 10.04 from Debian Packages

From:
Greg Corradini
Date:
2011-10-03 @ 19:51
Ariel,
You da man. Yep, that did it and now I've at least got something up to
look at. I appreciate it and I'm sure I'll be asking more questions on
here soon since I'll be walking through the manual installation too.

Thanks
Greg

On Mon, Oct 3, 2011 at 12:26 PM, Ariel Nunez <ingenieroariel@gmail.com> wrote:
> Greg,
>
> There are a few known bugs with the 1.1RC1 in 10.04 including a
> failure during the setup process when creating the virtualenv. We are
> preparing 1.1RC2 to address this but in the meantime here is what you
> can do to re-try the installation:
>
> sudo apt-get purge geonode tomcat6
> sudo apt-get install geonode
>
> I found out that these instructions worked for me and made some fixes
> in the installer to prevent this in RC2.
>
> Ariel.
>
>
> On Mon, Oct 3, 2011 at 2:46 PM, Greg Corradini <gregcorradini@gmail.com> wrote:
>> Hello,
>> I've been following the instructions here
>> http://docs.geonode.org/1.1-RC1/deploy/ubuntu.html for setting up
>> GeoNode for production Ubuntu 10.04. When I run the 'geonode' command
>> or 'geonode createsuperuser' after installation I get the follow
>> error:
>>
>> dev@dev-desktop:~$ geonode createsuperuser
>> /usr/bin/geonode: line 2: /var/lib/geonode/bin/activate: No such file
>> or directory
>> /usr/bin/geonode: line 3: django-admin.py: command not found
>>
>> I noticed on the install logs that this same error appears after it
>> tries to do an easy_install. Below are those errors from the install
>> log:
>>
>> 
---------------------------------------------------------------------------------------------------------------------------------
>>
>> 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))
>> OSError: Command /var/lib/geonode/bin/python
>> /var/lib/geonode/bin/easy_install
>> /usr/lib/pymodules/python2.6/v...ar.gz failed with error code 1
>> /usr/share/geonode/install.sh: line 158: bin/activate: No such file or 
directory
>> Unpacking ./geonode-webapp.pybundle
>> Exception:
>> Traceback (most recent call last):
>>  File "/usr/lib/python2.6/dist-packages/pip.py", line 252, in main
>>    self.run(options, args)
>>  File "/usr/lib/python2.6/dist-packages/pip.py", line 408, in run
>>    requirement_set.install_files(finder, force_root_egg_info=self.bundle)
>>  File "/usr/lib/python2.6/dist-packages/pip.py", line 1769, in install_files
>>    for subreq in req_to_install.bundle_requirements():
>>  File "/usr/lib/python2.6/dist-packages/pip.py", line 1618, in
>> bundle_requirements
>>    url, rev = vcs_backend().parse_checkout_text(content)
>> AttributeError: 'Git' object has no attribute 'parse_checkout_text'
>>
>> Any Ideas?
>>
>> --
>> Greg
>>
>



-- 
Greg

Re: [geonode] Install GeoNode on Ubuntu 10.04 from Debian Packages

From:
Ariel Nunez
Date:
2011-10-03 @ 20:01
Greg,

Don't forget to enable DEBUG mode while you are poking around,
increase the logging output and set the correct SITEURL in
/etc/geonode/local_settings.py as well as running 'geonode
createsuperuser'

Ariel.

On Mon, Oct 3, 2011 at 3:51 PM, Greg Corradini <gregcorradini@gmail.com> wrote:
> Ariel,
> You da man. Yep, that did it and now I've at least got something up to
> look at. I appreciate it and I'm sure I'll be asking more questions on
> here soon since I'll be walking through the manual installation too.
>
> Thanks
> Greg
>
> On Mon, Oct 3, 2011 at 12:26 PM, Ariel Nunez <ingenieroariel@gmail.com> wrote:
>> Greg,
>>
>> There are a few known bugs with the 1.1RC1 in 10.04 including a
>> failure during the setup process when creating the virtualenv. We are
>> preparing 1.1RC2 to address this but in the meantime here is what you
>> can do to re-try the installation:
>>
>> sudo apt-get purge geonode tomcat6
>> sudo apt-get install geonode
>>
>> I found out that these instructions worked for me and made some fixes
>> in the installer to prevent this in RC2.
>>
>> Ariel.
>>
>>
>> On Mon, Oct 3, 2011 at 2:46 PM, Greg Corradini <gregcorradini@gmail.com> wrote:
>>> Hello,
>>> I've been following the instructions here
>>> http://docs.geonode.org/1.1-RC1/deploy/ubuntu.html for setting up
>>> GeoNode for production Ubuntu 10.04. When I run the 'geonode' command
>>> or 'geonode createsuperuser' after installation I get the follow
>>> error:
>>>
>>> dev@dev-desktop:~$ geonode createsuperuser
>>> /usr/bin/geonode: line 2: /var/lib/geonode/bin/activate: No such file
>>> or directory
>>> /usr/bin/geonode: line 3: django-admin.py: command not found
>>>
>>> I noticed on the install logs that this same error appears after it
>>> tries to do an easy_install. Below are those errors from the install
>>> log:
>>>
>>> 
---------------------------------------------------------------------------------------------------------------------------------
>>>
>>> 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))
>>> OSError: Command /var/lib/geonode/bin/python
>>> /var/lib/geonode/bin/easy_install
>>> /usr/lib/pymodules/python2.6/v...ar.gz failed with error code 1
>>> /usr/share/geonode/install.sh: line 158: bin/activate: No such file or
directory
>>> Unpacking ./geonode-webapp.pybundle
>>> Exception:
>>> Traceback (most recent call last):
>>>  File "/usr/lib/python2.6/dist-packages/pip.py", line 252, in main
>>>    self.run(options, args)
>>>  File "/usr/lib/python2.6/dist-packages/pip.py", line 408, in run
>>>    requirement_set.install_files(finder, force_root_egg_info=self.bundle)
>>>  File "/usr/lib/python2.6/dist-packages/pip.py", line 1769, in install_files
>>>    for subreq in req_to_install.bundle_requirements():
>>>  File "/usr/lib/python2.6/dist-packages/pip.py", line 1618, in
>>> bundle_requirements
>>>    url, rev = vcs_backend().parse_checkout_text(content)
>>> AttributeError: 'Git' object has no attribute 'parse_checkout_text'
>>>
>>> Any Ideas?
>>>
>>> --
>>> Greg
>>>
>>
>
>
>
> --
> Greg
>