uktrade / mbtiles-s3-server

Python server to on-the-fly extract and serve vector tiles from an mbtiles file on S3
MIT License
154 stars 4 forks source link

pip install incompleted #1

Closed markuman closed 2 years ago

markuman commented 2 years ago

After trying to start python3 -m mbtiles_s3_server

I got

FileNotFoundError: [Errno 2] No such file or directory: '/usr/local/lib/python3.10/dist-packages/mbtiles_s3_server/vendor/osm-bright-gl-style@1.0.0/style.json'

osm-bright-gl-style is missing

ubuntu@osm:~$ sudo find /usr/local/lib/python3.10/ -name style.json
/usr/local/lib/python3.10/dist-packages/mbtiles_s3_server/vendor/maptiler-toner-gl-style@1.0.0/style.json
/usr/local/lib/python3.10/dist-packages/mbtiles_s3_server/vendor/positron-gl-style@1.0.0/style.json
/usr/local/lib/python3.10/dist-packages/mbtiles_s3_server/vendor/osm-liberty@1.0.0/style.json
/usr/local/lib/python3.10/dist-packages/mbtiles_s3_server/vendor/fiord-color-gl-style@1.0.0/style.json
/usr/local/lib/python3.10/dist-packages/mbtiles_s3_server/vendor/maptiler-3d-gl-style@1.0.0/style.json
/usr/local/lib/python3.10/dist-packages/mbtiles_s3_server/vendor/dark-matter-gl-style@1.0.0/style.json
/usr/local/lib/python3.10/dist-packages/mbtiles_s3_server/vendor/maptiler-terrain-gl-style@1.0.0/style.json
/usr/local/lib/python3.10/dist-packages/mbtiles_s3_server/vendor/maptiler-basic-gl-style@1.0.0/style.json

using python 3.10 on ubuntu 22.04

michalc commented 2 years ago

Can reproduce the issue - investigating

michalc commented 2 years ago

(In the meantime, cloning this repo and running from it should work)

michalc commented 2 years ago

Fixed in v0.0.12 (Feel free to re-open if it's still an issue)