Package: python-mapnik Version: 0.5.0-1 Severity: important --- Please enter the report below this line. --- I use Mapnik in a Python script, which, after being updated today to the last version, fails with:
render_tiles( (10.333328247070311, 43.680784110954846, 10.462417602539062,
43.765143524274066) /home/giovanni/mapnik/osm.xml /home/giovanni/mapnik/tiles/
0 18 Pisa )
Traceback (most recent call last):
File "./generate_tiles.py", line 135, in <module>
render_tiles(bbox, mapfile, tile_dir, 0, 18, "Pisa")
File "./generate_tiles.py", line 53, in render_tiles
load_map(m,mapfile)
UserWarning: Could not create datasource. No plugin found for type 'shape' in
layer 'world-1'
That is, Mapnik can't find the shape input plugin. Strace-ing a while,
I have discovered that it is searching it in a wrong path:
$ strace ./generate_tiles.py 2>&1 | grep input
stat64("/usr/lib/0.5/mapnik/input", 0xbfcf627c) = -1 ENOENT (No such file or
directory)
The right path (by looking at "dpkg -L libmapnik0.5") should
be /usr/lib/mapnik/0.5/input/shape.input: "mapnik" and "0.5" are
swapped!
Thank you for your work and happy Debian!
Giovanni.
--- System information. ---
Architecture: i386
Kernel: Linux 2.6.22-3-686
Debian Release: lenny/sid
500 unstable www.debian-multimedia.org
500 unstable ftp.it.debian.org
500 testing security.debian.org
500 testing ftp.it.debian.org
500 stable wine.budgetdedicated.com
500 stable ftp.it.debian.org
--- Package information. ---
Depends (Version) | Installed
=========================================-+-================
libboost-python1.34.1 (>= 1.34.1-2.1) | 1.34.1-6
libc6 (>= 2.7-1) | 2.7-6
libgcc1 (>= 1:4.1.1-21) | 1:4.3-20080202-1
libjpeg62 | 6b-14
libmapnik0.5 | 0.5.0-1
libpng12-0 (>= 1.2.13-4) | 1.2.15~beta5-3
libstdc++6 (>= 4.2.1-4) | 4.3-20080202-1
mapnik-plugins | 0.5.0-1
python (>= 2.5) | 2.4.4-6
OR python2.5 | 2.5.1-7
python (<< 2.6) | 2.4.4-6
python-central (>= 0.5.8) | 0.5.15-0.1
--
Giovanni Mascellani <[EMAIL PROTECTED]>
Pisa, Italy
Web: http://giomasce.altervista.org
SIP: [EMAIL PROTECTED]
Jabber: [EMAIL PROTECTED] / [EMAIL PROTECTED]
GPG: 0x5F1FBF70 (FP: 1EB6 3D43 E201 4DDF 67BD 003F FCB0 BB5C 5F1F BF70)
signature.asc
Description: PGP signature

