<div dir="ltr">> I have tilecache on linux with mod_python and when i paste tilecache.py in my browser, i have this errors:<br><div class="gmail_quote">
><br>
> MOD_PYTHON ERROR<br>
><br>
> ProcessId: 2075<br>
> Interpreter: 'localhost.localdomain'<br>
><br>
> ServerName: 'localhost.localdomain'<br>
> DocumentRoot: '/usr/local/apache2/htdocs'<br>
><br>
> URI: '/tilecache/tilecache.py'<br>
> Location: None<br>
> Directory: '/usr/local/apache2/htdocs/tilecache/'<br>
> Filename: '/usr/local/apache2/htdocs/tilecache/tilecache.py'<br>
> PathInfo: ''<br>
><br>
> Phase: 'PythonHandler'<br>
> Handler: 'TileCache/Service'<br>
><br>
> Traceback (most recent call last):<br>
><br>
> File "/usr/local/lib/python2.3/site-packages/mod_python/importer.py", line 1537, in HandlerDispatch<br>
> default=default_handler, arg=req, silent=hlist.silent)<br>
><br>
> File "/usr/local/lib/python2.3/site-packages/mod_python/importer.py", line 1229, in _process_target<br>
> result = _execute_target(config, req, object, arg)<br>
><br>
> File "/usr/local/lib/python2.3/site-packages/mod_python/importer.py", line 1128, in _execute_target<br>
> result = object(arg)<br>
><br>
> File "/usr/local/apache2/htdocs/tilecache/TileCache/Service.py", line 552, in handler<br>
> theService = Service.load(*cfgs)<br>
><br>
> File "/usr/local/apache2/htdocs/tilecache/TileCache/Service.py", line 380, in _load<br>
> cache = cls.loadFromSection(config, "cache", Cache)<br>
><br>
> File "/usr/local/apache2/htdocs/tilecache/TileCache/Service.py", line 360, in _loadFromSection<br>
> type = config.get(section, "type")<br>
><br>
> File "/usr/local/lib/python2.3/ConfigParser.py", line 505, in get<br>
> raise NoSectionError(section)<br>
><br>
> NoSectionError: No section: 'cache'<br>
><br>
><br>
> MODULE CACHE DETAILS<br>
><br>
> Accessed: Sun Oct 19 08:37:14 2008<br>
> Generation: 0<br>
><br>
> _mp_025f188ec7887e9086582c0bbb459ad3 {<br>
> FileName: '/usr/local/apache2/htdocs/tilecache/TileCache/Cache.py'<br>
> Instance: 1 [IMPORT]<br>
> Generation: 1<br>
> Modified: Tue Sep 30 07:53:14 2008<br>
> Imported: Sun Oct 19 08:37:15 2008<br>
> }<br>
><br>
> _mp_61c35bc5ff8964047e38f8e4c3dd2fb0 {<br>
> FileName: '/usr/local/apache2/htdocs/tilecache/TileCache/Client.py'<br>
> Instance: 1 [IMPORT]<br>
> Generation: 2<br>
> Modified: Tue Sep 30 07:53:13 2008<br>
> Imported: Sun Oct 19 08:37:15 2008<br>
> }<br>
><br>
> _mp_2eaa2f0a4553bf867cc079157ad03dc3 {<br>
> FileName: '/usr/local/apache2/htdocs/tilecache/TileCache/Layer.py'<br>
> Instance: 1 [IMPORT]<br>
> Generation: 3<br>
> Modified: Tue Sep 30 07:53:13 2008<br>
> Imported: Sun Oct 19 08:37:15 2008<br>
> Children: '/usr/local/apache2/htdocs/tilecache/TileCache/Client.py',<br>
> '/usr/local/apache2/htdocs/tilecache/TileCache/Service.py'<br>
> }<br>
><br>
> _mp_ffefb01981ed9ae951dcae6c499eff18 {<br>
> FileName: '/usr/local/apache2/htdocs/tilecache/TileCache/Service.py'<br>
> Instance: 1 [IMPORT]<br>
> Generation: 4<br>
> Modified: Tue Sep 30 07:53:13 2008<br>
> Imported: Sun Oct 19 08:37:14 2008<br>
> Children: '/usr/local/apache2/htdocs/tilecache/TileCache/Cache.py',<br>
> '/usr/local/apache2/htdocs/tilecache/TileCache/Layer.py'<br>
> }<br>
><br>
> Any idea?, if you want i will give you my configuration files.<br>
<font color="#888888"><br>
</font></div><br>-- <br>**CASC**<br>
</div>