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
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 <judemwenda@gmail.com> 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 > -- 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
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 <judemwenda@gmail.com> 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 <judemwenda@gmail.com> 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 >> > > > > -- > 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 >
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 <dwinslow@opengeo.org> 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 <judemwenda@gmail.com> 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 <judemwenda@gmail.com> 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 >>> >> >> >> >> -- >> 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 >> > > -- 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
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 <judemwenda@gmail.com> 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 <dwinslow@opengeo.org> 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 <judemwenda@gmail.com> 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 <judemwenda@gmail.com> 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
>>>>
>>>
>>>
>>>
>>> --
>>> 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
>>>
>>
>>
>
>
> --
> 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
>
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 <judemwenda@gmail.com> 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 <dwinslow@opengeo.org> 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 <judemwenda@gmail.com> 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 <judemwenda@gmail.com> 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 >>>>>
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 <tech_dev@wildintellect.com>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 <judemwenda@gmail.com> > 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 <dwinslow@opengeo.org> 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 <judemwenda@gmail.com> > 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 <judemwenda@gmail.com> 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 > >>>>> > >
Here is a process that leads to a successful installation based on Alex's feedback: sudo add-apt-repository ppa:ingenieroariel/ppa sudo apt-get update sudo apt-get install geonode I added the pip upgrade command to the install.sh script and also a step that fails fast if the virtualenv has not been created. Ariel. PS: The name of the actual package is geonode_1.1+RC1-ariel2 I added my name so you know if that one does not work I am the person you need to bug :) I will be talking to the rest of the GeoNode team on monday about updating the official repo.
Hi Ariel,
Since you suggested Jude to switch to 11.04 I would like to mention that
Geonode setup is still not working on this version. I'm getting the
following error.
Successfully installed avatar django-appconf GeoNodePy gsconfig.py
nosexcover owslib
Cleaning up...
Traceback (most recent call last):
File "/usr/local/bin/django-admin.py", line 5, in <module>
management.execute_from_command_line()
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 429, in execute_from_command_line
utility.execute()
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py",
line 35, in import_module
__import__(name)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py",
line 7, in <module>
from django.core.management.sql import custom_sql_for_model,
emit_post_sync_signal
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/sql.py", line
6, in <module>
from django.db import models
File "/usr/local/lib/python2.7/dist-packages/django/db/__init__.py", line
14, in <module>
if not settings.DATABASES:
File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py",
line 276, in __getattr__
self._setup()
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
line 42, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
line 89, in __init__
raise ImportError("Could not import settings '%s' (Is it on sys.path?):
%s" % (self.SETTINGS_MODULE, e))
ImportError: Could not import settings 'geonode.settings' (Is it on
sys.path?): No module named geonode.settings
Unknown command: 'collectstatic'
Type 'django-admin.py help' for usage.
Traceback (most recent call last):
File "/usr/local/bin/django-admin.py", line 5, in <module>
management.execute_from_command_line()
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 429, in execute_from_command_line
utility.execute()
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 261, in fetch_command
klass = load_command_class(app_name, subcommand)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py",
line 67, in load_command_class
module = import_module('%s.management.commands.%s' % (app_name, name))
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py",
line 35, in import_module
__import__(name)
File
"/usr/local/lib/python2.7/dist-packages/django/core/management/commands/loaddata.py",
line 11, in <module>
from django.db import connections, router, transaction, DEFAULT_DB_ALIAS
File "/usr/local/lib/python2.7/dist-packages/django/db/__init__.py", line
14, in <module>
if not settings.DATABASES:
File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py",
line 276, in __getattr__
self._setup()
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
line 42, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
line 89, in __init__
raise ImportError("Could not import settings '%s' (Is it on sys.path?):
%s" % (self.SETTINGS_MODULE, e))
ImportError: Could not import settings 'geonode.settings' (Is it on
sys.path?): No module named geonode.settings
Site default disabled.
Martin, that exhibits the same problem. I will make tests in all recent ubuntu distros today and hopefully find what is going wrong. Thanks for your help debugging the packages. Ariel On Sep 9, 2011 10:17 AM, "Martín Rouaux" <martinfr@gmail.com> wrote: > Hi Ariel, > Since you suggested Jude to switch to 11.04 I would like to mention that > Geonode setup is still not working on this version. I'm getting the > following error. > > Successfully installed avatar django-appconf GeoNodePy gsconfig.py > nosexcover owslib > Cleaning up... > Traceback (most recent call last): > File "/usr/local/bin/django-admin.py", line 5, in <module> > management.execute_from_command_line() > File > "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", > line 429, in execute_from_command_line > utility.execute() > File > "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", > line 379, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File > "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", > line 261, in fetch_command > klass = load_command_class(app_name, subcommand) > File > "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", > line 67, in load_command_class > module = import_module('%s.management.commands.%s' % (app_name, name)) > File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", > line 35, in import_module > __import__(name) > File > "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/syncdb.py", > line 7, in <module> > from django.core.management.sql import custom_sql_for_model, > emit_post_sync_signal > File > "/usr/local/lib/python2.7/dist-packages/django/core/management/sql.py", line > 6, in <module> > from django.db import models > File "/usr/local/lib/python2.7/dist-packages/django/db/__init__.py", line > 14, in <module> > if not settings.DATABASES: > File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", > line 276, in __getattr__ > self._setup() > File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", > line 42, in _setup > self._wrapped = Settings(settings_module) > File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", > line 89, in __init__ > raise ImportError("Could not import settings '%s' (Is it on sys.path?): > %s" % (self.SETTINGS_MODULE, e)) > ImportError: Could not import settings 'geonode.settings' (Is it on > sys.path?): No module named geonode.settings > Unknown command: 'collectstatic' > Type 'django-admin.py help' for usage. > Traceback (most recent call last): > File "/usr/local/bin/django-admin.py", line 5, in <module> > management.execute_from_command_line() > File > "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", > line 429, in execute_from_command_line > utility.execute() > File > "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", > line 379, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File > "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", > line 261, in fetch_command > klass = load_command_class(app_name, subcommand) > File > "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", > line 67, in load_command_class > module = import_module('%s.management.commands.%s' % (app_name, name)) > File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", > line 35, in import_module > __import__(name) > File > "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/loaddata.py", > line 11, in <module> > from django.db import connections, router, transaction, DEFAULT_DB_ALIAS > File "/usr/local/lib/python2.7/dist-packages/django/db/__init__.py", line > 14, in <module> > if not settings.DATABASES: > File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py", > line 276, in __getattr__ > self._setup() > File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", > line 42, in _setup > self._wrapped = Settings(settings_module) > File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", > line 89, in __init__ > raise ImportError("Could not import settings '%s' (Is it on sys.path?): > %s" % (self.SETTINGS_MODULE, e)) > ImportError: Could not import settings 'geonode.settings' (Is it on > sys.path?): No module named geonode.settings > Site default disabled.
I just did a successful install in Ubuntu 10.10: sudo apt-get install python-software-properties sudo add-apt-repository ppa:ingenieroariel/ppa sudo apt-get update sudo apt-get install geonode Same instructions failed in 10.04 with the error you are reporting here. I will investigate right now and report back. Ariel.