[issue28658] IDLE: catch user cfg file error and improve error message

2016-11-11 Thread Andrew Kontokanis
Andrew Kontokanis added the comment: Thank you very much. The actual problem was that on copy paste it made an alias and not a real copy of the file that you mentioned. So It really helped me to solve the problem. -- ___ Python tracker

[issue28658] IDLE: catch user cfg file error and improve error message

2016-11-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is effectively a duplicate of #21973. In both issues, an error in the file causes an exception that is not caught, but should be. -- resolution: -> duplicate stage: test needed -> resolved status: open -> closed superseder: -> Idle should not qu

[issue28658] IDLE: catch user cfg file error and improve error message

2016-11-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: The exception message says that your problem is a bad byte in one of the config files. The most likely culprit is the one you edited, which I presume is ~/.idlerc/config-highlight.cfg. "Invalid start byte' suggests that it tried to decode as utf-8, but you u