Hi there, I played around with multiprocessing module in Python, but I've got some problems.
First, here are my two scripts: 1. http://paste.pocoo.org/show/229668/ 2. http://paste.pocoo.org/show/229660/ The first script works like a charm, but the map gets defined again in each loop ... that's not very good. So I tried to put it in a class: each worker gets one map instance only. But the second script doesn't work as expected: "RuntimeError: basic_string::_S_construct NULL not valid" Someone on #python gave me the hint that Mapnik creates this error message. Is my approach of multiprocessing wrong here? Best regards, Tobias _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

