This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: IDLE hangs when inactive more than 2 hours
Type: Stage:
Components: IDLE Versions: Python 2.3
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: kbk Nosy List: kbk, rhettinger, tebeka, terry.reedy
Priority: low Keywords:

Created on 2004-08-02 08:41 by tebeka, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (13)
msg21897 - (view) Author: Miki Tebeka (tebeka) * Date: 2004-08-02 08:41
When IDLE is left inactive for more than 2 hours it hangs.
The window does not refresh and I can't enter any commands.

This is Python 2.3.4, but started to happen after I
installed python 2.4a1 (also happens there)
msg21898 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-08-02 08:45
Logged In: YES 

Miki, what operatiing system are you using?

Also, have you checked to see if something odd is going on
with power management or a screen saver?

One other thought is that it make have to do with the socket
msg21899 - (view) Author: Miki Tebeka (tebeka) * Date: 2004-08-02 09:05
Logged In: YES 

I'm using winXP pro.

I don't recall anything funny with power management. This is
IBMT40 (laptop) but it is in the docking station all the time.
Only screen saver (slideshow) is running when computer is
idle for long time, not sleep/hibernate ...

I don't have time to check not but IIRC "idle -n" also hangs.
msg21900 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2004-08-04 01:57
Logged In: YES 

1. What happens if you run Python without running IDLE?
2. Have you tried turning off the screensaver?
msg21901 - (view) Author: Miki Tebeka (tebeka) * Date: 2004-08-04 08:11
Logged In: YES 

1. "Pure" Python (without IDLE) don't hang after 2 hours
2. I didn't try this time but I'm pretty sure it hanged
without screen saver as well.
msg21902 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2004-08-04 20:17
Logged In: YES 

By 'hangs' do you mean <not responding> when viewing the 
TasKManager Applications list, and killable with its End Task 
button? or something more evil, like locks the computer and 
prevents rebooting?  Even Outlook Express and Internet 
Explore, with MS's billions, still do the former.

With Win95, 98, and XP home and pro, I have had several 
problems, often intermittent, and maybe hardware specific, 
with bad interactions between programs, screen savers, and 
stand-by.  On LCDs (and, I believe, modern CRTs) 'screen 
savers' save nothing except the boredom of a constant 
picture.  I would turn it off and also check screen 
properites/screensaver/power button and the bios to see if 
anything is scheduled to happen at 2 hours.  The timing, if 
consistent, is definitely suspicious.

A major change for Windows between 2.3.4 and 2.4 is the 
compiler 'upgrade' which could change a program's interaction 
with Windows and its vulnerability to bugs within.
msg21903 - (view) Author: Miki Tebeka (tebeka) * Date: 2004-08-08 07:58
Logged In: YES 

Hangs means the window content does not refresh. I can move
it, resize it ...
It is killable and task manager show it as "active".
msg21904 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2004-08-11 01:55
Logged In: YES 

If you just start IDLE (shell window only) and don't do anything,
does it always hang in two hours?  If so, /please/ try this without
your screen saver.
msg21905 - (view) Author: Miki Tebeka (tebeka) * Date: 2004-08-16 09:24
Logged In: YES 

It hangs even if I don't do anything and even without screen

Seems to be a problem in Tk since if I run both win32 IDLE
and cygwin IDLE both hang. If I run only cygwin IDLE it's OK.
msg21906 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2004-08-17 06:40
Logged In: YES 

um, run win32 IDLE and cygwin IDLE at the same time?

What happens when you run win32 IDLE without
cygwin IDLE?
msg21907 - (view) Author: Miki Tebeka (tebeka) * Date: 2004-08-17 07:23
Logged In: YES 

Same thing, it hangs after about 2 hours.
msg21908 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2004-08-29 22:21
Logged In: YES 

I can't reproduce this on WinXP Pro SP1.  I
suspect it's your hardware or Win installation.
msg21909 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2004-09-29 04:33
Logged In: YES 

No further info from OP, close as works-for-me
Date User Action Args
2022-04-11 14:56:06adminsetgithub: 40672
2004-08-02 08:41:00tebekacreate