python mysteriously halts

Peter Otten __peter__ at web.de
Mon Jul 7 09:31:31 EDT 2008


Todd wrote:

> I ran a python script last night which connects to a matlab automation
> server via DCOM (using win32com).  I expected to see the results when
> I came in this morning.  But apparently, not long after I left, python
> stopped.  I hit enter in the console, and it started again.  I scoured
> the handful of lines of code to see if there was any kind of input
> statement put there by accident but couldn't find one.  Furthermore,
> I've run this code many times without it pausing.  It's still possible
> I've done something boneheaded, but I'm wondering if there is another
> reason (e.g. a pause in the win32com module, some kind of timeout
> feature if the system is idle, etc.).  thank you

You could start your debugging process by hitting Control-C instead of
<enter> and study the traceback.

Peter




More information about the Python-list mailing list