[GeoNode-users] GeoNode UpdateLayers
1520 gis
juliermeopensourcedeveloper at gmail.com
Fri Jul 5 13:12:15 PDT 2019
Dear users and developers,
I am running GeoNode-Project Master installed via Docker and I am facing an
issue while updating GeoNode layers (python manage.py updatelayers -w
geonode -f cbge_trecho_arruamento) the response is in [1]:
Looking at GeoNode tree, I found updalayers.py file, but I could not find
it under GeoNode-Project Master tree
https://github.com/GeoNode/geonode/blob/master/geonode/geoserver/management/commands/updatelayers.py
Any suggestion on this issue will be very appreciated,
Kind regards,
Julierme
[1] Response for python manage.py updatelayers -w geonode -f
cbge_trecho_arruamento
File "manage.py", line 31, in <module>
execute_from_command_line(sys.argv)
File
"/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 364, in execute_from_command_line
utility.execute()
File
"/usr/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/usr/local/lib/python2.7/site-packages/django/core/management/base.py",
line 283, in run_from_argv
self.execute(*args, **cmd_options)
File
"/usr/local/lib/python2.7/site-packages/django/core/management/base.py",
line 330, in execute
output = self.handle(*args, **options)
File
"/usr/src/geonode/geonode/geoserver/management/commands/updatelayers.py",
line 98, in handle
owner = get_valid_user(user)
File "/usr/src/geonode/geonode/people/utils.py", line 44, in
get_valid_user
theuser = get_default_user()
File "/usr/src/geonode/geonode/people/utils.py", line 31, in
get_default_user
if superusers.count() > 0:
File "/usr/local/lib/python2.7/site-packages/django/db/models/query.py",
line 364, in count
return self.query.get_count(using=self.db)
File
"/usr/local/lib/python2.7/site-packages/django/db/models/sql/query.py",
line 499, in get_count
number = obj.get_aggregation(using, ['__count'])['__count']
File
"/usr/local/lib/python2.7/site-packages/django/db/models/sql/query.py",
line 480, in get_aggregation
result = compiler.execute_sql(SINGLE)
File
"/usr/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py",
line 899, in execute_sql
raise original_exception
django.db.utils.OperationalError: no such table: people_profile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20190705/3a11b52b/attachment.html>
More information about the geonode-users
mailing list