Skip to content

IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7 #59201

Closed

Description

@mcuomoprestonhsorg
BPO 14996
Nosy @loewis, @terryjreedy, @ned-deily, @serwy, @briancurtin
Superseder
  • bpo-12988: Tkinter File Dialog crashes on Win7 when saving to Documents Library
  • Files
  • python error 6-6-12.docx
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = None
    closed_at = <Date 2012-06-07.01:43:14.148>
    created_at = <Date 2012-06-04.01:14:54.415>
    labels = ['expert-IDLE', 'OS-windows', 'type-crash']
    title = 'IDLE 3.2.3 crashes saving a .py file to certain folders on Windows 7'
    updated_at = <Date 2012-06-07.05:36:39.593>
    user = 'https://bugs.python.org/mcuomoprestonhsorg'

    bugs.python.org fields:

    activity = <Date 2012-06-07.05:36:39.593>
    actor = 'roger.serwy'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-06-07.01:43:14.148>
    closer = 'roger.serwy'
    components = ['IDLE', 'Windows']
    creation = <Date 2012-06-04.01:14:54.415>
    creator = 'mcuomo@prestonhs.org'
    dependencies = []
    files = ['25852']
    hgrepos = []
    issue_num = 14996
    keywords = []
    message_count = 30.0
    messages = ['162243', '162247', '162255', '162257', '162290', '162293', '162311', '162314', '162315', '162318', '162327', '162333', '162343', '162383', '162386', '162389', '162434', '162435', '162436', '162437', '162438', '162439', '162440', '162442', '162443', '162444', '162446', '162447', '162456', '162459']
    nosy_count = 7.0
    nosy_names = ['loewis', 'terry.reedy', 'ned.deily', 'roger.serwy', 'brian.curtin', 'Ramchandra Apte', 'mcuomo@prestonhs.org']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = None
    status = 'closed'
    superseder = '12988'
    type = 'crash'
    url = 'https://bugs.python.org/issue14996'
    versions = ['Python 3.2']

    Activity

    1. changed the title [-]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[/+] on Jun 5, 2012
    2. terryjreedy commented on Jun 5, 2012

      @terryjreedy
      Member

      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.

    3. ned-deily commented on Jun 5, 2012

      @ned-deily
      Member

      Terry, I believe Maureen was confirming that this appeared to be the same problem as documented in bpo-12988. So does anyone have any idea what apparently causes this behavior on some systems and not others?

    4. terryjreedy commented on Jun 5, 2012

      @terryjreedy
      Member

      bpo-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.

    5. serwy commented on Jun 5, 2012

      serwymannequin
      Mannequin

      bpo-12988 only has this problem on 64-bit Win 7. The 32-bit version works correctly. Maureen tried both versions and had the same problem.

    6. mcuomoprestonhsorg commented on Jun 6, 2012

      mcuomoprestonhsorgmannequin
      MannequinAuthor

      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:

      bpo-12988 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\>


    7. mcuomoprestonhsorg commented on Jun 6, 2012

      mcuomoprestonhsorgmannequin
      MannequinAuthor

      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:
      >
      > bpo-12988 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\>


    8. serwy commented on Jun 6, 2012

      serwymannequin
      Mannequin

      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.

    9. mcuomoprestonhsorg commented on Jun 7, 2012

      mcuomoprestonhsorgmannequin
      MannequinAuthor

      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\>


    10. serwy commented on Jun 7, 2012

      serwymannequin
      Mannequin

      You are already in a Python shell. Type in "import idlelib.idle" to launch IDLE.

    11. mcuomoprestonhsorg commented on Jun 7, 2012

      mcuomoprestonhsorgmannequin
      MannequinAuthor

      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\>


    12. serwy commented on Jun 7, 2012

      serwymannequin
      Mannequin

      Did any messages appear in the Python shell?

    13. mcuomoprestonhsorg commented on Jun 7, 2012

      mcuomoprestonhsorgmannequin
      MannequinAuthor

      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\>


    14. serwy commented on Jun 7, 2012

      serwymannequin
      Mannequin

      How are you using the open dialog to navigate to your usual directory?

    15. mcuomoprestonhsorg commented on Jun 7, 2012

      mcuomoprestonhsorgmannequin
      MannequinAuthor

      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\>


    16. terryjreedy commented on Jun 7, 2012

      @terryjreedy
      Member

      File , save as, libraries, documents - then I save the file there.

      Ok, I agree now that this seems to be a duplicate of bpo-12988
      I will make a note there that another user had the same problem.

    17. mcuomoprestonhsorg commented on Jun 7, 2012

      mcuomoprestonhsorgmannequin
      MannequinAuthor

      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 bpo-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\>


    18. serwy commented on Jun 7, 2012

      serwymannequin
      Mannequin

      Further discussion of this issue will be under bpo-12988. We're working on finding a solution.

    19. reopened this on Jun 7, 2012
    20. serwy commented on Jun 7, 2012

      serwymannequin
      Mannequin

      Sorry for the re-open. I submitted an old form.

    21. terryjreedy commented on Jun 7, 2012

      @terryjreedy
      Member

      Maureen, as I explain on bpo-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?

    22. loewis commented on Jun 7, 2012

      loewismannequin
      Mannequin

      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.

    23. serwy commented on Jun 7, 2012

      serwymannequin
      Mannequin

      Precise instructions can be found in msg144106 and msg161168 from bpo-12988.

    24. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions