Thanks for the added details Philip. If changing the render method fixed the problem then that may not be the bug I previously mentioned.
I'm running a beta release of 9.10 and have not seen this problem, but I will try to get the release going to test further. It would be great if you could provide the output of: $ apt-cache show python-mapnik Thanks, Dane On Nov 1, 2009, at 1:13 PM, Philip Stubbs wrote: > 2009/11/1 Philip Stubbs <[email protected]>: >> 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. > > Ops! Should have said that I am running Ubuntu 9.10, I installed > python-mapnik and Postgres from the Ubuntu repositories, and followed > the set-up guide from the openstreetmap wiki. > > Now I have made a copy of the generate_image.py script and changed it > to use mapnik.render_to_file, and it has just successfully rendered an > image of the UK. This is going to be of more use to me than the tiles, > so I think I am sorted. Still, it would be good to know why the one > method works when the other does not. I may in the future want a local > tile server. > > > -- > 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

