<br><br><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="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Antonio Volpix wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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?</blockquote><div> </div><div>Yes , always in that area it gives me the same error. But if I use a BBOX with a smaller range keeping the same tilesize (256x256)  it works fine ( not always)<br>
I am running WMS requests to generate a 256x256 tiles at different zoom levels.<br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Does you have a tiled raster layer in your map file?</blockquote><div> </div><div>Yes I have about 28000 images , .gif with a .wld associated. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<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;</blockquote><div>OK , I set up this option in the map file but where have I  to check the error ?<br></div><div><br><br>Thanks for your quickly response.<br>Antonio<br> <br></div>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><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/%7Ewarmerdam" 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>