[OSM-dev] Online/offline slippy map finished.

Sebastian Spaeth sebastian at sspaeth.de
Sat May 10 10:03:21 BST 2008


On Fri, 9 May 2008 19:08:51 +0200
"Raphael Studer" <studerap at gmail.com> wrote:

> Hi Sebastian,
> 
> I get a lof of errors like that:
> ...  File "/usr/lib/python2.5/socket.py", line 249, in flush
>     self._sock.sendall(buffer)
> error: (32, 'Broken pipe')

Yes, they will appear every time you zoom and not all tiles have been
loaded yet. The current transaction will then be aborted by the
browser. i should probably catch that exception somewhere, but I would
have to look where exactly. it's safe to ignore these.

it's funny to see that OJW did something similar in python just
yesterday, just using OSM downloads and doing the rendering himself.
His code is modular and clean while mine is an ugly hack, though :-)

spaetz




More information about the dev mailing list