Hello,
My latest copy of ocitysmap (the back-end of MapOSMatic) is failing
with my locally compiled version of Mapnik 0.7.0 with following
exception:
Error while rendering png:
Traceback (most recent call last):
File "/home/david/maposmatic/ocitysmap/ocitysmap/street_index.py",
line 1112, in _render_map_into_files
copyright_logo_png = copyright_logo)
File "/home/david/maposmatic/ocitysmap/ocitysmap/map_canvas.py",
line 362, in save_map
self._map.height + frame_width*2, frame_width)
File "/home/david/maposmatic/ocitysmap/ocitysmap/draw_utils.py",
line 64, in enclose_in_frame
renderer(ctx)
File "/home/david/maposmatic/ocitysmap/ocitysmap/map_canvas.py",
line 352, in my_render
ctx)
ArgumentError: Python argument types in
mapnik._mapnik.render(Map, cairo.Context)
did not match C++ signature:
render(mapnik::Map, mapnik::Image32 {lvalue})
render(mapnik::Map, mapnik::Image32 {lvalue}, unsigned int, unsigned int)
I'm stuck here. Any idea where I should look at?
Basic Mapnik import seems to work:
Python 2.6.4 (r264:75706, Dec 7 2009, 18:43:55)
[GCC 4.4.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mapnik
>>> mapnik.mapnik_version_string()
'0.7.0'
I had several of locally version of Mapnik (0.6.1, 0.7.0-rc1). I've
removed them but some parts might be remaining somewhere.
Best regards,
david
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users