-
Notifications
You must be signed in to change notification settings - Fork 819
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Runtime Error with generate_tiles.py #3086
Comments
I have the same problem under Debian Sid. I just remove that font name, as it's just another, probably older, name for "Unifont Medium". I have no idea in which context that name is still valid. I have to add that this only breaks when using |
To echo what @StyXman said, both "unifont Medium" and "Unifont Medium" are valid in different Linux distributions. That's not normally a problem, because if something like When using it I tend to remove styles that are obvious duplicates (like "Unifont Medium" here) and add any new ones I might want to install (e.g. for language families such as Burmese that I might want to see displayed on a map, but wouldn't normally be installed by default). |
I think I have mentioned this before. I have hacked https://github.com/StyXman/elevation/blob/master/generate_tiles.py#L673 Just now @Ircama sent me how to fix this problem. See StyXman/elevation#1 . I'll try to do it during the weekend. |
This issue is not really related to this style, I guess this is external issue, probably old (XML) OSM.org stylesheet: https://github.com/openstreetmap/mapnik-stylesheets Therefore we should probably close this issue. |
No, the issue happens because this style works only if |
Oh, I see. Could you prepare such PR? |
Sure, probably later or tomorrow. |
I have just checked and that problem is now fixed with your generate_tiles.py version, thanks. |
I think it's effectively closed by #3089. |
I installed a tile server based on this tutorial: https://ircama.github.io/osm-carto-tutorials/tile-server-ubuntu/
I strictly followed the instructions and I use Ubuntu 16.04.1 clean install.
The server works, but there is an error when I want to run generate_tiles.py.
"Runtime Error: Failed to find font face 'unifont Medium' in FontSet 'fontset-0' in FontSet at line 17 of '/home/user/src/openstreetmap-carto/style.xml
The text was updated successfully, but these errors were encountered: