[Tilecache] tilecache DLL load failed error

kryptonite paschatap at gmail.com
Tue Jun 9 13:58:52 EDT 2009


Josh,
       Thanks for your quick response. Well I have only one version of
python installed. Like you mentioned, I have also been able to run 'from
mapnik import *' without any errors.I also have c:/python25/python.exe in
tilecache.cgi....
       anything other than the ones you have pointed out?


  

Josh Livni wrote:
> 
> 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.
> 
> 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..
> 
> 
>  -Josh
> 
> 
> On Tue, Jun 9, 2009 at 10:31 AM, kryptonite <paschatap at gmail.com> wrote:
> 
>>
>> Hi,
>>   does anyone know what this means? I already have the mod_python ,
>> mapnik,
>> tilecache installed. I was trying to get a map to display but instead
>> only
>> got pink tiles. I get the error listed below when I use the tile image
>> url
>> to display on the browser.
>>
>> An error occurred: DLL load failed: The specified module could not be
>> found.
>>  File "C:/Program Files/Apache Software
>> Foundation/Apache2.2/htdocs/tilecache\TileCache\Service.py", line 256, in
>> modPythonHandler
>>    host )
>>  File "C:/Program Files/Apache Software
>> Foundation/Apache2.2/htdocs/tilecache\TileCache\Service.py", line 208, in
>> dispatchRequest
>>    return self.renderTile(tile, params.has_key('FORCE'))
>>  File "C:/Program Files/Apache Software
>> Foundation/Apache2.2/htdocs/tilecache\TileCache\Service.py", line 138, in
>> renderTile
>>    data = layer.render(tile, force=force)
>>  File "C:/Program Files/Apache Software
>> Foundation/Apache2.2/htdocs/tilecache\TileCache\Layer.py", line 443, in
>> render
>>    return self.renderTile(tile)
>>  File "C:/Program Files/Apache Software
>> Foundation/Apache2.2/htdocs/tilecache\TileCache\Layers\Mapnik.py", line
>> 27,
>> in renderTile
>>    import mapnik
>>  File "c:\mapnik_0_6_0\site-packages\mapnik\__init__.py", line 44, in
>> <module>
>>    from _mapnik import *
>>
>> --
>> View this message in context:
>> http://n2.nabble.com/tilecache-DLL-load-failed-error-tp3050928p3050928.html
>> Sent from the TileCache mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Tilecache mailing list
>> Tilecache at openlayers.org
>> http://openlayers.org/mailman/listinfo/tilecache
>>
> 
> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org
> http://openlayers.org/mailman/listinfo/tilecache
> 
> 

-- 
View this message in context: http://n2.nabble.com/tilecache-DLL-load-failed-error-tp3050928p3051091.html
Sent from the TileCache mailing list archive at Nabble.com.




More information about the Tilecache mailing list