<div>Looks like python was unable to import mapnik. So either it is not installed correctly, or you have multiple python versions and apache is not loading the one you think it is.</div><div><br></div><div>Check your tilecache.cgi to see what python it is load (eg c:/python25/python.exe versus some other one?). Run that python.exe, and make sure that you can type 'from mapnik import *' and not get errors..</div>
<div><br></div><div><br></div> -Josh<br>
<br><br><div class="gmail_quote">On Tue, Jun 9, 2009 at 10:31 AM, kryptonite <span dir="ltr"><<a href="mailto:paschatap@gmail.com">paschatap@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi,<br>
does anyone know what this means? I already have the mod_python , mapnik,<br>
tilecache installed. I was trying to get a map to display but instead only<br>
got pink tiles. I get the error listed below when I use the tile image url<br>
to display on the browser.<br>
<br>
An error occurred: DLL load failed: The specified module could not be found.<br>
File "C:/Program Files/Apache Software<br>
Foundation/Apache2.2/htdocs/tilecache\TileCache\Service.py", line 256, in<br>
modPythonHandler<br>
host )<br>
File "C:/Program Files/Apache Software<br>
Foundation/Apache2.2/htdocs/tilecache\TileCache\Service.py", line 208, in<br>
dispatchRequest<br>
return self.renderTile(tile, params.has_key('FORCE'))<br>
File "C:/Program Files/Apache Software<br>
Foundation/Apache2.2/htdocs/tilecache\TileCache\Service.py", line 138, in<br>
renderTile<br>
data = layer.render(tile, force=force)<br>
File "C:/Program Files/Apache Software<br>
Foundation/Apache2.2/htdocs/tilecache\TileCache\Layer.py", line 443, in<br>
render<br>
return self.renderTile(tile)<br>
File "C:/Program Files/Apache Software<br>
Foundation/Apache2.2/htdocs/tilecache\TileCache\Layers\Mapnik.py", line 27,<br>
in renderTile<br>
import mapnik<br>
File "c:\mapnik_0_6_0\site-packages\mapnik\__init__.py", line 44, in<br>
<module><br>
from _mapnik import *<br>
<font color="#888888"><br>
--<br>
View this message in context: <a href="http://n2.nabble.com/tilecache-DLL-load-failed-error-tp3050928p3050928.html" target="_blank">http://n2.nabble.com/tilecache-DLL-load-failed-error-tp3050928p3050928.html</a><br>
Sent from the TileCache mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
Tilecache mailing list<br>
<a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
</font></blockquote></div><br>