[GeoNode-users] Unable to see a newly added layer in Geoserver in Geonode
irlan128
irlan128 at gmail.com
Wed Dec 2 03:15:27 PST 2020
Dear all,
when i execute "python manage.py updatelayers --skip-geonode-registered -w
geonode"
the error is like this
root at 7b1d9bf01750:/usr/src/geonode# python manage.py updatelayers
--skip-geonode-registered -w geonode
*Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py",
line 84, in _execute
return self.cursor.execute(sql, params)
File
"/usr/local/lib/python3.8/site-packages/django/db/backends/sqlite3/base.py",
line 383, in execute
return Database.Cursor.execute(self, query, params)
sqlite3.OperationalError: no such table: people_profile
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "manage.py", line 29, in <module>
execute_from_command_line(sys.argv)
File
"/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py",
line 381, in execute_from_command_line
utility.execute()
File
"/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py",
line 375, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File
"/usr/local/lib/python3.8/site-packages/django/core/management/base.py",
line 323, in run_from_argv
self.execute(*args, **cmd_options)
File
"/usr/local/lib/python3.8/site-packages/django/core/management/base.py",
line 364, in execute
output = self.handle(*args, **options)
File
"/usr/src/geonode/geonode/geoserver/management/commands/updatelayers.py",
line 97, in handle
owner = get_valid_user(user)
File "/usr/src/geonode/geonode/people/utils.py", line 46, in
get_valid_user
theuser = get_default_user()
File "/usr/src/geonode/geonode/people/utils.py", line 33, in
get_default_user
if superusers.count() > 0:
File "/usr/local/lib/python3.8/site-packages/django/db/models/query.py",
line 392, in count
return self.query.get_count(using=self.db)
File
"/usr/local/lib/python3.8/site-packages/django/db/models/sql/query.py", line
504, in get_count
number = obj.get_aggregation(using, ['__count'])['__count']
File
"/usr/local/lib/python3.8/site-packages/django/db/models/sql/query.py", line
489, in get_aggregation
result = compiler.execute_sql(SINGLE)
File
"/usr/local/lib/python3.8/site-packages/django/db/models/sql/compiler.py",
line 1142, in execute_sql
cursor.execute(sql, params)
File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py",
line 67, in execute
return self._execute_with_wrappers(sql, params, many=False,
executor=self._execute)
File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py",
line 76, in _execute_with_wrappers
return executor(sql, params, many, context)
File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py",
line 84, in _execute
return self.cursor.execute(sql, params)
File "/usr/local/lib/python3.8/site-packages/django/db/utils.py", line 89,
in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/usr/local/lib/python3.8/site-packages/django/db/backends/utils.py",
line 84, in _execute
return self.cursor.execute(sql, params)
File
"/usr/local/lib/python3.8/site-packages/django/db/backends/sqlite3/base.py",
line 383, in execute
return Database.Cursor.execute(self, query, params)
django.db.utils.OperationalError: no such table: people_profile
*
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoNode-users-f5185389.html
More information about the geonode-users
mailing list