[Tilecache] Error while creating tiles on the fly.
manel.clos at ajgirona.cat
manel.clos at ajgirona.cat
Thu Nov 21 04:02:57 PST 2013
Hi David,
Then it was a DNS issue.
Manel Clos
-----Mensaje original-----
De: David Alda Fernandez de Lezea [mailto:dalda at hazi.es]
Enviado el: jueves, 21 de noviembre de 2013 12:28
Para: Clos Crespo, Manel; tilecache at lists.osgeo.org
Asunto: RE: Error while creating tiles on the fly.
Hi again,
Apparently the problem is solved. I added the external WMS url to the hosts file where tilecache is located and it worked, at least the tests I've done show that the error mentioned before won't appear anymore. I'll make more test just to be sure.
But, I've noticed that sometimes I get the following error:
An error occurred: Current y value 4793912.353516 is too far from tile corner y 4793894.042969
Any ideas?
David Alda Fernández de Lezea
UNIDAD DE EMPRENDIMIENTO Y DESARROLLO RURAL
Area de Sistemas de Información Geográfica, Planificación Territorial y Forestal
Granja Modelo s/n
01192 Arkaute Araba
T 627923170 F 945 003 290
dalda at hazi.es | www.hazi.es
********************* LEGE OHARRA ******************* AVISO LEGAL ******************* DISCLAIMER ******************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.
-----Mensaje original-----
De: manel.clos at ajgirona.cat [mailto:manel.clos at ajgirona.cat]
Enviado el: jueves, 21 de noviembre de 2013 10:46
Para: David Alda Fernandez de Lezea; tilecache at lists.osgeo.org
Asunto: RE: Error while creating tiles on the fly.
Hi David,
Try to access the URL from the same machine on which you have TileCache installed, and if possible using the same user.
This is not really related to TileCache or urllib2. It is about network access. Are you using a proxy?
Manel Clos
-----Mensaje original-----
De: David Alda Fernandez de Lezea [mailto:dalda at hazi.es] Enviado el: jueves, 21 de noviembre de 2013 10:23
Para: Clos Crespo, Manel; tilecache at lists.osgeo.org
Asunto: RE: Error while creating tiles on the fly.
Hi Manel,
Thanks for your response. The thing is that the url seems to be not valid, but if I try to access that url via a webrowser after hitting more than five times it creates the image.
You can see what happens :
http://geotiles.ikt.es/cgi-bin/tilecache-2.11/tilecache.py?LAYERS=orto2011etrs89&FORMAT=image%2Fgif&STYLES=&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A25830&BBOX=470986.328125,4785288.0859375,471059.5703125,4785361.328125&WIDTH=256&HEIGHT=256
Another point to take into consideration could be that the layer I'm requesting it's from an external WMS... could that be problem? I mean, could that be the url that it's not finding? Perhaps I should include that URL into my hosts file?
Thanks again.
Regards,
David Alda Fernández de Lezea
UNIDAD DE EMPRENDIMIENTO Y DESARROLLO RURAL Area de Sistemas de Información Geográfica, Planificación Territorial y Forestal
Granja Modelo s/n
01192 Arkaute Araba
T 627923170 F 945 003 290
dalda at hazi.es | www.hazi.es
********************* LEGE OHARRA ******************* AVISO LEGAL ******************* DISCLAIMER ******************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.
-----Mensaje original-----
De: manel.clos at ajgirona.cat [mailto:manel.clos at ajgirona.cat] Enviado el: jueves, 21 de noviembre de 2013 9:40
Para: David Alda Fernandez de Lezea; tilecache at lists.osgeo.org
Asunto: RE: Error while creating tiles on the fly.
Hi David,
Your url is not valid or Tilecache cannot contact the server. Check your url is valid. If you are using a proxy think about defining http_proxy and no_proxy variables.
Manel Clos
-----Mensaje original-----
De: tilecache-bounces at lists.osgeo.org [mailto:tilecache-bounces at lists.osgeo.org] En nombre de David Alda Fernandez de Lezea Enviado el: jueves, 21 de noviembre de 2013 8:34
Para: tilecache at lists.osgeo.org
Asunto: [Tilecache] Error while creating tiles on the fly.
Hi list,
I've noticed that I'm getting the following tilecache error while navigating through the map and creating the tiles on the fly:
An error occurred: <urlopen error (11001, 'getaddrinfo failed')>
File "c:\python25\lib\site-packages\TileCache-2.11-py2.5.egg\TileCache\Service.py", line 256, in modPythonHandler
host )
File "c:\python25\lib\site-packages\TileCache-2.11-py2.5.egg\TileCache\Service.py", line 208, in dispatchRequest
return self.renderTile(tile, params.has_key('FORCE'))
File "c:\python25\lib\site-packages\TileCache-2.11-py2.5.egg\TileCache\Service.py", line 138, in renderTile
data = layer.render(tile, force=force)
File "c:\python25\lib\site-packages\TileCache-2.11-py2.5.egg\TileCache\Layer.py", line 444, in render
return self.renderTile(tile)
File "c:\python25\lib\site-packages\TileCache-2.11-py2.5.egg\TileCache\Layers\WMS.py", line 29, in renderTile
tile.data, response = wms.fetch()
File "c:\python25\lib\site-packages\TileCache-2.11-py2.5.egg\TileCache\Client.py", line 59, in fetch
response = self.client.open(urlrequest)
File "C:\Python25\lib\urllib2.py", line 374, in open
response = self._open(req, data)
File "C:\Python25\lib\urllib2.py", line 392, in _open
'_open', req)
File "C:\Python25\lib\urllib2.py", line 353, in _call_chain
result = func(*args)
File "C:\Python25\lib\urllib2.py", line 1101, in http_open
return self.do_open(httplib.HTTPConnection, req)
File "C:\Python25\lib\urllib2.py", line 1076, in do_open
raise URLError(err)
Any idea what could be happening?
Thanks in advance.
Regards,
David Alda Fernández de Lezea
UNIDAD DE EMPRENDIMIENTO Y DESARROLLO RURAL
Area de Sistemas de Información Geográfica, Planificación Territorial y Forestal
Granja Modelo s/n
01192 Arkaute Araba
T 627923170 F 945 003 290
dalda at hazi.es <blocked::mailto:correo_electronico at hazi.es> | www.hazi.es <blocked::http://www.hazi.es/>
<file://C:\Documents and Settings\u0899dal\Datos de programa\Microsoft\Signatures\HAZI Consultoria_archivos\image001.jpg>
<blocked::http://www.hazi.es/>
********************* LEGE OHARRA ******************* AVISO LEGAL ******************* DISCLAIMER ******************
Mezu hau pertsonala eta isilpekoa da eta baimenik gabeko erabilera debekatua dago legalki. Jasotzailea ez bazara ezabatu mezua, bidali eta kontserbatu gabe.
Este mensaje es personal y confidencial y su uso no autorizado está prohibido legalmente. Si usted no es el destinatario, proceda a borrarlo, sin reenviarlo ni conservarlo.
This message is personal and confidential, unauthorised use is legally prohibited. If you are not the intended recipient, delete it without resending or backing it.
_______________________________________________
Tilecache mailing list
Tilecache at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/tilecache
More information about the Tilecache
mailing list