[Tilecache] Another missing dependency?

Christopher Schmidt crschmidt at metacarta.com
Thu Apr 17 17:16:01 EDT 2008


On Thu, Apr 17, 2008 at 04:14:01PM -0500, Scot Wilcoxon wrote:
> Does this mean there is another undeclared dependency?
> 
>   File "/var/lib/python-support/python2.5/TileCache/Caches/Disk.py", line
> 96, in attemptLock
>     warnings.warn("removing stale lock %s" % name)
> NameError: global name 'warnings' is not defined

Nope, just a bug. Edit that file, and add 'warnings' to:

'import sys, os, time'

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list