[Tilecache] Tilecache 2.04 issue with windows, mod_python

Bruce Rindahl rindahl at lrcwe.com
Wed Jul 2 14:48:38 EDT 2008


I am trying to upgrade from tilecache 1.9 to 2.04 in windows.  I am 
using Apache 2.2, Python 2.4, mod_python 3.2.10.  All my configuration 
files worked perfectly for Apache 2.2, Python 2.4, mod_python 3.3.1 and 
tilecache 1.9.  When I try to test the new configuration I get:

c:\projects\web\tilecache\tilecache_seed.py 
"http://localhost/tilecache/tilecache.py?" seo_quads 4 7
###### (0, 0, 4), (19, 14, 4)
Traceback (most recent call last):
  File "c:\projects\web\tilecache\tilecache_seed.py", line 9, in ?
    TileCache.Client.main()
  File "c:\projects\web\tilecache\TileCache\Client.py", line 106, in main
    seed(svc, base, layer, map(int, sys.argv[3:]))
  File "c:\projects\web\tilecache\TileCache\Client.py", line 92, in seed
    svc.renderTile(tile)
  File "c:\projects\web\tilecache\TileCache\Service.py", line 138, in 
renderTile
    data = layer.render(tile)
  File "c:\projects\web\tilecache\TileCache\Layer.py", line 437, in render
    return self.renderTile(tile)
  File "c:\projects\web\tilecache\TileCache\Layers\WMS.py", line 29, in 
renderTile
    tile.data, response = wms.fetch()
  File "c:\projects\web\tilecache\TileCache\Client.py", line 54, in fetch
    response = self.client.open(urlrequest)
  File "C:\Python24\Lib\urllib2.py", line 364, in open
    response = meth(req, response)
  File "C:\Python24\Lib\urllib2.py", line 471, in http_response
    response = self.parent.error(
  File "C:\Python24\Lib\urllib2.py", line 402, in error
    return self._call_chain(*args)
  File "C:\Python24\Lib\urllib2.py", line 337, in _call_chain
    result = func(*args)
  File "C:\Python24\Lib\urllib2.py", line 480, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) 
urllib2.HTTPError: HTTP Error 500: Internal Server Error

Are there any ideas on how I can fix this?  I would like to try the new 
features of TC 2.0
Thanks!
Bruce Rindahl



More information about the Tilecache mailing list