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.

classification
Title: IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7
Type: crash Stage:
Components: IDLE, Windows Versions: Python 3.2
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Tkinter File Dialog crashes on Win7 when saving to Documents Library
View: 12988
Assigned To: Nosy List: Ramchandra Apte, brian.curtin, loewis, mcuomo@prestonhs.org, ned.deily, roger.serwy, terry.reedy
Priority: normal Keywords:

Created on 2012-06-04 01:14 by mcuomo@prestonhs.org, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python error 6-6-12.docx mcuomo@prestonhs.org, 2012-06-07 00:35
Messages (30)
msg162243 - (view) Author: Maureen Cuomo (mcuomo@prestonhs.org) Date: 2012-06-04 01:14
I have been using ver 3.2.1 without a problem. Downloaded 3.2.3 nd cannot save any file in idle.
msg162247 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2012-06-04 01:41
We need more information to be able to help.  What platform and OS version are you running on?  Where did you install Python 3.2.3 from?  Exactly what happens when you try to save a file, i.e. are you using a mouse or a keyboard accelerator, what messages do you see, etc?
msg162255 - (view) Author: Ramchandra Apte (Ramchandra Apte) * Date: 2012-06-04 11:13
Can you run IDLE from the cmd line and send the output of the cmd line when it crashes?
msg162257 - (view) Author: Maureen Cuomo (mcuomo@prestonhs.org) Date: 2012-06-04 11:32
I am running python in Windows 7, I installed python from python.org. I
tried both of the following with the same results
Python 3.2.3 Windows x86 MSI
Installer<http://www.python.org/ftp/python/3.2.3/python-3.2.3.msi>(Windows
binary -- does not include source)
Python 3.2.3 Windows X86-64 MSI
Installer<http://www.python.org/ftp/python/3.2.3/python-3.2.3.amd64.msi>(Windows
AMD64 / Intel 64 / X86-64 binary
[1] <http://www.python.org/download/#id10> -- does not include source)

Cannot save any file.

Maureen Cuomo

On Sun, Jun 3, 2012 at 9:41 PM, Ned Deily <report@bugs.python.org> wrote:

>
> Ned Deily <nad@acm.org> added the comment:
>
> We need more information to be able to help.  What platform and OS version
> are you running on?  Where did you install Python 3.2.3 from?  Exactly what
> happens when you try to save a file, i.e. are you using a mouse or a
> keyboard accelerator, what messages do you see, etc?
>
> ----------
> nosy: +ned.deily
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue14996>
> _______________________________________
>
msg162290 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2012-06-04 20:39
It is still difficult to understand what problem you are seeing as others are using IDLE from the 3.2.3 installers on Windows 7.  There is at least one open issue in this area on Windows: http://bugs.python.org/issue12988.  Does that describe what you are seeing?  If now, a few things to check: if you get to the Save dialog, try choosing another folder to save to, ilke Desktop; also, try a simple file name with ".py" at the end.  If that doesn't help, please give a step-by-step procedure to reproduce the problem, including what you see on the screen.
msg162293 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2012-06-04 20:58
Also, you could try temporarily renaming the .idlerc folder in your User folder; this is where IDLE stores several configuration files which can be a cause of problems if they have incorrect values.  And you could also try to run IDLE from the Python command line.  Launch Python 3.2 -> Python (command line), then in the interactive interpreter enter:

    import idlelib.PyShell
    idlelib.PyShell.main()

Additional error messages may show up in the command line window.
msg162311 - (view) Author: Maureen Cuomo (mcuomo@prestonhs.org) Date: 2012-06-04 23:53
Yes it looks like that. I Open a new window in python, type into the new
window. I try to save it so I can run the program and I get the twirling
circle until the dialog box come up saying pythow.exe has stopped working.
Maureen Cuomo

On Mon, Jun 4, 2012 at 4:39 PM, Ned Deily <report@bugs.python.org> wrote:

>
> Ned Deily <nad@acm.org> added the comment:
>
> It is still difficult to understand what problem you are seeing as others
> are using IDLE from the 3.2.3 installers on Windows 7.  There is at least
> one open issue in this area on Windows: http://bugs.python.org/issue12988.
>  Does that describe what you are seeing?  If now, a few things to check: if
> you get to the Save dialog, try choosing another folder to save to, ilke
> Desktop; also, try a simple file name with ".py" at the end.  If that
> doesn't help, please give a step-by-step procedure to reproduce the
> problem, including what you see on the screen.
>
> ----------
> components: +Windows
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue14996>
> _______________________________________
>
msg162314 - (view) Author: Maureen Cuomo (mcuomo@prestonhs.org) Date: 2012-06-05 00:00
I can save to the desktop, but nowhere else. Will this be fixed? I teach
python at my school and next year all my computers will have windows 7. I
also have a program called deep freeze that erases any files saved on a
computer including the desktop. This prevents viruses.
Mareen Cuomo

