[Tilecache] Tilecache_seed.py Error
    kuja 
    eiclkun at gmail.com
       
    Sun May 18 10:14:36 EDT 2008
    
    
  
hi, i met the same problem, and still wondering how to solve it.
at the first time, it showed "ImportError: No module named
TileCache.Service" 
than i changed "TileCache.Service" to "TileCache/Service"
this time, just like you "ImportError: No module named Caches" .
MOD_PYTHON ERROR
ProcessId:      1432
Interpreter:    'kuja.oicp.net'
ServerName:     'kuja.oicp.net'
DocumentRoot:   'C:/ms4w/hzau'
URI:            '/tilecache/tilecache.py'
Location:       None
Directory:      'C:/ms4w/hzau/tilecache/'
Filename:       'C:/ms4w/hzau/tilecache/tilecache.py'
PathInfo:       ''
Phase:          'PythonHandler'
Handler:        'TileCache/Service'
Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\mod_python\importer.py", line 1537, in
HandlerDispatch
    default=default_handler, arg=req, silent=hlist.silent)
  File "C:\Python25\Lib\site-packages\mod_python\importer.py", line 1202, in
_process_target
    module = import_module(module_name, path=path)
  File "C:\Python25\Lib\site-packages\mod_python\importer.py", line 296, in
import_module
    log, import_path)
  File "C:\Python25\Lib\site-packages\mod_python\importer.py", line 680, in
import_module
    execfile(file, module.__dict__)
  File "C:\ms4w\hzau\tilecache\TileCache\Service.py", line 8, in <module>
    import Cache, Caches
ImportError: No module named Caches
MODULE CACHE DETAILS
Accessed:       Sun May 18 22:10:54 2008
Generation:     1
_mp_85fa8e39c19cee4f718269161e8de1b3 {
  FileName:     'C:\\ms4w\\hzau\\tilecache\\TileCache\\Cache.py'
  Instance:     1
  Generation:   1
  Modified:     Tue Jan 01 03:16:26 2008
  Imported:     Sun May 18 21:40:25 2008
}
_mp_c63352947ad0cc24405e72984ea417f7 {
  FileName:     'C:\\ms4w\\hzau\\tilecache\\TileCache\\Service.py'
  Instance:     1 [IMPORT]
  Generation:   0 [ERROR]
  Modified:     Thu May 08 13:56:58 2008
  Children:     'C:\\ms4w\\hzau\\tilecache\\TileCache\\Cache.py'
}
both tilecache, python and python_mod are the latest version. 
this is the apache conf:
<Directory "C:/ms4w/hzau/tilecache">
    AddHandler mod_python .py     
    AddHandler python-program .py
    PythonHandler TileCache/Service
    PythonOption TileCacheConfig "C:/ms4w/hzau/tilecache/tilecache.cfg"
    PythonDebug On
</Directory>
and the tilechache.py
#!C:/Python25/python.exe -u
tks in advance
regards
                                                                                                            
kuja
-- 
View this message in context: http://www.nabble.com/mod_python-and-no-TileCache.Service-error-tp16360040p17303445.html
Sent from the TileCache mailing list archive at Nabble.com.
    
    
More information about the Tilecache
mailing list