[OpenLayers-Dev] TileCache w/Apache and mod_python

Follower/OL follower at rancidbacon.com
Wed Nov 22 10:36:42 EST 2006


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.



More information about the Dev mailing list