[Tilecache] TileCache problem

♪♫CâRLëTëS♫♪ casc84ab at gmail.com
Mon Oct 20 07:52:17 EDT 2008


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


-- 
**CASC**
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/tilecache/attachments/20081020/302e1d38/attachment.html


More information about the Tilecache mailing list