[Tilecache] Occasional "Bad file descriptor" when retrieving tile

David R Robison drrobison at openroadsconsulting.com
Mon Jul 7 09:52:06 EDT 2008


I am using TileCache 1.9 with Python for Windows 2.5. Occasionally, when 
retrieving an existing tile, TileCache returns a status code of 500 and 
the following error:

    An error occurred: [Errno 9] Bad file descriptor
      File "C:\Program Files\Apache Software 
Foundation\Apache2.2\htdocs\tilecache-1.9\TileCache\Service.py", line 
459, in modPythonHandler
        host )
      File "C:\Program Files\Apache Software 
Foundation\Apache2.2\htdocs\tilecache-1.9\TileCache\Service.py", line 
443, in dispatchRequest
        return self.renderTile(tile, params.has_key('FORCE'))
      File "C:\Program Files\Apache Software 
Foundation\Apache2.2\htdocs\tilecache-1.9\TileCache\Service.py", line 
412, in renderTile
        tile.bbox(), tile.x, tile.y, tile.z, (time.time() - start), 
layer.debug) )

Any idea what the problem is or how to fix it?
TNX David

-- 

David R Robison
Open Roads Consulting, Inc.
708 S. Battlefield Blvd., Chesapeake, VA 23322
phone: (757) 546-3401
e-mail: drrobison at openroadsconsulting.com
web: http://openroadsconsulting.com
blog: http://therobe.blogspot.com
book: http://www.xulonpress.com/book_detail.php?id=2579
 






More information about the Tilecache mailing list