[Tilecache] Installation Problem on Windows
brindahl
rindahl at lrcwe.com
Thu Nov 8 18:38:38 EST 2007
I am making some progress.
I now have mod_python installed and tested. I added this to my httpd.conf
file:
<Directory /Projects/Web/tilecache>
AddHandler mod_python .py
PythonHandler TileCache/Service
PythonOption TileCacheConfig /Projects/Web/tilecache.cfg
</Directory>
When I try to access tilecache.py (copy of tilecache.cgi) the error log
gives:
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] mod_python (pid=6656,
interpreter='localhost.local.domain', phase='PythonHandler',
handler='TileCache/Service'): Application error
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] ServerName:
'localhost.local.domain'
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] DocumentRoot:
'C:/Projects/Web'
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] URI:
'/tilecache/tilecache.py'
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] Location: None
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] Directory:
'C:/Projects/Web/tilecache/'
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] Filename:
'C:/Projects/Web/tilecache/tilecache.py'
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] PathInfo: ''
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] Traceback (most recent
call last):
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] File
"C:\\Python24\\Lib\\site-packages\\mod_python\\importer.py", line 1537, in
HandlerDispatch\n default=default_handler, arg=req, silent=hlist.silent)
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] File
"C:\\Python24\\Lib\\site-packages\\mod_python\\importer.py", line 1229, in
_process_target\n result = _execute_target(config, req, object, arg)
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] File
"C:\\Python24\\Lib\\site-packages\\mod_python\\importer.py", line 1128, in
_execute_target\n result = object(arg)
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] File
"C:\\Projects\\Web\\tilecache\\TileCache\\Service.py", line 552, in
handler\n theService = Service.load(*cfgs)
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] File
"C:\\Projects\\Web\\tilecache\\TileCache\\Service.py", line 380, in _load\n
cache = cls.loadFromSection(config, "cache", Cache)
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] File
"C:\\Projects\\Web\\tilecache\\TileCache\\Service.py", line 360, in
_loadFromSection\n type = config.get(section, "type")
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] File
"C:\\Python24\\Lib\\ConfigParser.py", line 511, in get\n raise
NoSectionError(section)
[Thu Nov 08 16:34:44 2007] [error] [client 127.0.0.1] NoSectionError: No
section: 'cache'
Obviously the server is navigating to the service.py file but is then having
problems. The cache section of the tilecache is :
[cache]
type=DiskCache
base=c:\temp\tilecache
The directory c:\temp\tilecache is on the machine and writable
Again any help would be appreciated.
Bruce
--
View this message in context: http://www.nabble.com/Installation-Problem-on-Windows-tf4773077.html#a13658462
Sent from the TileCache mailing list archive at Nabble.com.
More information about the Tilecache
mailing list