[MapProxy] FileNotFoundError coverages seeding

Anika Graupner Anika.Graupner at krzn.de
Tue Feb 28 04:38:18 PST 2023


Hello,

we have installed Mapproxy on Ubuntu 22.04.2 LTS in our company, version 
1.13.0.
We provide a simple wms with one raster layer.

We also create a seed configuration for this service which looks like 
this:

seeds:
  fullseed_bp_raster:
    caches: [BPRaster_cache]
    coverages: [bp_raster]

  reseed_bp_raster:
    caches: [BPRaster_cache]
    coverages: [changes_bp_raster]

coverages:
  bp_raster:
    bbox: [220000,5100000,300000,500000]
    srs: "EPSG:25832"
  changes_bp_raster:
   #example with PostGIS query
    datasource: "PG: dbname='XXX' host='XXX' port='XXX' user='XXX' 
password='XXX'"
    where: "select * from xplanmgr.plans where xp_type = 'BP_Plan' and 
planstatus = 'Festgestellt' and import_date > current_date - interval '100 
days'"
    srs: 'EPSG:25832'

The seeding task "fullseed_bp_raster" could be executed successfully.

The second seeding task "reseed_bp_raster" should only seed areas where 
there have been changes in the database.

But when we try to start the seeding task "changes_bp_raster" with this 
command
"mapproxy-seed -f service.yaml -s seed_service.yaml --seed 
reseed_bp_raster" 
we get the following error:

[...]
File "/usr/lib/python3.10/ctypes/util.py", line 99, in _is_elf
    with open(filename, 'br') as thefile:
FileNotFoundError: [Errno 2] No such file or directory: b'liblibgdal.a'

We installed shapely and geos as described on the following page: 
https://mapproxy.org/docs/1.13.0/coverages.html#requirements

Furthermore we also installed the following versions:

Python 3.10.6
GDAL 3.4.1, released 2021/12/27

Does anyone have an idea how to solve this or has anyone had this problem 
before?
It could also be that the configuration is not quite right yet, but I 
suspect the problem comes more from the libraries.

Thanks in advance!
Anika Graupner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20230228/15e66fb2/attachment.htm>


More information about the MapProxy mailing list