[Tilecache] Tilecache_seed.py Error

Frank Porcelli fporcelli at taic.net
Sun Mar 30 14:27:29 EDT 2008


 

Chris --

 

That fixed the script not starting. But now I'm getting this type of error
after it runs for a while...

 

 

07 (000250, 000101) = (171.5625 52.0312 172.9688 53.4375) [60.0208s :
0.260/s] 26107/32768

Traceback (most recent call last):

  File "/var/www/html/tilecache/tilecache-1.9/tilecache_seed.py", line 9, in
?

    TileCache.Client.main()

  File "/var/www/html/tilecache/tilecache-1.9/TileCache/Client.py", line
107, in main

    seed(base, layer, map(int, sys.argv[3:]))

  File "/var/www/html/tilecache/tilecache-1.9/TileCache/Client.py", line 91,
in seed

    client.fetch()

  File "/var/www/html/tilecache/tilecache-1.9/TileCache/Client.py", line 46,
in fetch

    data = response.read()

  File "/usr/lib/python2.2/httplib.py", line 1140, in read

    assert not self._line_consumed and self._line_left

AssertionError

 

Any ideas?

 

Thanks,

 

Frank

 

-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at metacarta.com] 
Sent: Friday, March 28, 2008 3:24 PM
To: Frank Porcelli
Cc: tilecache at openlayers.org
Subject: Re: [Tilecache] Tilecache_seed.py Error

 

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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20080330/dcaef314/attachment.html


More information about the Tilecache mailing list