On Mon, Jun 4, 2012 at 7:53 PM, Maureen Cuomo <report@bugs.python.org>wrote:

>
> Maureen Cuomo <mcuomo@prestonhs.org> added the comment:
>
> Yes it looks like that. I Open a new window in python, type into the new
> window. I try to save it so I can run the program and I get the twirling
> circle until the dialog box come up saying pythow.exe has stopped working.
> Maureen Cuomo
>
> On Mon, Jun 4, 2012 at 4:39 PM, Ned Deily <report@bugs.python.org> wrote:
>
> >
> > Ned Deily <nad@acm.org> added the comment:
> >
> > It is still difficult to understand what problem you are seeing as others
> > are using IDLE from the 3.2.3 installers on Windows 7.  There is at least
> > one open issue in this area on Windows:
> http://bugs.python.org/issue12988.
> >  Does that describe what you are seeing?  If now, a few things to check:
> if
> > you get to the Save dialog, try choosing another folder to save to, ilke
> > Desktop; also, try a simple file name with ".py" at the end.  If that
> > doesn't help, please give a step-by-step procedure to reproduce the
> > problem, including what you see on the screen.
> >
> > ----------
> > components: +Windows
> >
> > _______________________________________
> > Python tracker <report@bugs.python.org>
> > <http://bugs.python.org/issue14996>
> > _______________________________________
> >
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue14996>
> _______________________________________
>
msg162315 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2012-06-05 00:33
Windows experts: any suggestions here?
msg162318 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2012-06-05 01:57
Maureen, I have saved and run a file from the Idle editor perhaps a thousand times over the years with multiple Python versions, including 3.2.3 (retried just now) on both Windows XP and Win7. (Note: on the General tab of the Preferences dialog, one can make saving automatic for named files.) Like many others, I have had no problems, so there is something peculiar about your system or installation. For us to be of any help, please provide the information Ned already requested.

1. Start "Python (command line)" from Start/3.2 menu.
2. Enter "from idlelib import idle" to start Idle.
3. Either open a new or existing file and make a change.
4. Try to save and tell us *exactly* the directory you are in and the filename you enter.
5. If Idle closes, does it just go 'poof' or is there a Windows error message box?
6. If there is a box, what does it say?
7. If there is a traceback, copy *all* of it and paste into a message here.

If you have to do anything different than the above to get an error, please be specific.
msg162327 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2012-06-05 04:53
Terry, I believe Maureen was confirming that this appeared to be the same problem as documented in Issue12988.  So does anyone have any idea what apparently causes this behavior on some systems and not others?
msg162333 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2012-06-05 07:37
#12988 was about saving specifically to a Win7 Explorer window sidebar 'library', and the OP report with 3.2.1. This is different from a normal path as you know it. Maureen said she cannot save 'any file' except to desktop and that the behavior changed from 3.2.1 to 3.2.3.

Maureen, if you reply by email, PLEASE trim everything except your reply.
msg162343 - (view) Author: Roger Serwy (roger.serwy) * (Python committer) Date: 2012-06-05 14:00
Issue12988 only has this problem on 64-bit Win 7. The 32-bit version works correctly. Maureen tried both versions and had the same problem.
msg162383 - (view) Author: Maureen Cuomo (mcuomo@prestonhs.org) Date: 2012-06-06 00:11
I have done some experimenting. I can save a file that I created on another
computer any place. It seems the only new files cannot be save in my usual
folder. I don't save in pyton32 folder. I have another folder to save in.

Maybe this will help
Maureen

On Tue, Jun 5, 2012 at 10:00 AM, Roger Serwy <report@bugs.python.org> wrote:

>
> Roger Serwy <roger.serwy@gmail.com> added the comment:
>
> Issue12988 only has this problem on 64-bit Win 7. The 32-bit version works
> correctly. Maureen tried both versions and had the same problem.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue14996>
> _______________________________________
>
msg162386 - (view) Author: Maureen Cuomo (mcuomo@prestonhs.org) Date: 2012-06-06 01:16
I was working on a project and by instinct did a save as with a new name.
It worked fine. So just to test things. I closed out of all python files,
opened idle, opened a new window, tried to save the new window and the
swirling circle came and then the message 'python has stopped working'.
Then everything closes.

Maybe this will help
Maureen

On Tue, Jun 5, 2012 at 8:11 PM, Maureen Cuomo <report@bugs.python.org>wrote:

