[Tilecache] TileCache bug report + patch

Christopher Schmidt crschmidt at metacarta.com
Wed Oct 7 10:14:36 EDT 2009


On Sun, Aug 16, 2009 at 09:11:52PM -0700, Michal Migurski wrote:
> I'm using the packaged version of Tilecache on Ubuntu 9.04, and found a 
> small error in expireTile().
>
> What I tried to do:
> 	curl -X DELETE http://localhost/...
>
> What went wrong:
> 	HTTP/1.1 500 Internal Server Error
> 	An error occurred: global name 'Tile' is not defined
> 	...
> 	File "/var/lib/python-support/python2.6/TileCache/Service.py", line  
> 161, in expireTile
> 		coverage = Tile(layer,x,y,z)
>
> What I did to fix it:
> 	coverage = Layer.Tile(layer,x,y,z)

This got committed in a pylint led bugfix in r396, as part of the
sendfile patch.

> -mike.
>
> ----------------------------------------------------------------
> michal migurski- mike at stamen.com
>                  415.558.1610
>
>
>

-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list