[OSGeoLive] #2370: pycsw GetCapabilities causes shapely bug with numpy

OSGeoLive trac_osgeolive at osgeo.org
Tue Jun 21 06:44:19 PDT 2022

#2370: pycsw GetCapabilities causes shapely bug with numpy
 Reporter:  kalxas     |      Owner:  osgeolive@…
     Type:  defect     |     Status:  new
 Priority:  critical   |  Milestone:
Component:  OSGeoLive  |   Keywords:
 user at osgeolive:/var/log/apache2$ tail -f error.log
 [Tue Jun 21 13:35:17.522655 2022] [mpm_prefork:notice] [pid 1074] AH00163:
 Apache/2.4.52 (Ubuntu) mod_fcgid/2.3.9 mod-mapcache/1.12.0 mod_wsgi/4.9.0
 Python/3.10 configured -- resuming normal operations
 [Tue Jun 21 13:35:17.522692 2022] [core:notice] [pid 1074] AH00094:
 Command line: '/usr/sbin/apache2'
 [Tue Jun 21 13:40:37.628493 2022] [wsgi:error] [pid 1095] /usr/lib/python3
 /dist-packages/shapely/geometry/base.py:30: 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.
 [Tue Jun 21 13:40:37.628513 2022] [wsgi:error] [pid 1095] Improvements in
 the case of bugs are welcome, but is not on the NumPy roadmap, and full
 support may require significant effort to achieve.
 [Tue Jun 21 13:40:37.628516 2022] [wsgi:error] [pid 1095]   import numpy
 as np
 [Tue Jun 21 13:40:37.643970 2022] [wsgi:error] [pid 1095] [client] /csw.py, referer: http://localhost/pycsw/tests/index.html
Ticket URL: <https://trac.osgeo.org/osgeolive/ticket/2370>
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