[Tilecache] Tilecache_seed.py Error

Christopher Schmidt crschmidt at metacarta.com
Sun Mar 30 15:21:54 EDT 2008


On Sun, Mar 30, 2008 at 02:27:29PM -0400, Frank Porcelli wrote:
>  
> 
> 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

Not really within the control of TileCache, to be honest, but it looks
like perhaps your server is returning some incorrect Content-Length or
something: essentially, when trying to read the data, TileCache is
getting told by the HTTP Client "Something broke."

I've never seen that particular failure before.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Tilecache mailing list