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

Sebastian Spaeth sebastian at sspaeth.de
Sat May 10 10:28:47 BST 2008


On Fri, 9 May 2008 19:08:51 +0200
"Raphael Studer" <studerap at gmail.com> wrote:
>     self._sock.sendall(buffer)
> error: (32, 'Broken pipe')
> ----------------------------------------

The following patch would suppress these error messages:

3c3
< import urllib,re,os,sys,stat,errno
---
> import urllib,re,os,sys,stat,errno,socket
40a41,42
>       except socket.error, (code, msg):
>         if code == errno.EPIPE: print "client aborted connection"




More information about the dev mailing list