Idle Won't Start - Solution

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Kamilche

    Idle Won't Start - Solution

    I had a problem starting IDLE today, and managed to fix it. I'm
    posting this for future reference.

    IDLE worked fine, up until I got bold and tried to set a key binding.
    When attempting to set the 'dedent region' keystring to shift-tab, the
    shell printed an error. Past that point, IDLE wouldn't start up. I
    deinstalled and reinstalled Python various times using various
    options, cleaned out the registry, and scoured the Internet. I had the
    latest versions of TCL and TKinter, and didn't have that DLL mismatch
    some were talking about. Attempting to run the idle.py script directly
    inside of python, resulted in a TCLError "bad event type or keysym
    'tab'" message.

    Finally, I discovered that IDLE saves some configuration files in the
    Documents and Settings folder, under your user id! Delete the
    'config-keys.cfg' and 'config-main.cfg' files in the 'C:\Documents and
    Settings\<UserN ame>\.idlerc' folder, and it will start working again.

    Yeesh! If it can't handle setting keyboard shortcuts, it shouldn't
    SAVE a corrupt file after failing!

    --Kamilche
  • Franz Steinhaeusler

    #2
    Re: Idle Won't Start - Solution

    On 1 Jun 2004 22:57:11 -0700, klachemin@home. com (Kamilche) wrote:
    [color=blue]
    >IDLE worked fine, up until I got bold and tried to set a key binding.[/color]

    The same happened to me (Win Xp).
    I changed a key binding, and the next time,
    I wanted to start idle, it crashed.

    I than deleted C:\.idlerc and then, everything was ok again.

    --
    Franz Steinhaeusler

    Comment

    Working...