Bug#799473: openstreetmap-carto: no valid fonts could be loaded in FontSet with Mapnik 3
Ruben Undheim
ruben.undheim at gmail.com
Sat Sep 19 15:03:16 UTC 2015
Package: openstreetmap-carto
Version: 2.35.0-1
Severity: important
Dear Maintainer,
With this simple python script:
>>> import mapnik
>>> stylesheet = 'style.xml'
>>> image = 'world_style.png'
>>> m = mapnik.Map(600,300)
>>> mapnik.load_map(m, stylesheet)
I get this error:
[TileLite Debug] --> Using mapfile: '/var/lib/osm-tile-server-base/tilesets/default/style.xml'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'DejaVu Sans Oblique' in FontSet 'fontset-0'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'Arundina Sans Italic' in FontSet 'fontset-0'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'TSCu_Paranar Italic' in FontSet 'fontset-0'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'Mallige NormalItalic' in FontSet 'fontset-0'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'DejaVu Sans Book' in FontSet 'fontset-0'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'Arundina Sans Regular' in FontSet 'fontset-0'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'Padauk Regular' in FontSet 'fontset-0'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'Khmer OS Metal Chrieng Regular' in FontSet 'fontset-0'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'Mukti Narrow Regular' in FontSet 'fontset-0'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'gargi Medium' in FontSet 'fontset-0'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'TSCu_Paranar Regular' in FontSet 'fontset-0'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'Tibetan Machine Uni Regular' in FontSet 'fontset-0'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'Mallige Normal' in FontSet 'fontset-0'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'Droid Sans Fallback Regular' in FontSet 'fontset-0'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'Unifont Medium' in FontSet 'fontset-0'
Mapnik LOG> 2015-09-19 16:50:56: warning: unable to find face-name 'unifont Medium' in FontSet 'fontset-0'
Traceback (most recent call last):
File "/usr/bin/liteserv", line 138, in <module>
application = Server(mapfile, CONFIG)
File "/usr/lib/python2.7/dist-packages/tilelite.py", line 180, in __init__
mapnik.load_map(self._mapnik_map, self._mapfile)
RuntimeError: no valid fonts could be loaded in FontSet 'fontset-0' in FontSet at line 17 of 'style.xml'
*** Error in `/usr/bin/python': free(): invalid pointer: 0x00007ffc502179e8 ***
Aborted
It used to work with Mapnik 2. After closing #797975, openstreetmap-carto is
supposed to work with Mapnik 3, but I still cannot get it to work.
Cheers,
Ruben
http://bugs.debian.org/797975
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel
Kernel: Linux 4.1.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages openstreetmap-carto depends on:
ii curl 7.44.0-2
ii debconf [debconf-2.0] 1.5.57
ii gdal-bin 1.11.2+dfsg-3
ii mapnik-utils 3.0.4+ds-1
ii ttf-dejavu 2.35-1
ii unzip 6.0-18
Versions of packages openstreetmap-carto recommends:
ii fonts-khmeros 5.0-7
ii fonts-sil-padauk 2.80-2
ii fonts-sipa-arundina 0.2.0-7
openstreetmap-carto suggests no packages.
-- debconf information excluded
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20150919/2334778d/attachment.sig>
More information about the Pkg-grass-devel
mailing list