python mysteriously halts

Gabriel Genellina gagsl-py2 at yahoo.com.ar
Tue Jul 15 03:34:32 EDT 2008


En Mon, 07 Jul 2008 12:26:28 -0300, Todd <goldfita at signalsguru.net>  
escribió:

> On Jul 7, 10:17 am, Tim Golden <m... at timgolden.me.uk> wrote:
>> 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.
>>
>> Symptomatically, at least, this can be caused by someone starting to
>> select (with the mouse) an area of the screen: the process will pause
>> until <Enter> is pressed, which copies the area to the clipboard. This
>> only happens with a console window, but it sounds like that's what
>> you had running.
>
> That might be it, although I don't recall doing that.  Fortunately/
> unfortunately, it happened a few times, but it seems to have stopped
> now.

You could disable that behaviour by unchecking "Quick edit mode" (or  
something like that) in the Default preferences for the console window.  
(It's unchecked by default on WinXP and Win2003, I think).

-- 
Gabriel Genellina




More information about the Python-list mailing list