Philip,

Are you running Mapnik 0.6.1 and debian sid or ubuntu karmic?

If so you'll likely need to upgrade to Mapnik trunk, as we've recently  
fixed a bug that slipped into 0.6.1 that would cause segfaults when  
reading from shapefiles:

http://trac.mapnik.org/ticket/436

Before you do this you could try commenting out the xml <Layer>   
definitions that reference shapefiles in the osm.xml and see if that  
fixed the problem.

Dane


On Nov 1, 2009, at 12:52 PM, Philip Stubbs wrote:

> Hi all,
>
> I am new hear but I don't know where else to look. I have installed
> mapnik and am trying to get the generate_tiles script to work. It is
> causing a segmentation fault when mapnik.render is called. I have
> tried the 'hello world' example and that works, but I notice that uses
> mapnik.render_to_file. Therefore I tried to adjust that script to use
> the mapnik.render method, and it also then seg faulted.
>
> I am not a programmer, and what little I do know is not in Python :-(
> My Google foo is also weak today. Any help would be appreciated.
>
> Regards,
> -- 
> Philip Stubbs
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users

_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to