Re: TileCache bug report + patch

1 message Options
Embed this post
Permalink
Christopher Schmidt-2

Re: TileCache bug report + patch

Reply Threaded More More options
Print post
Permalink
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- [hidden email]
>                  415.558.1610
>
>
>

--
Christopher Schmidt
MetaCarta
_______________________________________________
Tilecache mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/tilecache