[Tilecache] seeding error

SIMON MERCIER simon.mercier at msp.gouv.qc.ca
Mon Oct 27 12:07:38 EDT 2008


hi list

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?

Tilecache: version 2.04

My layer:
type=WMSLayer
url=http://spssoww5.sso.msp.gouv.qc.ca/cgi-bin/mapserv.exe?map=e:/ms4w/msp/wms/orthos_prive.map
extent_type=loose
levels=15
layers=Orthophotos
extension=jpeg
srs=EPSG:32198
metaTile=false
maxResolution=2530
bbox=-1257720,-155000, 1333000, 2435720

seed:
E:\ms4w\apps\tilecache\tilecache_seed.py "http://spssoww5d.sso.msp.gouv.qc.ca/apps/tilecache/tilecache.py?" orthophotos 8 15 "-1257720,-155000, 1333000, 2435720"

3 type of error:

Traceback (most recent call last):
  File "E:\ms4w\apps\tilecache\tilecache_seed.py", line 9, in ?
    TileCache.Client.main()
  File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 108, in main
    seed(svc, base, layer, map(int, sys.argv[3:5]), map(float, sys.argv[5].split(",")))
  File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 92, in seed
    svc.renderTile(tile)
  File "E:\ms4w\apps\tilecache\TileCache\Service.py", line 138, in renderTile
    data = layer.render(tile)
  File "E:\ms4w\apps\tilecache\TileCache\Layer.py", line 437, in render
    return self.renderTile(tile)
  File "E:\ms4w\apps\tilecache\TileCache\Layers\WMS.py", line 29, in renderTile
    tile.data, response = wms.fetch()
  File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 54, in fetch
    response = self.client.open(urlrequest)
  File "C:\Python24\lib\urllib2.py", line 364, in open
    response = meth(req, response)
  File "C:\Python24\lib\urllib2.py", line 471, in http_response
    response = self.parent.error(
  File "C:\Python24\lib\urllib2.py", line 402, in error
    return self._call_chain(*args)
  File "C:\Python24\lib\urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "C:\Python24\lib\urllib2.py", line 480, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 403: Forbidden

Traceback (most recent call last):
  File "E:\ms4w\apps\tilecache\tilecache_seed.py", line 9, in ?
    TileCache.Client.main()
  File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 108, in main
    seed(svc, base, layer, map(int, sys.argv[3:5]), map(float, sys.argv[5].split(",")))
  File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 92, in seed
    svc.renderTile(tile)
  File "E:\ms4w\apps\tilecache\TileCache\Service.py", line 138, in renderTile
    data = layer.render(tile)
  File "E:\ms4w\apps\tilecache\TileCache\Layer.py", line 437, in render
    return self.renderTile(tile)
  File "E:\ms4w\apps\tilecache\TileCache\Layers\WMS.py", line 29, in renderTile
    tile.data, response = wms.fetch()
  File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 54, in fetch
    response = self.client.open(urlrequest)
  File "C:\Python24\lib\urllib2.py", line 364, in open
    response = meth(req, response)
  File "C:\Python24\lib\urllib2.py", line 471, in http_response
    response = self.parent.error(
  File "C:\Python24\lib\urllib2.py", line 402, in error
    return self._call_chain(*args)
  File "C:\Python24\lib\urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "C:\Python24\lib\urllib2.py", line 480, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 500: Internal Server Error

Traceback (most recent call last):
  File "E:\ms4w\apps\tilecache\tilecache_seed.py", line 9, in ?
    TileCache.Client.main()
  File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 108, in main
    seed(svc, base, layer, map(int, sys.argv[3:5]), map(float, sys.argv[5].split(",")))
  File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 92, in seed
    svc.renderTile(tile)
  File "E:\ms4w\apps\tilecache\TileCache\Service.py", line 138, in renderTile
    data = layer.render(tile)
  File "E:\ms4w\apps\tilecache\TileCache\Layer.py", line 437, in render
    return self.renderTile(tile)
  File "E:\ms4w\apps\tilecache\TileCache\Layers\WMS.py", line 29, in renderTile
    tile.data, response = wms.fetch()
  File "E:\ms4w\apps\tilecache\TileCache\Client.py", line 64, in fetch
    raise Exception("Did not get image data back. \nURL: %s\nContent-Type Header: %s\nResponse: \n%s" % (self.url(), ctype, data))
Exception: Did not get image data back.
URL: 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& 
request=GetMap&height=256&srs=EPSG%3A32198&version=1.1.1&bbox=247630.0%2C1193490.0%2C250160.0%2C1196020.0
Content-Type Header: text/html
Response:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20081027/c5d0074c/attachment.html


More information about the Tilecache mailing list