>
> Maureen Cuomo <mcuomo@prestonhs.org> added the comment:
>
> I have done some experimenting. I can save a file that I created on another
> computer any place. It seems the only new files cannot be save in my usual
> folder. I don't save in pyton32 folder. I have another folder to save in.
>
> Maybe this will help
> Maureen
>
> On Tue, Jun 5, 2012 at 10:00 AM, Roger Serwy <report@bugs.python.org>
> wrote:
>
> >
> > Roger Serwy <roger.serwy@gmail.com> added the comment:
> >
> > Issue12988 only has this problem on 64-bit Win 7. The 32-bit version
> works
> > correctly. Maureen tried both versions and had the same problem.
> >
> > ----------
> >
> > _______________________________________
> > Python tracker <report@bugs.python.org>
> > <http://bugs.python.org/issue14996>
> > _______________________________________
> >
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue14996>
> _______________________________________
>
msg162389 - (view) Author: Roger Serwy (roger.serwy) * (Python committer) Date: 2012-06-06 03:04
Maureen, can you please start IDLE from a command prompt and report the error message?

Launch a command prompt, enter in "cd c:\python32" and then "python -m idlelib.idle". IDLE should appear. Proceed to save something that causes the crash. You should receive some feedback in the command prompt.
msg162434 - (view) Author: Maureen Cuomo (mcuomo@prestonhs.org) Date: 2012-06-07 00:35
I get a syntax error when I type this in. I attached a word doc with the
error screen
Maureen

On Tue, Jun 5, 2012 at 11:04 PM, Roger Serwy <report@bugs.python.org> wrote:

>
> Roger Serwy <roger.serwy@gmail.com> added the comment:
>
> Maureen, can you please start IDLE from a command prompt and report the
> error message?
>
> Launch a command prompt, enter in "cd c:\python32" and then "python -m
> idlelib.idle". IDLE should appear. Proceed to save something that causes
> the crash. You should receive some feedback in the command prompt.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue14996>
> _______________________________________
>
msg162435 - (view) Author: Roger Serwy (roger.serwy) * (Python committer) Date: 2012-06-07 00:38
You are already in a Python shell.  Type in "import idlelib.idle" to launch IDLE.
msg162436 - (view) Author: Maureen Cuomo (mcuomo@prestonhs.org) Date: 2012-06-07 00:48
OK. I did that. The idle window opened. I opened a new window to create a
file; save the file in my usual directory and the same thing happened. The
swirling circle and the message that python.exe has stopped working.
Maureen

On Wed, Jun 6, 2012 at 8:38 PM, Roger Serwy <report@bugs.python.org> wrote:

>
> Roger Serwy <roger.serwy@gmail.com> added the comment:
>
> You are already in a Python shell.  Type in "import idlelib.idle" to
> launch IDLE.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue14996>
> _______________________________________
>
msg162437 - (view) Author: Roger Serwy (roger.serwy) * (Python committer) Date: 2012-06-07 00:51
Did any messages appear in the Python shell?
msg162438 - (view) Author: Maureen Cuomo (mcuomo@prestonhs.org) Date: 2012-06-07 00:54
No. the window becomes 'faded' it is not reponding
Maureen

On Wed, Jun 6, 2012 at 8:51 PM, Roger Serwy <report@bugs.python.org> wrote:

>
> Roger Serwy <roger.serwy@gmail.com> added the comment:
>
> Did any messages appear in the Python shell?
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue14996>
> _______________________________________
>
msg162439 - (view) Author: Roger Serwy (roger.serwy) * (Python committer) Date: 2012-06-07 01:01
How are you using the open dialog to navigate to your usual directory?
msg162440 - (view) Author: Maureen Cuomo (mcuomo@prestonhs.org) Date: 2012-06-07 01:04
File , save as, libraries, documents - then I save the file there. No other
folder right now.
Maureen

On Wed, Jun 6, 2012 at 9:01 PM, Roger Serwy <report@bugs.python.org> wrote:

>
> Roger Serwy <roger.serwy@gmail.com> added the comment:
>
> How are you using the open dialog to navigate to your usual directory?
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue14996>
> _______________________________________
>
msg162442 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2012-06-07 01:21
> File , save as, libraries, documents - then I save the file there.

Ok, I agree now that this seems to be a duplicate of #12988
I will make a note there that another user had the same problem.
msg162443 - (view) Author: Maureen Cuomo (mcuomo@prestonhs.org) Date: 2012-06-07 01:25
So now what happens?
Maureen

On Wed, Jun 6, 2012 at 9:21 PM, Terry J. Reedy <report@bugs.python.org>wrote:

