[Tilecache] Problem with tilecache_seed.py

Alexandre Dube adube at mapgears.com
Mon Nov 10 08:19:14 EST 2008


Hi,

  I still have problems pre-generating tiles with the tilecache_seed.py 
command.  After a couple of failed tries, I finally gave up on metaTile, 
but it seems like the problem may be elsewhere because again I get 
errors after a couple of script running :

Traceback (most recent call last):
  File "./tilecache_seed.py", line 9, in <module>
    TileCache.Client.main()
  File "/home/mapgears/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 "/home/mapgears/tilecache/TileCache/Client.py", line 92, in seed
    svc.renderTile(tile)
  File "/home/mapgears/tilecache/TileCache/Service.py", line 138, in 
renderTile
    data = layer.render(tile)
  File "/home/mapgears/tilecache/TileCache/Layer.py", line 437, in render
    return self.renderTile(tile)
  File "/home/mapgears/tilecache/TileCache/Layers/MapServer.py", line 
51, in renderTile
    mapImage = wms.draw()
  File "/home/mapgears/fgs-5.2.0/www/lib/python2.5/mapscript.py", line 
1363, in draw
    def draw(*args): return _mapscript.mapObj_draw(*args)
_mapscript.MapServerError: msDrawMap(): Image handling error. Failed to 
draw layer named 'mos'.
msDrawRasterLayerGDAL(): Memory allocation error. Allocating work image 
of size 256x256 failed.

  I'm running out of ideas.  Can anybody help me, please ?

-- 
Alexandre Dubé
Mapgears
www.mapgears.com




More information about the Tilecache mailing list