Geoffrey Talvola wrote:

>Hancock, David wrote:
>
>>I've trimmed the quoted parts down a lot--I hope that's OK in 
>>our list's
>>etiquette.
>>
>>I've done the next two suggested troubleshooting steps (put a 
>>write after
>>WriteFancyTraceback in ExceptionHandler, print timestamp on 
>>console before
>>and after line 526 in ThreadedAppserver, remembering to flush 
>>stdout after
>>each print).
>>
>
>OK, let's try this: lines 530-534 in ThreadedAppServer.py look like this:
>
>               try:
>                       conn.shutdown(1)
>                       conn.close()
>               except:
>                       pass
>
>Put print statements in there and see if conn.shutdown or conn.close are
>failing.  If so, let's try to find out what the exception is.  (I think you
>can just remove the try/except in which case the exception will bubble up to
>the enclosing loop and will be printed.)
>
>- Geoff
>

You could also just put a "raise" just before the "pass".  Fewer changes 
that way.

--Karl


_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
Webware-discuss mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-discuss

Reply via email to