[MapProxy] FileNotFoundError coverages seeding

Johannes Weskamm weskamm at terrestris.de
Wed Mar 1 01:02:14 PST 2023


Just another quickfix idea:


ln -s /usr/lib/libgdal.a /usr/lib/liblibgdal.a


Maybe that helps.

Greetings,

Johannes



Am 28.02.23 um 14:13 schrieb Johannes Weskamm:
>
> Hi,
>
>
> Did you install "libgdal-dev" ?
>
> And if so and the problem persists, it is very likely related to this:
>
> https://github.com/mapproxy/mapproxy/issues/600
>
>
> This has been fixed in the current master, but there is no relase yet 
> which includes the fix.
>
> If i remember correctly, this issue only exists on ubuntu 22.
>
>
> Greetings,
>
> Johannes
>
>
> Am 28.02.23 um 13:38 schrieb Anika Graupner:
>> 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/ 
>> <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
>>
>> _______________________________________________
>> MapProxy mailing list
>> MapProxy at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapproxy
> -- 
> Dipl.-Geogr. Johannes Weskamm
>    — Anwendungsentwickler —
>
>    terrestris GmbH & Co. KG
>    Kölnstraße 99
>    53111 Bonn
>
>    Tel: +49 (0)228 / 96 28 99 -51
>    Fax: +49 (0)228 / 96 28 99 -57
>
>    Email:weskamm at terrestris.de
>    Web:https://www.terrestris.de
>
>    Amtsgericht Bonn, HRA 6835
>    Komplementärin: terrestris Verwaltungsgesellschaft mbH
>    vertreten durch: Torsten Brassat, Marc Jansen
>    
>    Informationen über Ihre gespeicherten Daten finden Sie auf
>    unserer Homepage unter folgendem Link:
>    https://www.terrestris.de/datenschutzerklaerung/
>
> _______________________________________________
> MapProxy mailing list
> MapProxy at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/mapproxy

-- 
Dipl.-Geogr. Johannes Weskamm
   — Anwendungsentwickler —

   terrestris GmbH & Co. KG
   Kölnstraße 99
   53111 Bonn

   Tel: +49 (0)228 / 96 28 99 -51
   Fax: +49 (0)228 / 96 28 99 -57

   Email:weskamm at terrestris.de
   Web:https://www.terrestris.de

   Amtsgericht Bonn, HRA 6835
   Komplementärin: terrestris Verwaltungsgesellschaft mbH
   vertreten durch: Torsten Brassat, Marc Jansen
   
   Informationen über Ihre gespeicherten Daten finden Sie auf
   unserer Homepage unter folgendem Link:
   https://www.terrestris.de/datenschutzerklaerung/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20230301/b120bf52/attachment.htm>


More information about the MapProxy mailing list