Broken settings of idle (Python IDE)

Hello community,
I have met problem which I made by myself, but now can’t repair this.
I was installing idle (python ide) and when app was launched changed background color, and now when I try to run idle I get this:

Traceback (most recent call last):
File “/usr/bin/idle”, line 5, in
File “/usr/lib/python3.9/idlelib/”, line 1477, in main
root = Tk(className=“Idle”)
File “/usr/lib/python3.9/tkinter/”, line 2262, in init = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: unknown color name “[97]#282a36

I think main problem lies in this → [97] which is for transparency.
How repair this color?

I found settings of idle in ~/.idlerc/config-main.cfg but there is nothing helpfull there. Deleting this file wont help neither.

Answering my own question :slight_smile:

When found problem described above I’ve searched some clues for two days, and without success I decided to write here.
Few moments after posting this question I’ve noticed something. This color name isn’t saved in any idle config file. It is from ~/.Xresources file.
And I was right, when removed [97] my problem disappeared :sunglasses:

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.