<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><pre>I'm trying to set up TileCache and running into a few problems with likely simple solutions. I'm using Mapnik to render the tiles to a disk cache. I previously was using another tile server, so I know mapnik is working great. This is the error I'm getting below. I know it's a problem with loading the osm.xml file I just don't know why. I've changed persmissions so it shouldn't be an issue. What sort of problem could this be? What do people generally keep the permissions of this file and others, including tiles, at. Thanks in advance.<br>-Matt <br><br>An error occurred<br><br>: failed opening file: Bad file descriptor<br>  File "/var/www/tilecache-2.04/TileCache/Service.py", line 224, in modPythonHandler<br>    host )<br>  File "/var/www/tilecache-2.04/TileCache/Service.py", line 208, in dispatchRequest<br>    return self.renderTile(tile,
 params.has_key('FORCE'))<br>  File "/var/www/tilecache-2.04/TileCache/Service.py", line 138, in renderTile<br>    data = layer.render(tile)<br>  File "/var/www/tilecache-2.04/TileCache/Layer.py", line 437, in render<br>    return self.renderTile(tile)<br>  File "/var/www/tilecache-2.04/TileCache/Layers/Mapnik.py", line 40, in renderTile<br>    mapnik.load_map(m,self.mapfile)<br></pre></td></tr></table><br>