<div dir="ltr">This looks like a issue with mapnik not mapproxy. I would guess that you have the incorrect path in the mapnik config or missing fonts.<br></div><br><div class="gmail_quote"><div dir="ltr">On Sun, 14 Oct 2018 at 09:39, Chen Barnoy <<a href="mailto:jicrbuh1@gmail.com">jicrbuh1@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="rtl"><div dir="rtl"><div dir="rtl"><div dir="ltr">Hi all,</div><div dir="ltr"><br></div><div dir="ltr">I am trying to set up a wms server using MapProxy 1.8.2 and mapnik, displaying osm data in EPSG:4326, on ubuntu 18.</div><div dir="ltr">The mapproxy demo did run ok.<br></div><div dir="ltr"><br></div><div dir="ltr">With the help of this tutorial (<a href="https://switch2osm.org/manually-building-a-tile-server-18-04-lts/" target="_blank">switch2osm</a>) I've managed to install mapnik, create a stylesheet, and it does seem to work in their described pipeline (mod_tile, renderd, mapnik, osm2pgsql and a postgresql/postgis database). <br></div><div dir="ltr"><br></div><div dir="ltr">however, when trying to use mapnik as a source to wms, the map is empty in the demo page.</div><div dir="ltr"> </div><div dir="ltr">this is my configuration:</div><div dir="ltr">services:<br> demo:<br> tms:<br> use_grid_names: true<br> # origin for /tiles service<br> origin: 'nw'<br> kml:<br> use_grid_names: true<br> wmts:<br> wms:<br> md:<br> title: MapProxy WMS Proxy<br> abstract: This is a minimal MapProxy example.<br><br>layers:<br> - name: mapniktest<br> title: test layer based on mapnik<br> sources: [my_mapnik_source]<br><br>sources:<br> my_mapnik_source:<br> type: mapnik<br> mapfile: /home/chen/src/openstreetmap-carto/mapnik.xml<br><br></div><div dir="ltr">this is the output I get in the terminal: </div><div dir="ltr"><br>[2018-10-14 16:19:12,778] mapproxy.config - INFO - reading: /home/chen/mymapproxy/mapproxy.yaml<br>[info] * Running on <a href="http://127.0.0.1:8080/" target="_blank">http://127.0.0.1:8080/</a> (Press CTRL+C to quit)<br>[info] * Restarting with reloader<br>[2018-10-14 16:19:13,199] mapproxy.config - INFO - reading: /home/chen/mymapproxy/mapproxy.yaml<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:31] "GET / HTTP/1.1" 200 -<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:34] "GET /demo/ HTTP/1.1" 200 -<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:34] "GET /demo/static/site.css HTTP/1.1" 200 -<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:34] "GET /demo/static/logo.png HTTP/1.1" 200 -<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:39] "GET /demo/?srs=EPSG%3A4326&format=image%2Fpng&wms_layer=mapniktest HTTP/1.1" 200 -<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:39] "GET /demo/static/site.css HTTP/1.1" 200 -<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:39] "GET /demo/static/logo.png HTTP/1.1" 200 -<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:39] "GET /demo/static/OpenLayers.js HTTP/1.1" 200 -<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:39] "GET /demo/static/theme/default/style.css HTTP/1.1" 200 -<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:39] "GET /demo/static/img/north-mini.png HTTP/1.1" 200 -<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:39] "GET /demo/static/img/west-mini.png HTTP/1.1" 200 -<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:39] "GET /demo/static/img/east-mini.png HTTP/1.1" 200 -<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:39] "GET /demo/static/img/zoom-plus-mini.png HTTP/1.1" 200 -<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:39] "GET /demo/static/img/south-mini.png HTTP/1.1" 200 -<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:39] "GET /demo/static/img/zoom-world-mini.png HTTP/1.1" 200 -<br>[info] 127.0.0.1 - - [14/Oct/2018 16:19:39] "GET /demo/static/img/zoom-minus-mini.png HTTP/1.1" 200 -<br>Mapnik LOG> 2018-10-14 16:19:39: warning: unable to find face-name 'Noto Emoji Regular' in FontSet 'fontset-0'<br>Mapnik LOG> 2018-10-14 16:19:39: warning: unable to find face-name 'HanaMinA Regular' in FontSet 'fontset-0'<br>Mapnik LOG> 2018-10-14 16:19:39: warning: unable to find face-name 'HanaMinB Regular' in FontSet 'fontset-0'<br>Mapnik LOG> 2018-10-14 16:19:39: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-0'<br>Mapnik LOG> 2018-10-14 16:19:39: warning: unable to find face-name 'Noto Emoji Regular' in FontSet 'fontset-1'<br>Mapnik LOG> 2018-10-14 16:19:39: warning: unable to find face-name 'HanaMinA Regular' in FontSet 'fontset-1'<br>Mapnik LOG> 2018-10-14 16:19:39: warning: unable to find face-name 'HanaMinB Regular' in FontSet 'fontset-1'<br>Mapnik LOG> 2018-10-14 16:19:39: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-1'<br>Mapnik LOG> 2018-10-14 16:19:39: warning: unable to find face-name 'Noto Emoji Regular' in FontSet 'fontset-2'<br>Mapnik LOG> 2018-10-14 16:19:39: warning: unable to find face-name 'HanaMinA Regular' in FontSet 'fontset-2'<br>Mapnik LOG> 2018-10-14 16:19:39: warning: unable to find face-name 'HanaMinB Regular' in FontSet 'fontset-2'<br>Mapnik LOG> 2018-10-14 16:19:39: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-2'<br>[2018-10-14 16:19:40,441] mapproxy.source.request - INFO - API /home/chen/src/openstreetmap-carto/mapnik.xml:(-260.859375,-210.9375,260.859375,210.9375):EPSG:4326:(742,600) 200 3.2 1121<br></div><div dir="ltr"><br></div><div dir="ltr">I am glad for any help,</div><div dir="ltr">Chen<br></div></div></div></div>
_______________________________________________<br>
MapProxy mailing list<br>
<a href="mailto:MapProxy@lists.osgeo.org" target="_blank">MapProxy@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapproxy" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapproxy</a></blockquote></div>