[OSGeoLive] #2360: EOxServer fails to launch

OSGeoLive trac_osgeolive at osgeo.org
Wed Jun 22 15:28:39 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 darkblueb):

 build 93 shows:
 {{{
 Wed Jun 22 22:25:43.891411 2022] [wsgi:error] [pid 1248] /usr/lib/python3
 /dist-packages/django/contrib/gis/shortcuts.py:10: UserWarning: NumPy was
 imported from a Python sub-interpreter but NumPy does not properly support
 sub-interpreters. This will likely work for most users but might cause
 hard to track down issues or subtle bugs. A common user of the rare sub-
 interpreter feature is wsgi which also allows single-interpreter mode.
 [Wed Jun 22 22:25:43.891458 2022] [wsgi:error] [pid 1248] Improvements in
 the case of bugs are welcome, but is not on the NumPy roadmap, and full
 support may require significant effort to achieve.
 [Wed Jun 22 22:25:43.891462 2022] [wsgi:error] [pid 1248]   import numpy
 [Wed Jun 22 22:25:43.954763 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338] mod_wsgi (pid=1248): Failed to exec Python script file
 '/usr/local/share/eoxserver/eoxserver_demonstration/eoxserver_demonstration/wsgi.py'.
 [Wed Jun 22 22:25:43.954820 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338] mod_wsgi (pid=1248): Exception occurred processing WSGI
 script
 '/usr/local/share/eoxserver/eoxserver_demonstration/eoxserver_demonstration/wsgi.py'.
 [Wed Jun 22 22:25:43.960132 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338] Traceback (most recent call last):
 [Wed Jun 22 22:25:43.960180 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]   File
 "/usr/local/share/eoxserver/eoxserver_demonstration/eoxserver_demonstration/wsgi.py",
 line 67, in <module>
 [Wed Jun 22 22:25:43.960184 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]     application = get_wsgi_application()
 [Wed Jun 22 22:25:43.960188 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]   File "/usr/lib/python3/dist-
 packages/django/core/wsgi.py", line 12, in get_wsgi_application
 [Wed Jun 22 22:25:43.960191 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]     django.setup(set_prefix=False)
 [Wed Jun 22 22:25:43.960195 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]   File "/usr/lib/python3/dist-
 packages/django/__init__.py", line 24, in setup
 [Wed Jun 22 22:25:43.960198 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]     apps.populate(settings.INSTALLED_APPS)
 [Wed Jun 22 22:25:43.960201 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]   File "/usr/lib/python3/dist-
 packages/django/apps/registry.py", line 114, in populate
 [Wed Jun 22 22:25:43.960203 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]     app_config.import_models()
 [Wed Jun 22 22:25:43.960207 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]   File "/usr/lib/python3/dist-
 packages/django/apps/config.py", line 301, in import_models
 [Wed Jun 22 22:25:43.960209 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]     self.models_module =
 import_module(models_module_name)
 [Wed Jun 22 22:25:43.960218 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]   File "/usr/lib/python3.10/importlib/__init__.py", line
 126, in import_module
 [Wed Jun 22 22:25:43.960221 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]     return _bootstrap._gcd_import(name[level:], package,
 level)
 [Wed Jun 22 22:25:43.960224 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]   File "<frozen importlib._bootstrap>", line 1050, in
 _gcd_import
 [Wed Jun 22 22:25:43.960228 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]   File "<frozen importlib._bootstrap>", line 1027, in
 _find_and_load
 [Wed Jun 22 22:25:43.960231 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]   File "<frozen importlib._bootstrap>", line 1006, in
 _find_and_load_unlocked
 [Wed Jun 22 22:25:43.960235 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]   File "<frozen importlib._bootstrap>", line 688, in
 _load_unlocked
 [Wed Jun 22 22:25:43.960238 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]   File "<frozen importlib._bootstrap_external>", line
 883, in exec_module
 [Wed Jun 22 22:25:43.960241 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]   File "<frozen importlib._bootstrap>", line 241, in
 _call_with_frames_removed
 [Wed Jun 22 22:25:43.960248 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]   File "/usr/lib/python3/dist-
 packages/eoxserver/services/models.py", line 30, in <module>
 [Wed Jun 22 22:25:43.960251 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]     from eoxserver.resources.coverages import models as
 coverage_models
 [Wed Jun 22 22:25:43.960255 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]   File "/usr/lib/python3/dist-
 packages/eoxserver/resources/coverages/models.py", line 45, in <module>
 [Wed Jun 22 22:25:43.960257 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338]     from django.utils.encoding import
 python_2_unicode_compatible
 [Wed Jun 22 22:25:43.960270 2022] [wsgi:error] [pid 1248] [remote
 127.0.0.1:40338] ImportError: cannot import name
 'python_2_unicode_compatible' from 'django.utils.encoding'
 (/usr/lib/python3/dist-packages/django/utils/encoding.py)

 }}}
-- 
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2360#comment:6>
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