[Tilecache] Tilecache_seed.py Error
Christopher Schmidt
crschmidt at metacarta.com
Fri Mar 28 15:24:21 EDT 2008
On Fri, Mar 28, 2008 at 03:17:10PM -0400, Frank Porcelli wrote:
> Has anyone every encountered the below error when trying to run the
> tilecache_seed.py command? I can't seem to determine the cause of this. I'm
> running python 2.5 on a Linux box with Tilecache 2.01.
>
>
>
> /usr/bin/python "/var/www/html/tilecache/tilecache-1.9/tilecache_seed.py"
> "http://<host>/tilecache/tilecache-1.9/tilecache.py?" TeleAtlas_Dev 0 9
>
>
>
> Traceback (most recent call last):
>
> File "/var/www/html/tilecache/tilecache-1.9/tilecache_seed.py", line 9, in
> <module>
>
> TileCache.Client.main()
>
> File "/var/www/html/tilecache/tilecache-1.9/TileCache/Client.py", line
> 104, in main
>
> svc = Service.load(*cfgfiles)
>
> File "/var/www/html/tilecache/tilecache-1.9/TileCache/Service.py", line
> 380, in _load
>
> cache = cls.loadFromSection(config, "cache", Cache)
>
> File "/var/www/html/tilecache/tilecache-1.9/TileCache/Service.py", line
> 360, in _loadFromSection
>
> type = config.get(section, "type")
>
> File "/usr/local/python/lib/python2.5/ConfigParser.py", line 511, in get
>
> raise NoSectionError(section)
>
> ConfigParser.NoSectionError: No section: 'cache'
This is usually code for "I can't find your tilecache.cfg", or "I can't
read your tilecache config": I would suggest to first 'cd' to
/var/www/html/tilecache/tilecache-1.9/ then try again.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the Tilecache
mailing list