[Tilecache] TileCache.Cache import DiskCache

Christopher Schmidt crschmidt at metacarta.com
Tue Jan 15 22:00:46 EST 2008


On Tue, Jan 15, 2008 at 06:55:10PM -0800, James McManus McManus wrote:
> Hi - I am trying to create a python script use Example.py in the doc directory. However, when I try to import DiskCache, I get the following error message:
> 
> >>> from TileCache.Cache import DiskCache
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
> ImportError: cannot import name DiskCache
> 
> I can import all other modules in the example.  Does DiskCache still exist?  I could not find any reference to it in the code.

Sorry -- the Cache got renamed "Disk". I'll fix the example. Fixed,
r249, will be in the next release.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list