[Tilecache] TileCache on Abyss

Christopher Schmidt crschmidt at metacarta.com
Tue May 1 10:56:46 EDT 2007


Jerry,

I'm CCing the tilecache list (tilecache at openlayers.org,
http://openlayers.org/mailman/listinfo/tilecache ) on my response here.
If you could follow up on that list, that would be great.

On Tue, May 01, 2007 at 03:37:37PM +0100, Jerry O'Sullivan wrote:
> Here is my config:
> Windows 2000 Professional
> Python 2.5 installed
> Abyss Web Server up and running, with python extension support (
> http://www.aprelium.com/abyssws/python.html)
> TileCache extracted to C:\Program Files\Abyss Web Server\htdocs\tilecache
> 
> When I hit
> http://localhost:1024/tilecache/tilecache.cgi/1.0.0/basic/0/0/0.png
> 
> I get the following:
> An error occurred: Zero length data returned from layer.
>  File "C:\Program Files\Abyss Web
> Server\htdocs\tilecache\TileCache\Service.py", line 463, in cgiHandler
>    format, image = service.dispatchRequest( params, path_info, host )
>  File "C:\Program Files\Abyss Web
> Server\htdocs\tilecache\TileCache\Service.py", line 390, in dispatchRequest
>    return self.renderTile(tile, params.has_key('FORCE'))
>  File "C:\Program Files\Abyss Web
> Server\htdocs\tilecache\TileCache\Service.py", line 369, in renderTile
>    else: raise Exception("Zero length data returned from layer.")
> 
> 
> Have you any ideas what might be happening or can you recommend another
> webserver that I could use?

It seems like your CGI scripts can't load data from
http://labs.metacarta.com/wms/vmap0 . This is done using urllib: if
urllib in your Python CGI can't talk to the web, you won't be able to
use a WMS layer in this way.

I can't guess why this might happen, but that might give you a direction
to start to debug in.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list