Open arjxn-py opened 1 month ago
Thanks for opening an issue!
This is unfortunate, I thought this part of the code would not prevent the build from passing and we would simply ignore those failing requests.
Just for your information, these requests are for populating the raster-tiles gallery with nice image in the UI.
You should be able to bypass this for now with jlpm run build:dev
instead of jlpm run build
, although I'm not 100% sure this will build everything you need.
Thanks for the quick response @martinRenou, I'll do as suggested.
I thought this part of the code
I'd be happy to know which part of code is resulting in this as I'm not sure.
It's this Python script which downloads all the gallery images at build time https://github.com/QuantStack/jupytergis/blob/main/packages/base/rasterlayer_gallery_generator.py. It is being used by this NPM script https://github.com/QuantStack/jupytergis/blob/main/packages/base/package.json#L31 during the build of jupytergis
During the build process of the
@jupytergis/base
, I encountered multiple warnings and errors related to fetching map tiles and processing images. Below are the error logs.Full error logs
``` √ @jupytergis/schema:build (9s) × @jupytergis/base:build C:\Users\Arjun\miniconda3\envs\jgis\Lib\site-packages\PIL\Image.py:1056: UserWarning: Palette images with Transparency expressed in bytes should be converted to RGBA images warnings.warn( Process OpenStreetMap Mapnik Fetch https://tile.openstreetmap.org/5/16/11.png Fetch https://tile.openstreetmap.org/5/17/11.png Fetch https://tile.openstreetmap.org/5/16/12.png Fetch https://tile.openstreetmap.org/5/17/12.png Process OpenStreetMap DE Fetch https://tile.openstreetmap.de/8/135/85.png Fetch https://tile.openstreetmap.de/8/136/85.png Fetch https://tile.openstreetmap.de/8/135/86.png Fetch https://tile.openstreetmap.de/8/136/86.png Process OpenStreetMap CH Fetch https://tile.osm.ch/switzerland/8/133/90.png Fetch https://tile.osm.ch/switzerland/8/134/90.png Fetch https://tile.osm.ch/switzerland/8/133/91.png Fetch https://tile.osm.ch/switzerland/8/134/91.png Process OpenStreetMap France Fetch https://a.tile.openstreetmap.fr/osmfr/5/16/11.png Fetch https://a.tile.openstreetmap.fr/osmfr/5/17/11.png Fetch https://a.tile.openstreetmap.fr/osmfr/5/16/12.png Fetch https://a.tile.openstreetmap.fr/osmfr/5/17/12.png Process OpenStreetMap HOT Fetch https://a.tile.openstreetmap.fr/hot/5/16/11.png Fetch https://a.tile.openstreetmap.fr/hot/5/17/11.png Fetch https://a.tile.openstreetmap.fr/hot/5/16/12.png Fetch https://a.tile.openstreetmap.fr/hot/5/17/12.png Process OpenStreetMap BZH Fetch https://tile.openstreetmap.bzh/br/8/125/89.png Fetch https://tile.openstreetmap.bzh/br/8/126/89.png Fetch https://tile.openstreetmap.bzh/br/8/125/90.png Fetch https://tile.openstreetmap.bzh/br/8/126/90.png Process OpenStreetMap BlackAndWhite Fetch http://a.tiles.wmflabs.org/bw-mapnik/5/16/11.png Failed... HTTPConnectionPool(host='a.tiles.wmflabs.org', port=80): Max retries exceeded with url: /bw-mapnik/5/16/11.png (Caused by NameResolutionError("