msWMSLoadGetMapParams() is a mapscript error but I can run a mapserver python script on the same mapfile and get png images. However, when I first ran the script it complained about my setting:<br><br>#<Directory /var/www/cgi-bin/><br># AddHandler python-program .py<br># PythonHandler TileCache.Service<br># PythonOption TileCacheConfig /var/www/cgi-bin/tilecache/tilecache.cfg<br>#</Directory><br><br>in httpd.conf. I commented that out and now I only get the Cache hit messages, but still no out put in my tmp directory. I can run the mapsever python script from the tilecache directory and the png files are written to tmp, so my permissions appear to be OK. Do I need to specify the location of tilecache.cfg somewhere (httpd.con) or will tilecache.py know where it is, since they are in the same diretories?<br><br>Jim<br><br><b><i>James McManus McManus <jmpmcmanus@yahoo.com></i></b> wrote:<blockquote
class="replbq" style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"> I am getting an image handling error. My image type is defined in my mapfile as:<br><br>IMAGETYPE PNG<br>OUTPUTFORMAT<br> NAME 'PNG'<br> DRIVER AGG/PNG<br> IMAGEMODE RGBA<br> TRANSPARENT ON<br>END<br><br>Do I need to define it somewhere else? <br><br>Jim<br>Cache hit: 1977120.0,770040.0,1977210.0,770130.0, Tile: x: 21970, y: 8557, z: 1, time: 0.000128984451294, debug: True<br>01 (021970, 008557) = (1977120.0000 770040.0000 1977210.0000 770130.0000) [0.0002s : 561.088/s] 48/2317796<br>Content-type: application/vnd.ogc.se_xml<br><br><?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?><br><!DOCTYPE ServiceExceptionReport SYSTEM "http://schemas.opengis.net/wms/1.1.1/exception_1_1_1.dtd"><br><ServiceExceptionReport version="1.1.1"><br><ServiceException code="InvalidFormat"><br>msWMSLoadGetMapParams(): Image handling error.
Unsupported output format (image/png).<br></ServiceException><br></ServiceExceptionReport><br>Cache miss: 1977210.0,770040.0,1977300.0,770130.0, Tile: x: 21971, y: 8557, z: 1, time: 0.556928873062<br>01 (021971, 008557) = (1977210.0000 770040.0000 1977300.0000 770130.0000) [0.5570s : 76.257/s] 49/2317796<br>Content-type: application/vnd.ogc.se_xml<br><br>_______________________________________________<br>Tilecache mailing list<br>Tilecache@openlayers.org<br>http://openlayers.org/mailman/listinfo/tilecache<br></blockquote><br>