[Tilecache] Import Error in TileCache under Apache CGI

Jorge Arévalo jorge.arevalo at deimos-space.com
Thu Dec 15 10:33:49 EST 2011


Hello,

I'm trying to load a MBTiles cache and I'm getting this error:

An error occurred: No module named MBTiles
  File "C:\Program Files (x86)\Apache Software
Foundation\Apache2.2\cgi-bin\TileCache\Service.py", line 103, in _load
    cache = cache)
  File "C:\Program Files (x86)\Apache Software
Foundation\Apache2.2\cgi-bin\TileCache\Service.py", line 63, in
_loadFromSection
    object_module = import_module("TileCache.Layers.%s" % type)
  File "C:\Program Files (x86)\Apache Software
Foundation\Apache2.2\cgi-bin\TileCache\Service.py", line 36, in
import_module
    mod = __import__(name)

Same problem with cache types: TMS, GoogleDisk. WMS basic example works fine.

My tilecache.cfg file:

[cache]
type=Disk
base=C:/cache

[mb_tiles]
type=MBTiles
base=C:/data
ext=mbtiles

TileCache 2.11 running as CGI under Apache 2. Windows 7 box.

Any clues?

Thanks in advance,

-- 
Jorge Arévalo
Internet & Mobility Division, DEIMOS
jorge.arevalo at deimos-space.com
http://mobility.grupodeimos.com/
http://www.libregis.org
http://geohash.org/ezjqgrgzz0g


More information about the Tilecache mailing list