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

Simone Dalmasso simone.dalmasso at gmail.com
Tue Aug 2 01:18:34 PDT 2016


Hi, just to add a note to the Amedeo's right answer, the Python manage is a
command available for Geonode installed in Dev mode, while by default the
Ubuntu package installs the command geonode available in any shell.

Il martedì 2 agosto 2016, Amedeo Fadini <amefad at gmail.com> ha scritto:

> Hello Andrea,
>
> 2016-08-01 12:22 GMT+02:00 Vianello Andrea <Andrea.Vianello at eurac.edu
> <javascript:;>>:
> > Hi,
> >
> [...]
> > 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?
>
> The command goenode updatelayers is an alias for django-admin, not
> manage.py
>
> the content of /usr/sbin/geonode in my installation (also ubuntu 14.04
> with ppa) is this:
>
> #!/bin/bash
> if hash django-admin 2>/dev/null; then
>     django-admin $@ --settings=geonode.settings
> else
>     django-admin.py $@ --settings=geonode.settings
> fi
>
> maybe you could try to create it  and make executable, or test the command
>
> The error "Could not import settings '{{ project_name }}.settings'"
> says that you didn't specify any project settings.
>
> Amedeo
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org <javascript:;>
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160802/c8a22f09/attachment.html>


More information about the geonode-users mailing list