View Issue Details

IDProjectCategoryView StatusLast Update
0007324Kali LinuxTool Upgrade Requestpublic2021-09-14 07:19
ReporterhummAPT0 Assigned Tosbrun  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2021.2 
Summary0007324: IDLE_3.9.2-3 doesn't support new Python3.9.7 so; idle_3.9.2-3 and python3-tk(3.9.2-3) should be upgraded to support python3.9.7
Description

After upgrading python3.9.2-3 to python3.9.7; idle-3.9.2-3 doesn't run then it shows error as

"ImportError: cannot import name '_setup_dialog' from 'tkinter.simpledialog' (/usr/lib/python3.9/tkinter/simpledialog.py)"

and I investigated the detail ,it's depends on python3-tk (3.9.7-2) but in Kali repository there is only python3-tk (3.9.2-3) available. But in the original tkinter repo there is python3-tk (3.9.7-2) already available.

Hope issue will be solved soon.
Thank you.
Humm Doc

Steps To Reproduce
  1. Upgrade the Kali system, sudo apt update & sudo apt -y upgrade
  2. run 'idle'
    it will show this:

└─$ idle
Traceback (most recent call last):
File "/usr/bin/idle", line 3, in <module>
from idlelib.pyshell import main
File "/usr/lib/python3.9/idlelib/pyshell.py", line 53, in <module>
from idlelib.editor import EditorWindow, fixwordbreaks
File "/usr/lib/python3.9/idlelib/editor.py", line 19, in <module>
from idlelib import configdialog
File "/usr/lib/python3.9/idlelib/configdialog.py", line 27, in <module>
from idlelib.config_key import GetKeysDialog
File "/usr/lib/python3.9/idlelib/config_key.py", line 7, in <module>
from tkinter.simpledialog import _setup_dialog
ImportError: cannot import name '_setup_dialog' from 'tkinter.simpledialog' (/usr/lib/python3.9/tkinter/simpledialog.py)

Attached Files
idle.png (72,392 bytes)   
idle.png (72,392 bytes)   

Activities

hummAPT0

hummAPT0

2021-09-14 04:47

reporter   ~0015098

Currently issue has been solved for temporary by installing python3.9-tk (3.9.7-1) version from http://ftp.br.debian.org/debian/pool/main/p/python3-stdlib-extensions/python3-tk_3.9.7-1_amd64.deb. Hope it will come in Kali repo by solving the issue.

idle-2.png (46,924 bytes)   
idle-2.png (46,924 bytes)   
sbrun

sbrun

2021-09-14 07:18

manager   ~0015099

python3-tk version 3.9.7-1 is now in kali-rolling (the update on all Kali mirrors can take a few hours)
It fixes this issue.

Issue History

Date Modified Username Field Change
2021-09-10 11:15 hummAPT0 New Issue
2021-09-10 11:15 hummAPT0 Status new => assigned
2021-09-10 11:15 hummAPT0 Assigned To => sbrun
2021-09-10 11:15 hummAPT0 File Added: idle.png
2021-09-13 21:10 g0tmi1k Severity crash => minor
2021-09-13 21:10 g0tmi1k Description Updated
2021-09-13 21:10 g0tmi1k Steps to Reproduce Updated
2021-09-13 21:10 g0tmi1k Priority immediate => normal
2021-09-14 04:47 hummAPT0 File Added: idle-2.png
2021-09-14 04:47 hummAPT0 Note Added: 0015098
2021-09-14 07:18 sbrun Note Added: 0015099
2021-09-14 07:19 sbrun Status assigned => resolved
2021-09-14 07:19 sbrun Resolution open => fixed