473,326 Members | 2,655 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

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\<UserName>\.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
Jul 18 '05 #1
1 2095
On 1 Jun 2004 22:57:11 -0700, kl*******@home.com (Kamilche) wrote:
IDLE worked fine, up until I got bold and tried to set a key binding.


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
Jul 18 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: M Wells | last post by:
Hi all, I recently downloaded and installed Python 2.3 for Windows (on XP professional) and I don't seem to be able to run IDLE from my start menu? It seems something happens when I click on it...
0
by: Dave | last post by:
I just downloaded the new rpm's for Python2.3.2, from http://www.python.org/2.3.2/rpms.html and installed all five on my Redhat 9 system. As expected, this leaves the existing Python2.2 in place...
16
by: Kerry Neilson | last post by:
For the past couple of months, Idle won't start when I invoke it. I am at a complete loss for why this is. When this happens, they python command line still starts, and python works fine...
0
by: Brian van den Broek | last post by:
Hi all, IDLE refuses to launch, and I believe it is because I attempted to define a custom key-binding that it doesn't like. I was recently defining a custom keybinding in IDLE 1.1 under...
18
by: bobueland | last post by:
IDLE doesn't seem to honor PYTHONSTARTUP environment variable nor sitecustomize.py How do you then customize in IDLE? (basically I want to execute the statement from btools import * each...
6
by: MrBlueSky | last post by:
Hi, I'm trying to use IDLE to develop My First Python App and my head hurts... I've a file called spalvi.py with this in it: from Test import * firstTest("Mike") And a file called Test.py...
3
by: Rob | last post by:
I have Python 2.4.3 installed on Windows XP on both a real computer and a virtual machine under VMware. Just recently, IDLE stopped working. I would select IDLE from the start menu or right click...
6
by: John (Z R) L | last post by:
Hi all, I am very new to programming, and I chose to study the Python language before C++. I am currently using the Wikibooks "Non-Programmer's Tutorial for Python", and am up to the section "Who...
3
by: W. Watson | last post by:
After simply trying to write a program with help(MakeQTE), a module, and having it fail with socket errors, I decided to restart IDLE, thinking I knew the cause. I'm now getting msgs like: "IDLE's...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.