[OSM-dev] generate_xml.py problem with fonts

Alexandre Busquets abusquets at gmail.com
Thu Feb 2 22:41:42 GMT 2012


Hi,

I try to generate my osm.xml file with this command
/generate_xml.py osm.xml my_osm.xml --dbname xxx --user xxx --password xxx
--host localhost --port 5432
but I have this error:

Traceback (most recent call last):
  File "./generate_xml.py", line 201, in <module>
    serialize(template_xml,options)
  File "./generate_xml.py", line 77, in serialize
    mapnik.load_map(m,xml,True)
RuntimeError: Failed to find font face '' in FontSet 'book-fonts'

I downloaded the code from
http://svn.openstreetmap.org/applications/rendering/mapnik/

My scenario is:
ubuntu server 10.04
libmapnik0.7 from package
python-mapnik from package
mapnik-utils from package


What is the problem?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20120202/154b933e/attachment.html>


More information about the dev mailing list