<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>

<META name=GENERATOR content="MSHTML 8.00.6001.18876"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN 
class=578374611-30032010>Hi,</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=578374611-30032010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN class=578374611-30032010>I had tilecache 
working fine and then i accidentally added a layer without the line 
"type=wms".</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=578374611-30032010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN class=578374611-30032010>I have since fixed 
this but am finding that i occassionally get the following message even when 
running calls to another layer:</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=578374611-30032010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=578374611-30032010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN class=578374611-30032010>An error occurred: 
No option 'type' in section: 'mappinglayer'<BR>&nbsp; File 
"/usr/lib/python2.5/site-packages/TileCache-2.10-py2.5.egg/TileCache/Service.py", 
line 103, in _load<BR>&nbsp;&nbsp;&nbsp; cache = cache)<BR>&nbsp; File 
"/usr/lib/python2.5/site-packages/TileCache-2.10-py2.5.egg/TileCache/Service.py", 
line 51, in _loadFromSection<BR>&nbsp;&nbsp;&nbsp; type&nbsp; = 
config.get(section, "type")<BR>&nbsp; File 
"/usr/lib64/python2.5/ConfigParser.py", line 520, in get<BR>&nbsp;&nbsp;&nbsp; 
raise NoOptionError(option, section)</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=578374611-30032010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=578374611-30032010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN class=578374611-30032010>The error appears 
even if i delete "mappinglayer" from the config file.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=578374611-30032010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN class=578374611-30032010>I&nbsp;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.</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=578374611-30032010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=578374611-30032010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=578374611-30032010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN class=578374611-30032010>Is it possible this 
has got cached as an error somewhere?</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=578374611-30032010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN 
class=578374611-30032010></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial><SPAN class=578374611-30032010>Also, is there any 
built in functionality for error logging in tilecache?</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV class=Section1>
<P class=MsoNormal align=left><SPAN 
style="FONT-FAMILY: Verdana; COLOR: #0d0053; FONT-SIZE: 10pt"><SPAN 
class=578374611-30032010>Thanks in advance</SPAN></SPAN></P>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: Verdana; COLOR: #0d0053; FONT-SIZE: 10pt">Andy</SPAN></P>
<DIV>
<P class=MsoNormal>
<DIV>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: Verdana; COLOR: #0d0053; FONT-SIZE: 7.5pt"></SPAN></P></DIV></P></DIV></DIV></BODY></HTML>