The error looks like an http connection error. Are you able to get an image when you try the address given in the error,<br><br><a href="http://geomsp.msp.gouv.qc.ca/cgi-bin/mapserv.exe?map=e:/ms4w/msp/wms/orthos_prive.map">http://geomsp.msp.gouv.qc.ca/cgi-bin/mapserv.exe?map=e:/ms4w/msp/wms/orthos_prive.map</a><br>
&layers=Orthophotos<br>&styles=<br>&service=WMS<br>&width=256<br>&format=image%2Fjpeg<br>&request=GetMap<br>&height=256<br>&srs=EPSG%3A32198<br>&version=1.1.1<br>&bbox=247630.0%2C1193490.0%2C250160.0%2C1196020.0<br>
<br>When I tried it now, I got an error from MapServer, "msLoadMap(): Unable to access file. (e:/ms4w/msp/wms/orthos_prive.map)".<br><br>You might get more insights into the problem by looking at the Apache logs. I think they would be in,<br>
e:/ms4w/Apache/logs.<br><br>Roger<br>--<br><br><div class="gmail_quote">On Mon, Oct 27, 2008 at 9:07 AM, SIMON MERCIER <span dir="ltr"><<a href="mailto:simon.mercier@msp.gouv.qc.ca">simon.mercier@msp.gouv.qc.ca</a>></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 style="margin: 4px 4px 1px; font-family: Tahoma; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><br>hi list<br><br>
I trying to seed one of my WMS, it work fine but, the seed process alway(3 type of error) crash after 1 or 2 or 8 hours of seeding process. My question, is there a way to force the process to bypass error or any idea of what is causing this problem?<br>
<br>Tilecache: version 2.04<br><br>My layer:<br>type=WMSLayer<br>url=<a href="http://spssoww5.sso.msp.gouv.qc.ca/cgi-bin/mapserv.exe?map=e:/ms4w/msp/wms/orthos_prive.map" target="_blank">http://spssoww5.sso.msp.gouv.qc.ca/cgi-bin/mapserv.exe?map=e:/ms4w/msp/wms/orthos_prive.map</a><br>
extent_type=loose<br>levels=15<br>layers=Orthophotos<br>extension=jpeg<br>srs=EPSG:32198<br>metaTile=false<br>maxResolution=2530<br>bbox=-1257720,-155000, 1333000, 2435720<br><br>seed:<br>E:\ms4w\apps\tilecache\tilecache_seed.py "<a href="http://spssoww5d.sso.msp.gouv.qc.ca/apps/tilecache/tilecache.py" target="_blank">http://spssoww5d.sso.msp.gouv.qc.ca/apps/tilecache/tilecache.py</a>?" orthophotos 8 15 "-1257720,-155000, 1333000, 2435720"<br>
<br>3 type of error:<br><br>Traceback (most recent call last):<br> File "E:\ms4w\apps\tilecache\tilecache_seed.py", line 9, in ?<br> TileCache.Client.main()<br> File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 108, in main<br>
seed(svc, base, layer, map(int, sys.argv[3:5]), map(float, sys.argv[5].split(",")))<br> File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 92, in seed<br> svc.renderTile(tile)<br> File "E:\ms4w\apps\tilecache\TileCache\Service.py", line 138, in renderTile<br>
data = layer.render(tile)<br> File "E:\ms4w\apps\tilecache\TileCache\Layer.py", line 437, in render<br> return self.renderTile(tile)<br> File "E:\ms4w\apps\tilecache\TileCache\Layers\WMS.py", line 29, in renderTile<br>
tile.data, response = wms.fetch()<br> File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 54, in fetch<br> response = self.client.open(urlrequest)<br> File "C:\Python24\lib\urllib2.py", line 364, in open<br>
response = meth(req, response)<br> File "C:\Python24\lib\urllib2.py", line 471, in http_response<br> response = self.parent.error(<br> File "C:\Python24\lib\urllib2.py", line 402, in error<br>
return self._call_chain(*args)<br> File "C:\Python24\lib\urllib2.py", line 337, in _call_chain<br> result = func(*args)<br> File "C:\Python24\lib\urllib2.py", line 480, in http_error_default<br>
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)<br>urllib2.HTTPError: HTTP Error 403: Forbidden<br><br>Traceback (most recent call last):<br> File "E:\ms4w\apps\tilecache\tilecache_seed.py", line 9, in ?<br>
TileCache.Client.main()<br> File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 108, in main<br> seed(svc, base, layer, map(int, sys.argv[3:5]), map(float, sys.argv[5].split(",")))<br> File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 92, in seed<br>
svc.renderTile(tile)<br> File "E:\ms4w\apps\tilecache\TileCache\Service.py", line 138, in renderTile<br> data = layer.render(tile)<br> File "E:\ms4w\apps\tilecache\TileCache\Layer.py", line 437, in render<br>
return self.renderTile(tile)<br> File "E:\ms4w\apps\tilecache\TileCache\Layers\WMS.py", line 29, in renderTile<br> tile.data, response = wms.fetch()<br> File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 54, in fetch<br>
response = self.client.open(urlrequest)<br> File "C:\Python24\lib\urllib2.py", line 364, in open<br> response = meth(req, response)<br> File "C:\Python24\lib\urllib2.py", line 471, in http_response<br>
response = self.parent.error(<br> File "C:\Python24\lib\urllib2.py", line 402, in error<br> return self._call_chain(*args)<br> File "C:\Python24\lib\urllib2.py", line 337, in _call_chain<br> result = func(*args)<br>
File "C:\Python24\lib\urllib2.py", line 480, in http_error_default<br> raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)<br>urllib2.HTTPError: HTTP Error 500: Internal Server Error<br><br>Traceback (most recent call last):<br>
File "E:\ms4w\apps\tilecache\tilecache_seed.py", line 9, in ?<br> TileCache.Client.main()<br> File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 108, in main<br> seed(svc, base, layer, map(int, sys.argv[3:5]), map(float, sys.argv[5].split(",")))<br>
File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 92, in seed<br> svc.renderTile(tile)<br> File "E:\ms4w\apps\tilecache\TileCache\Service.py", line 138, in renderTile<br> data = layer.render(tile)<br>
File "E:\ms4w\apps\tilecache\TileCache\Layer.py", line 437, in render<br> return self.renderTile(tile)<br> File "E:\ms4w\apps\tilecache\TileCache\Layers\WMS.py", line 29, in renderTile<br> tile.data, response = wms.fetch()<br>
File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 64, in fetch<br> raise Exception("Did not get image data back. \nURL: %s\nContent-Type Header: %s\nResponse: \n%s" % (self.url(), ctype, data))<br>
Exception: Did not get image data back.<br>URL: <a href="http://geomsp.msp.gouv.qc.ca/cgi-bin/mapserv.exe?map=e:/ms4w/msp/wms/orthos_prive.map&layers=Orthophotos&styles=&service=WMS&width=256&format=image%2Fjpeg&" target="_blank">http://geomsp.msp.gouv.qc.ca/cgi-bin/mapserv.exe?map=e:/ms4w/msp/wms/orthos_prive.map&layers=Orthophotos&styles=&service=WMS&width=256&format=image%2Fjpeg&</a><br>
request=GetMap&height=256&srs=EPSG%3A32198&version=1.1.1&bbox=247630.0%2C1193490.0%2C250160.0%2C1196020.0<br>Content-Type Header: text/html<br>Response:<br></div>
<br>_______________________________________________<br>
Tilecache mailing list<br>
<a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>
<a href="http://openlayers.org/mailman/listinfo/tilecache" target="_blank">http://openlayers.org/mailman/listinfo/tilecache</a><br>
<br></blockquote></div><br>