tilecache seeding error

2 messages Options
Embed this post
Permalink
gzambotti

tilecache seeding error

Reply Threaded More More options
Print post
Permalink
Hi there,

I am working at a google mushup project with Harvard CGA, and I would like to seed my tiles.
I am testing it using my windows workstation (XP, MS4W, Mod_Python, TileCache 2.10).
Everything is working very well until seeding level 8 and above.
Here the command that I run

C:\ms4w\Apache\htdocs\tilecache>tilecache_seed.py ED_Total 8 9 -b "-13914936,287
5744,-7124447,6106854"

Here it is the error message that I got:

Traceback (most recent call last):
  File "C:\ms4w\Apache\htdocs\tilecache\tilecache_seed.py", line 9, in <module>
    TileCache.Client.main()
  File "C:\ms4w\Apache\htdocs\tilecache\TileCache\Client.py", line 162, in main
    seed(svc, layer, map(int, args[1:3]), bboxlist , padding=options.padding, fo
rce = options.force, reverse = options.reverse)
  File "C:\ms4w\Apache\htdocs\tilecache\TileCache\Client.py", line 117, in seed
    svc.renderTile(tile,force=force)
  File "C:\ms4w\Apache\htdocs\tilecache\TileCache\Service.py", line 138, in rend
erTile
    data = layer.render(tile, force=force)
  File "C:\ms4w\Apache\htdocs\tilecache\TileCache\Layer.py", line 443, in render

    return self.renderTile(tile)
  File "C:\ms4w\Apache\htdocs\tilecache\TileCache\Layers\WMS.py", line 29, in re
nderTile
    tile.data, response = wms.fetch()
  File "C:\ms4w\Apache\htdocs\tilecache\TileCache\Client.py", line 58, in fetch
    response = self.client.open(urlrequest)
  File "C:\Python25\lib\urllib2.py", line 381, in open
    response = self._open(req, data)
  File "C:\Python25\lib\urllib2.py", line 399, in _open
    '_open', req)
  File "C:\Python25\lib\urllib2.py", line 360, in _call_chain
    result = func(*args)
  File "C:\Python25\lib\urllib2.py", line 1107, in http_open
    return self.do_open(httplib.HTTPConnection, req)
  File "C:\Python25\lib\urllib2.py", line 1082, in do_open
    raise URLError(err)
urllib2.URLError: <urlopen error (10060, 'Operation timed out')>


here the layer in my tilecache.cgf

[ED_Total]
url = http://cga-3.hmdc.harvard.edu/cgi-bin/mapserv?map=/opt/CGA/htdocs/EDMap_DEV/ednetdev.map
layers = ED_Total
srs = EPSG:900913
type = WMS
spherical_mercator = yes
metatile = no
extension = png
bbox="-13914936,2875744,-7124447,6106854"

Any idea? Many thanks in adavance

--
Giovanni Zambotti
34 Prince st, Cambridge MA
02139 USA
Phone: (617) 492 - 0359

_______________________________________________
Tilecache mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/tilecache
Christopher Schmidt-2

Re: tilecache seeding error

Reply Threaded More More options
Print post
Permalink
On Thu, Sep 24, 2009 at 04:32:30PM -0400, Giovanni Zambotti wrote:
> Hi there,
>
> I am working at a google mushup project with Harvard CGA, and I would like
> to seed my tiles.
> I am testing it using my windows workstation (XP, MS4W, Mod_Python,
> TileCache 2.10).
> Everything is working very well until seeding level 8 and above.
> Here the command that I run

>   File "C:\Python25\lib\urllib2.py", line 1082, in do_open
>     raise URLError(err)
> urllib2.URLError: <urlopen error (10060, 'Operation timed out')>

This means that the server on the remote end timed out. I believe that the
default socket timeout is 30 seconds.

"
In a single-threaded program you can import the socket module and then
use the socket.setdefaulttimeout() function to establish a longer timeout.
" -- http://mail.python.org/pipermail/python-list/2006-January/534262.html

I remember running into this problem before on cga-3; I can't remember
if I did anything other than move my tile seeding to that machine (
rather than running it remotely) to fix the problem, so there may be
a networking issue at play here between you and Harvard's server.


--
Christopher Schmidt
MetaCarta
_______________________________________________
Tilecache mailing list
[hidden email]
http://openlayers.org/mailman/listinfo/tilecache