[Tilecache] Error 'Name or service not known'
Jacolin Yves
yjacolin at free.fr
Mon Jan 7 04:35:46 EST 2008
Hi,
I got this error message when I access to tilecache.cgi, do you have an idea
where the problem come from ?
I added my url in the hosts file, allowed all access to the cgi-bin/ and
cgi-restricted-bin/ dir where the files (tilecache.cgi and mapserv) are.
/************************
An error occurred: <urlopen error (-2, 'Name or service not known')>
File "/var/www/dev/lpdipro/lpdipro/Carto/tilecache-1.9/TileCache/Service.py",
line 525, in cgiHandler
format, image = service.dispatchRequest( params, path_info, req_method,
host )
File "/var/www/dev/lpdipro/lpdipro/Carto/tilecache-1.9/TileCache/Service.py",
line 443, in dispatchRequest
return self.renderTile(tile, params.has_key('FORCE'))
File "/var/www/dev/lpdipro/lpdipro/Carto/tilecache-1.9/TileCache/Service.py",
line 401, in renderTile
data = layer.render(tile)
File "/var/www/dev/lpdipro/lpdipro/Carto/tilecache-1.9/TileCache/Layer.py",
line 253, in render
return self.renderTile(tile)
File "/var/www/dev/lpdipro/lpdipro/Carto/tilecache-1.9/TileCache/Layer.py",
line 297, in renderTile
tile.data, response = wms.fetch()
File "/var/www/dev/lpdipro/lpdipro/Carto/tilecache-1.9/TileCache/Client.py",
line 45, in fetch
response = self.client.open(urlrequest)
File "urllib2.py", line 358, in open
response = self._open(req, data)
File "urllib2.py", line 376, in _open
'_open', req)
File "urllib2.py", line 337, in _call_chain
result = func(*args)
File "urllib2.py", line 1021, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "urllib2.py", line 996, in do_open
raise URLError(err)
/************************
Thanks,
Y.
--
Yves Jacolin
---
http://softlibre.gloobe.org
More information about the Tilecache
mailing list