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

Christopher Schmidt crschmidt at metacarta.com
Fri May 9 18:47:30 BST 2008


On Fri, May 09, 2008 at 07:08:51PM +0200, Raphael Studer 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')
> ----------------------------------------
> 
> Does anyone know where they come from?

"BaseHTTPServer + Browser sucking".

Essentially:
 * If you load an image, and then replace it (as OpenLayers does) it 
   saves the browser a lot of work
 * BaseHTTPServer treats all cases where the remote end closes the 
   connection as a Broken Pipe
 * BaseHTTPServer complains noisily about Broken Pipe exceptions.

In the end, they're nothing to worry about.

Regards,
-- 
Christopher Schmidt
MetaCarta




More information about the dev mailing list