[GeoNode-users] error executing python manage.py updatelayers

Vianello Andrea Andrea.Vianello at eurac.edu
Mon Aug 1 03:22:30 PDT 2016


Hi,
I Installed from PPA in Ubuntu 14.04 following http://geonode.org/#install.
Everything works correctly but I cannot run the command "python manage.py updatelayers" so probably something is not set correctly.
In the geonode home there is no the file manage.py so I Tried to use the one in "/usr/lib/python2.7/dist-packages/django/conf/project_template/manage.py", is it correct?
But it doesn't work the same, I got this message:
Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 261, in fetch_command
    commands = get_commands()
  File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 107, in get_commands
    apps = settings.INSTALLED_APPS
  File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 54, in __getattr__
    self._setup(name)
  File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 49, in _setup
    self._wrapped = Settings(settings_module)
  File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 132, in __init__
    % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings '{{ project_name }}.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named {{ project_name }}.settings


What can I do to solve the problem?
Thank you ,
Andrea.


--

Andrea Vianello

EURAC research
Institute for Applied Remote Sensing
Viale Druso 1, I-39100 Bolzano, Italy
t  +39 0471 055 270

andrea.vianello at eurac.edu<mailto:andrea.vianello at eurac.edu>
www.eurac.edu<http://www.eurac.edu/>

This transmission is intended only for the use of the addressee and may contain confidential or legally privileged information.
If you receive this transmission by error, please notify the author immediately by mail and delete all copies of this transmission and any attachments.
Any use or dissemination of this communication is strictly prohibited by the "Privacy-Code", D.Lgs. 196/2003 and may lead to penal prosecution and liability for damages.
P Think before you print

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160801/79722df3/attachment.html>


More information about the geonode-users mailing list