Opened 4 years ago

Closed 4 years ago

#2267 closed defect (fixed)

eoxserver client error

Reported by: kalxas Owned by: osgeolive@…
Priority: critical Milestone: OSGeoLive14.0
Component: OSGeoLive Keywords: eoxserver
Cc: osgeolive@…

Description

debian package exists for focal, installer needs testing and review.

Change History (8)

comment:2 by kalxas, 4 years ago

Creating EOxServer demonstration instance
/usr/bin/eoxserver-admin.py:35: DeprecationWarning: 'eoxserver-admin.py' is deprecated. Use 'eoxserver-instance.py' to create an instance
  warnings.warn(
Initializing django project folder.
Traceback (most recent call last):
  File "manage.py", line 22, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 357, in execute
    django.setup()
  File "/usr/lib/python3/dist-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/lib/python3/dist-packages/django/apps/registry.py", line 114, in populate
    app_config.import_models()
  File "/usr/lib/python3/dist-packages/django/apps/config.py", line 211, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/eoxserver/services/models.py", line 30, in <module>
    from eoxserver.resources.coverages import models as coverage_models
  File "/usr/lib/python3/dist-packages/eoxserver/resources/coverages/models.py", line 50, in <module>
    from eoxserver.render.browse.generate import (
  File "/usr/lib/python3/dist-packages/eoxserver/render/browse/generate.py", line 110, in <module>
    _ast.Num,
AttributeError: module '_ast' has no attribute 'Num'

comment:3 by kalxas, 4 years ago

Type: taskdefect
Creating EOxServer demonstration instance
/usr/bin/eoxserver-admin.py:35: DeprecationWarning: 'eoxserver-admin.py' is deprecated. Use 'eoxserver-instance.py' to create an instance
  warnings.warn(
Initializing django project folder.
Traceback (most recent call last):
  File "manage.py", line 22, in <module>
    execute_from_command_line(sys.argv)
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 381, in execute_from_command_line
    utility.execute()
  File "/usr/lib/python3/dist-packages/django/core/management/__init__.py", line 375, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 323, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 364, in execute
    output = self.handle(*args, **options)
  File "/usr/lib/python3/dist-packages/django/core/management/base.py", line 83, in wrapped
    res = handle_func(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/django/core/management/commands/migrate.py", line 87, in handle
    executor = MigrationExecutor(connection, self.migration_progress_callback)
  File "/usr/lib/python3/dist-packages/django/db/migrations/executor.py", line 18, in __init__
    self.loader = MigrationLoader(self.connection)
  File "/usr/lib/python3/dist-packages/django/db/migrations/loader.py", line 49, in __init__
    self.build_graph()
  File "/usr/lib/python3/dist-packages/django/db/migrations/loader.py", line 212, in build_graph
    self.applied_migrations = recorder.applied_migrations()
  File "/usr/lib/python3/dist-packages/django/db/migrations/recorder.py", line 73, in applied_migrations
    if self.has_table():
  File "/usr/lib/python3/dist-packages/django/db/migrations/recorder.py", line 56, in has_table
    return self.Migration._meta.db_table in self.connection.introspection.table_names(self.connection.cursor())
  File "/usr/lib/python3/dist-packages/django/db/backends/base/base.py", line 256, in cursor
    return self._cursor()
  File "/usr/lib/python3/dist-packages/django/db/backends/dummy/base.py", line 20, in complain
    raise ImproperlyConfigured("settings.DATABASES is improperly configured. "
django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details.

comment:4 by kalxas, 4 years ago

Summary: eoxserver packaging revieweoxserver demo error

comment:6 by kalxas, 4 years ago

Demo datasets are not shown properly in the eox client

comment:7 by kalxas, 4 years ago

Summary: eoxserver demo erroreoxserver client error

comment:8 by kalxas, 4 years ago

Resolution: fixed
Status: newclosed

Fixed in build 250

Note: See TracTickets for help on using tickets.