[Tilecache] error cached?

andy at centremaps.co.uk andy at centremaps.com
Tue Mar 30 09:18:13 EDT 2010


Thanks Chris & Ivan....

-----Original Message-----
From: Christopher Schmidt [mailto:crschmidt at metacarta.com] 
Sent: 30 March 2010 14:08
To: andy at centremaps.co.uk
Cc: tilecache at openlayers.org
Subject: Re: [Tilecache] error cached?


On Tue, Mar 30, 2010 at 12:53:44PM +0100, andy at centremaps.co.uk wrote:
> Hi,
>  
> I had tilecache working fine and then i accidentally added a layer 
> without the line "type=wms".
>  
> I have since fixed this but am finding that i occassionally get the 
> following message even when running calls to another layer:

1. Restart Apache or your webserver.
2. Double check for a squid/other cache that might be caching the error
between
   you and the TileCache.
3. Ensure that you are actually hitting the webserver thaty ou expect to
   be by looking in the apache access logs.

My experience is that this is typically a case of #2 for me personally.

>  
> An error occurred: No option 'type' in section: 'mappinglayer'
>   File 
> "/usr/lib/python2.5/site-packages/TileCache-2.10-py2.5.egg/TileCache/S
> ervice
> .py", line 103, in _load
>     cache = cache)
>   File
>
"/usr/lib/python2.5/site-packages/TileCache-2.10-py2.5.egg/TileCache/Service
> .py", line 51, in _loadFromSection
>     type  = config.get(section, "type")
>   File "/usr/lib64/python2.5/ConfigParser.py", line 520, in get
>     raise NoOptionError(option, section)
>  
>  
> The error appears even if i delete "mappinglayer" from the config 
> file.
>  
> I have managed to look for this by repeatedly calling one tile but i 
> think it is also visible in openlayers where it is seen as occassional 
> tiles failing to load.
>  
>  
>  
> Is it possible this has got cached as an error somewhere?
>  
>  
> Also, is there any built in functionality for error logging in 
> tilecache?
>  
> 
> Thanks in advance
> 
> Andy
> 
> 

> _______________________________________________
> Tilecache mailing list
> Tilecache at openlayers.org 
> http://openlayers.org/mailman/listinfo/tilecache


-- 
Christopher Schmidt
MetaCarta




More information about the Tilecache mailing list