Thanks for the reply Chris, let me know if you need anymore info about my platform, etc.<br><br>Stuart<br><br><div><span class="gmail_quote">On 7/29/07, <b class="gmail_sendername">Christopher Schmidt</b> <<a href="mailto:crschmidt@metacarta.com">
crschmidt@metacarta.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">On Sun, Jul 29, 2007 at 10:42:18AM +0100, Stuart Eve wrote:
<br>> Dear all<br>><br>> I have been trying to get my tilecache working with an epsg:3034 WMS source.<br>> I have been having problems getting my openlayers to show any tiles (and was<br>> getting the 'can't get tile index' problem even though my maxResolution and
<br>> bounding boxes were the same). I have recently upgraded to the beta version<br>> to see if any bug fixes might have helped.<br>><br>> However, I am now getting a different message:<br>><br>> Mod_python error: "PythonHandler
TileCache.Service"<br>><br>> Traceback (most recent call last):<br>><br>> File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line<br>> 299, in HandlerDispatch<br>> result = object(req)
<br>><br>> File "/srv/www/htdocs/fasti/v2/mapserver/tilecache/TileCache/Service.py",<br>> line 522, in handler<br>> return modPythonHandler(apacheReq, theService)<br>><br>> File "/srv/www/htdocs/fasti/v2/mapserver/tilecache/TileCache/Service.py",
<br>> line 432, in modPythonHandler<br>> except Layer.TileCacheException, E:<br>><br>> AttributeError: 'module' object has no attribute 'TileCacheException'<br>><br>><br>> I am using Tilecache
1.9-rc3 on Unix with Openlayers 2.4 under mod_python.<br><br>Strange. Looks like something I broke in the mod_python setup, though<br>I've tested it on mod_python myself with no problems.<br><br>I'll get it fixed in an rc4 -- I'd offer you a fix, but I'm not sure
<br>what it is off the top of my head.<br><br>-- Chris<br><br>> Can anyone point me in the right direction?<br>><br>> Thanks<br>><br>> Stuart<br>><br>> My openlayers definition is:<br>><br>> var wms_cache_layer = new
OpenLayers.Layer.WMS( "Fasti Global Mosaic", "<br>> <a href="http://www.fastionline.org/v2/mapserver/tilecache/tilecache.py?">http://www.fastionline.org/v2/mapserver/tilecache/tilecache.py?</a>", {layers:
<br>> 'fasti', format: 'image/png; mode=24bit', maxResolution:'<br>> 27086.765625',maxExtent:<br>> new OpenLayers.Bounds (256000,-1385000,733013,5549212) } );<br>><br>> Tilecache.cfg
is:<br>><br>> [fasti]<br>> type=WMSLayer<br>> url=<a href="http://map1.fastionline.org/v2/fasti_wms.php">http://map1.fastionline.org/v2/fasti_wms.php</a> ?<br>> srs=EPSG:3034<br>> extension='png'
<br>> bbox=256000,-1385000,733013,5549212<br>> maxResolution=27086.765625<br>> levels=14<br>> layers=dem_base_west,dem_base_east<br><br>> _______________________________________________<br>> Tilecache mailing list
<br>> <a href="mailto:Tilecache@openlayers.org">Tilecache@openlayers.org</a><br>> <a href="http://openlayers.org/mailman/listinfo/tilecache">http://openlayers.org/mailman/listinfo/tilecache</a><br><br><br>--<br>Christopher Schmidt
<br>MetaCarta<br></blockquote></div><br>