<div>Frank,</div>
<div>I just want say you Thanks.</div>
<div>setting CONFIG &quot;CPL_DEBUG&quot; &quot;ON&quot;<br>and using ogrinfo and shp2img on the same boundary box I have been able to identify the error and resolve it.</div>
<div>There was some corrupted GIF images and GDAL was not able to generate any images when one of these was involved in my WMS request.</div>
<div>Thanks again</div>
<div>Ciao</div>
<div>Antonio<br><br></div>
<div class="gmail_quote">On Mon, Aug 24, 2009 at 9:50 PM, Frank Warmerdam <span dir="ltr">&lt;<a href="mailto:warmerdam@pobox.com">warmerdam@pobox.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im">Antonio Volpix wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi,<br>I am spending a lot of time to resolve this issue.<br>I run a lot of WMS requests to mapserver always on the same mapfile and same layer.<br>
Some time, and I don&#39;t understand why , mapserver  return me the error in the subject.<br>The error is localized always in  a specific area , it isn&#39;t random.<br></blockquote><br></div>Antonio,<br><br>Is the problem reliably repeatable with a particular request?<br>
<br>Does you have a tiled raster layer in your map file?<br><br>The error generally means that a raster file was not able to be opened<br>with any of the provided mechanisms.  Generally speaking it should be<br>GDAL that opens the file, but it would seem that for some file (at least<br>
sometimes) GDALOpen() is failing.<br><br>It may be helpful to enable GDAL debug output, especially if you can narrow<br>things down to a particular request the triggers it.  This should be<br>accomplishable in the MAP file by adding this line within the MAP object:<br>
<br> CONFIG &quot;CPL_DEBUG&quot; &quot;ON&quot;<br><br>Alternatively set this as an environment variable in a mapserv cgi wrapper<br>script.<br><br>Best regards,<br><font color="#888888">-- <br>---------------------------------------+--------------------------------------<br>
I set the clouds in motion - turn up   | Frank Warmerdam, <a href="mailto:warmerdam@pobox.com" target="_blank">warmerdam@pobox.com</a><br>light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" target="_blank">http://pobox.com/~warmerdam</a><br>
and watch the world go round - Rush    | Geospatial Programmer for Rent<br><br></font></blockquote></div><br>