[Tilecache] Re: TileCache and Mapnik - it doesn't work

Steve L. stephan-locklair at onlinehome.de
Thu Sep 9 03:19:57 EDT 2010


Thanks Dane,

I tried different settings but none of them would work.
Both variables are set as "system" and mapnik and tilecache are running
under Python 2.6.
I tried both 2.5 and 2.6 but always get the same error message:

An error occurred: No module named mapnik
  File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Service.py", line
323, in cgiHandler
    format, image = service.dispatchRequest( params, path_info, req_method,
host )
  File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Service.py", line
208, in dispatchRequest
    return self.renderTile(tile, params.has_key('FORCE'))
  File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Service.py", line
138, in renderTile
    data = layer.render(tile, force=force)
  File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Layer.py", line 443,
in render
    return self.renderTile(tile)
  File "C:\ms4w\Apache\cgi-bin\tilecache-2.10\TileCache\Layers\Mapnik.py",
line 27, in renderTile
    import mapnik

I just don't know what to do to get it work.

Steve
-- 
View this message in context: http://osgeo-org.1803224.n2.nabble.com/TileCache-and-Mapnik-it-doesn-t-work-tp5490598p5513451.html
Sent from the TileCache mailing list archive at Nabble.com.


More information about the Tilecache mailing list