librelist archives

« back to archive

GeoNetwork & django-admin.py updatelayers

GeoNetwork & django-admin.py updatelayers

From:
Joe Larson
Date:
2011-02-16 @ 01:11
i suspect there may be an issue with GeoNetwork when running
'django-admin.py updatelayers --settings=geonode.settings' when in virtual
environment.

after gettings errors when trying to updatelayers - i switched my
username/password to the default values shipped with chef-geonode_prod...and
then was able to update my layers so that GeoNode could see my PostGIS
layers loaded into GeoServer.

after the update, i changed my username/password in the web interface for
GeoNetwork (instead of in local_settings.py, like I did the first time) - -
but ran into the problem again when updating layers>changed the user/pass
back to default & it worked. Hope this helps, Joe.

Re: GeoNetwork & django-admin.py updatelayers

From:
Joe Larson
Date:
2011-02-16 @ 01:38
The issue was that I did not have the same user/pass in both GeoNetwork and
Django. Set GeoNetwork and your local_settings.py!

On Tue, Feb 15, 2011 at 5:11 PM, Joe Larson <joelarso@gmail.com> wrote:

> i suspect there may be an issue with GeoNetwork when running
> 'django-admin.py updatelayers --settings=geonode.settings' when in virtual
> environment.
>
> after gettings errors when trying to updatelayers - i switched my
> username/password to the default values shipped with chef-geonode_prod...and
> then was able to update my layers so that GeoNode could see my PostGIS
> layers loaded into GeoServer.
>
> after the update, i changed my username/password in the web interface for
> GeoNetwork (instead of in local_settings.py, like I did the first time) - -
> but ran into the problem again when updating layers>changed the user/pass
> back to default & it worked. Hope this helps, Joe.
>