>
> Terry J. Reedy <tjreedy@udel.edu> added the comment:
>
> > File , save as, libraries, documents - then I save the file there.
>
> Ok, I agree now that this seems to be a duplicate of #12988
> I will make a note there that another user had the same problem.
>
> ----------
> resolution:  -> duplicate
> status: open -> closed
> superseder:  -> Tkinter File Dialog crashes on Win7 when saving to
> Documents Library
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue14996>
> _______________________________________
>
msg162444 - (view) Author: Roger Serwy (roger.serwy) * (Python committer) Date: 2012-06-07 01:36
Further discussion of this issue will be under Issue12988. We're working on finding a solution.
msg162446 - (view) Author: Roger Serwy (roger.serwy) * (Python committer) Date: 2012-06-07 01:43
Sorry for the re-open. I submitted an old form.
msg162447 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2012-06-07 02:01
Maureen, as I explain on #12988, I believe that this was a tcl/tk problem that was fixed by the recent release of version 8.5.11 (last March). The Windows installer for Python 3.3.0a4 release (a week ago) seems to have solved the problem for me. So give that a try.

Martin or anyone else: is the same tcl/tk upgrade going into future 3.2 and 2.7 releases?
msg162456 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2012-06-07 05:17
If it really fixes the bug, I can update the Tcl version. However, for that, I would need precise instructions on how to reproduce the bug.
msg162459 - (view) Author: Roger Serwy (roger.serwy) * (Python committer) Date: 2012-06-07 05:36
Precise instructions can be found in msg144106 and msg161168 from Issue12988.
History
Date User Action Args
2022-04-11 14:57:31adminsetgithub: 59201
2012-06-07 05:36:39roger.serwysetmessages: + msg162459
2012-06-07 05:17:01loewissetmessages: + msg162456
2012-06-07 02:01:38terry.reedysetmessages: + msg162447
2012-06-07 01:43:14roger.serwysetstatus: open -> closed
resolution: duplicate
messages: + msg162446
2012-06-07 01:36:50roger.serwysetstatus: closed -> open
resolution: duplicate -> (no value)
messages: + msg162444
2012-06-07 01:25:31mcuomo@prestonhs.orgsetmessages: + msg162443
2012-06-07 01:21:56terry.reedysetstatus: open -> closed
superseder: Tkinter File Dialog crashes on Win7 when saving to Documents Library
resolution: duplicate
messages: + msg162442
2012-06-07 01:04:20mcuomo@prestonhs.orgsetmessages: + msg162440
2012-06-07 01:01:24roger.serwysetmessages: + msg162439
2012-06-07 00:54:16mcuomo@prestonhs.orgsetmessages: + msg162438
2012-06-07 00:51:40roger.serwysetmessages: + msg162437
2012-06-07 00:48:16mcuomo@prestonhs.orgsetmessages: + msg162436
2012-06-07 00:38:47roger.serwysetmessages: + msg162435
2012-06-07 00:35:41mcuomo@prestonhs.orgsetfiles: + python error 6-6-12.docx

messages: + msg162434
2012-06-06 03:04:50roger.serwysetmessages: + msg162389
2012-06-06 01:16:12mcuomo@prestonhs.orgsetmessages: + msg162386
2012-06-06 00:11:34mcuomo@prestonhs.orgsetmessages: + msg162383
2012-06-05 14:00:44roger.serwysetmessages: + msg162343
2012-06-05 07:37:35terry.reedysetmessages: + msg162333
2012-06-05 04:53:50ned.deilysetmessages: + msg162327
2012-06-05 02:41:45roger.serwysetnosy: + roger.serwy
2012-06-05 01:57:29terry.reedysetmessages: + msg162318
2012-06-05 00:34:18ned.deilysettitle: Python 3.2.3 freezes when saving a .py program -> IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7
2012-06-05 00:33:16ned.deilysetnosy: + loewis, terry.reedy, brian.curtin
messages: + msg162315
2012-06-05 00:00:21mcuomo@prestonhs.orgsetmessages: + msg162314
2012-06-04 23:53:53mcuomo@prestonhs.orgsetmessages: + msg162311
2012-06-04 20:58:46ned.deilysetmessages: + msg162293
2012-06-04 20:39:06ned.deilysetmessages: + msg162290
components: + Windows
2012-06-04 11:52:18Ramchandra Aptesettitle: pthon 3.2.3 freezes when saving a .py program -> Python 3.2.3 freezes when saving a .py program
2012-06-04 11:32:32mcuomo@prestonhs.orgsetmessages: + msg162257
title: IDLE in Python 3.2.3 freezes when saving a .py program -> pthon 3.2.3 freezes when saving a .py program
2012-06-04 11:13:10Ramchandra Aptesetnosy: + Ramchandra Apte
messages: + msg162255
2012-06-04 11:10:40Ramchandra Aptesettitle: pthon 3.2.3 freezes when saving a .py program -> IDLE in Python 3.2.3 freezes when saving a .py program
2012-06-04 01:41:46ned.deilysetnosy: + ned.deily
messages: + msg162247
2012-06-04 01:14:54mcuomo@prestonhs.orgcreate