This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Idle-python 3.8

Tags: None
(comma "," separated)
lmontalvanr
Registered Member
Posts
2
Karma
0

Idle-python 3.8

Wed Oct 14, 2020 9:52 pm
Hi.

I was using idle-python3.8, but after the update of plasma 5.20, the idle don't work.

In the cli show the next error:

Code: Select all
Traceback (most recent call last):
  File "/usr/bin/idle-python3.8", line 5, in <module>
    main()
  File "/usr/lib/python3.8/idlelib/pyshell.py", line 1477, in main
    root = Tk(className="Idle")
  File "/usr/lib/python3.8/tkinter/__init__.py", line 2261, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: unknown color name "BACKGROUND"
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 153, in apport_excepthook
    with os.fdopen(os.open(pr_filename,
FileNotFoundError: [Errno 2] No such file or directory: '/var/crash/_usr_bin_idle-python3.8.1000.crash'

Original exception was:
Traceback (most recent call last):
  File "/usr/bin/idle-python3.8", line 5, in <module>
    main()
  File "/usr/lib/python3.8/idlelib/pyshell.py", line 1477, in main
    root = Tk(className="Idle")
  File "/usr/lib/python3.8/tkinter/__init__.py", line 2261, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: unknown color name "BACKGROUND"


I don't understand what that error refers to.

I hope you can help me.
lmontalvanr
Registered Member
Posts
2
Karma
0

Re: Idle-python 3.8  Topic is solved

Sat Oct 17, 2020 12:13 am
I found the solution.

Looks like a kde Neon (Plasma 5.20) bug affecting TK gui applications. Clearing out the X resources fixes the problem:

$ xrdb -load /dev/null
$ xrdb -query


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell