Onward and upward... I started doing prints on Saturday, pretending that I knew what was going in inside the app server :-) and here's what I collected in the console log. I'm running the AppServer using nohup, so the output goes to nohup.out. I've included a couple of page views that worked properly before number 9, which is the now-infamous wedged page:
7 2002-05-04 21:22:26 /ADC/Examples/CountVisits before transaction: Sat May 4 21:22:26 2002 after transaction: Sat May 4 21:22:26 2002 before strmOut.flush: Sat May 4 21:22:26 2002 after strmOut.flush: Sat May 4 21:22:26 2002 after strmOut.close: Sat May 4 21:22:26 2002 after conn.shutdown: Sat May 4 21:22:26 2002 after conn.close: Sat May 4 21:22:26 2002 7 0.03 secs /ADC/Examples/CountVisits 8 2002-05-04 21:22:29 /ADC/Examples/View?filename=CountVisits.py before transaction: Sat May 4 21:22:29 2002 after transaction: Sat May 4 21:22:29 2002 before strmOut.flush: Sat May 4 21:22:29 2002 after strmOut.flush: Sat May 4 21:22:29 2002 after strmOut.close: Sat May 4 21:22:29 2002 after conn.shutdown: Sat May 4 21:22:29 2002 after conn.close: Sat May 4 21:22:29 2002 8 0.24 secs /ADC/Examples/View?filename=CountVisits.py 9 2002-05-04 21:22:38 /ADC/Examples/Error before transaction: Sat May 4 21:22:38 2002 [Sat May 4 21:22:38 2002] [error] WebKit: Error while executing script /usr/local/Webware/WebKit/Examples/Error.py Traceback (most recent call last): File "./WebKit/Application.py", line 388, in dispatchRequest File "./WebKit/Application.py", line 536, in handleGoodURL File "./WebKit/Application.py", line 712, in respond File "./WebKit/Transaction.py", line 105, in respond File "./WebKit/HTTPServlet.py", line 38, in respond File "./WebKit/Page.py", line 34, in respondToGet File "./WebKit/Page.py", line 67, in _respond File "./WebKit/Page.py", line 129, in writeHTML File "./WebKit/Examples/Error.py", line 8, in writeBody ImportError: No module named UnknownModule after transaction: Sat May 4 21:22:39 2002 before strmOut.flush: Sat May 4 21:22:39 2002 after strmOut.flush: Sat May 4 21:22:39 2002 after strmOut.close: Sat May 4 21:22:39 2002 after conn.shutdown: Sat May 4 21:22:39 2002 after conn.close: Sat May 4 21:22:39 2002 9 1.58 secs /ADC/Examples/Error Cheers! -- David Hancock | [EMAIL PROTECTED] | 410-266-4384 -----Original Message----- From: Geoffrey Talvola [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 10:02 AM To: 'Hancock, David (DHANCOCK)'; '[EMAIL PROTECTED]' Subject: RE: [Webware-discuss] WebKit Error traceback pages don't close th eir connection? 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 _______________________________________________________________ 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