[OpenLayers-Dev] TileCache w/Apache and mod_python
Brian Levy
blevy at taic.net
Wed Nov 22 10:50:46 EST 2006
Phil,
Officailly you know more than me about TileCache!
I added the commet "#" to the line "layers=<layer>....." in tilecache.cfg
and everything works.
I was banging my head on this all night...the source should be updated.
Thank you much!!!
Brian
-----Original Message-----
From: dev-bounces at openlayers.org [mailto:dev-bounces at openlayers.org] On
Behalf Of Follower/OL
Sent: Wednesday, November 22, 2006 7:37 AM
To: dev at openlayers.org
Subject: Re: [OpenLayers-Dev] TileCache w/Apache and mod_python
Hi Brian,
Officially I know nothing about tile caching, but... :-)
Brian Levy wrote:
> [Tue Nov 21 16:31:12 2006] [error] [client 127.0.0.1] PythonHandler
> TileCache.Service: OSError: [Errno 22] Invalid argument:
'c:\\\\cache\\n***
> optional iff layername if what\\nyour data source calls the layer **'
Does your tilecache.cfg include this section:
# layers=<layer>[,<layer2>,<layer3>,...]
*** optional iff layername if what
your data source calls the layer **
# extension={png,jpeg,gif} *** defaults to "png" ***
If it does then I think it's choking because there are no "#" at the
beginning of the two lines with the comment. If you delete the two lines
or add the required "#" comment marker you may find your problem solved.
If this doesn't fix your problem then you'll have to wait for someone
who actually knows what they're talking about to answer your question. :-)
--Phil.
_______________________________________________
Dev mailing list
Dev at openlayers.org
http://openlayers.org/mailman/listinfo/dev
More information about the Dev
mailing list