[OSGeoLive] #2360: EOxServer fails to launch
OSGeoLive
trac_osgeolive at osgeo.org
Wed Jun 22 10:36:38 PDT 2022
#2360: EOxServer fails to launch
-------------------------------+----------------------------
Reporter: darkblueb | Owner: osgeolive@…
Type: defect | Status: new
Priority: critical | Milestone: OSGeoLive15.0
Component: OSGeoLive | Resolution:
Keywords: eoxserver, django |
-------------------------------+----------------------------
Comment (by kalxas):
After downgrading to Django 2.2.24 the next error is this:
{{{
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 "/usr/local/share/eoxserver/eoxserver_demonstration/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.10/importlib/__init__.py", line 126, in
import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in
_find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, 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 112, in <module>
_ast.Index,
AttributeError: module '_ast' has no attribute 'Index'
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2360#comment:4>
OSGeoLive <https://live.osgeo.org/>
self-contained bootable DVD, USB thumb drive or Virtual Machine based on Lubuntu, that allows you to try a wide variety of open source geospatial software without installing anything.
More information about the osgeolive
mailing list