Martin,

The command that failed was supposed to install the static files.

What happens if you do the following:

source /var/lib/geonode/bin/activate
django-admin.py validate --settings=geonode.settings
django-admin.py collectstatic -v0 --settings=geonode.settings
django-admin.py syncdb --settings=geonode.settings

Those are the steps that seem to be missing, not sure what causes the
error you see.

Ariel.

On Mon, Aug 22, 2011 at 5:38 PM, Martín Rouaux <[email protected]> wrote:
> One more thing aobut the deployment, I do not see any files in
> /var/ww/geonode/static. Do I need to install the client there?
>
> Thanks for all the help
>
> On Mon, Aug 22, 2011 at 12:59 PM, Martín Rouaux <[email protected]> wrote:
>>
>> Hi Ariel, thanks for all the responses. I have been trying to install
>> geonode following the steps of the current thread but I'm still have some
>> issues.
>>
>> The error I see now is:
>>
>> 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 257, 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
>> 5, in <module>
>>     from django.contrib.contenttypes import generic
>>   File
>> "/usr/local/lib/python2.7/dist-packages/django/contrib/contenttypes/generic.py",
>> line 6, in <module>
>>     from django.db import connection
>>   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 40, in _setup
>>     self._wrapped = Settings(settings_module)
>>   File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py",
>> line 75, in __init__
>>     raise ImportError("Could not import settings '%s' (Is it on sys.path?
>> Does it have syntax errors?): %s" % (self.SETTINGS_MODULE, e))
>> ImportError: Could not import settings 'geonode.settings' (Is it on
>> sys.path? Does it have syntax errors?): No module named geonode.settings
>>
>
>

Reply via email to