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.

Author terry.reedy
Recipients SilentGhost, Tomk, kbk, roger.serwy, terry.reedy
Date 2014-07-13.18:32:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405276358.47.0.863297616339.issue21973@psf.upfronthosting.co.za>
In-reply-to
Content
Explanation: there are a few config-xy files in lib/idlelib that contain default configuration values. Custom values for a particular user, which override the defaults, are kept in a .idlerc directory placed in a users home directory (here C:/users/Tomk).  Config-main and config-keys are edited by Idle in response to entries in the preferences/options dialog. Any can be edited by hand.

Since Idle can work without these files, I consider it a bug that it quits when there is a bad one. Instead of raising an uncaught exception, it should display a warning message and continue*. It could also offer to delete or rename the file so the message does not reappear the next time Idle is started.

* (Note to myself) This could be done either by replacing the raise statement or by catching the exception further up the call chain, where other errors could be caught too, and all turned into warnings.

We are actively working on improving the error handling for config-keys, but I don't know if there is an issue for this particular error. So I am re-opening this issue until this problem is fixed or I know that this is a duplicate report. 

Thomas, thank you for the report, and in particular for the full traceback. when you reply by email, please delete the message you are responding to except possibly for a line or two that you need to quote. When viewed on the site, your response is placed just beneath the previous one, so bulk quoting is redundant.
History
Date User Action Args
2014-07-13 18:32:38terry.reedysetrecipients: + terry.reedy, kbk, roger.serwy, SilentGhost, Tomk
2014-07-13 18:32:38terry.reedysetmessageid: <1405276358.47.0.863297616339.issue21973@psf.upfronthosting.co.za>
2014-07-13 18:32:38terry.reedylinkissue21973 messages
2014-07-13 18:32:37terry.reedycreate