[New-bugs-announce] [issue26673] Tkinter error when opening IDLE configuration menu

wysaard report at bugs.python.org
Wed Mar 30 11:32:00 EDT 2016

New submission from wysaard:

I'm using Python 3.5.1 on Arch Linux. I've restalled the python package which provides IDLE, and the tkinter package which is used by IDLE, but to no effect.

My problem is this: When in the menu at the top in IDLE, I click on Options -> Configure IDLE, the menu will stop responding, and nothing happens after that.

Doing this when I run IDLE in a terminal provides the following error on clicking `Configure IDLE`:

Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python3.5/tkinter/__init__.py", line 1549, in __call__
    return self.func(*args)
  File "/usr/lib/python3.5/idlelib/EditorWindow.py", line 516, in config_dialog
  File "/usr/lib/python3.5/idlelib/configDialog.py", line 74, in __init__
  File "/usr/lib/python3.5/idlelib/configDialog.py", line 1086, in LoadConfigs
  File "/usr/lib/python3.5/idlelib/configDialog.py", line 988, in LoadFontCfg
  File "/usr/lib/python3.5/idlelib/configDialog.py", line 866, in SetFontSample
  File "/usr/lib/python3.5/tkinter/__init__.py", line 1330, in configure
    return self._configure('configure', cnf, kw)
  File "/usr/lib/python3.5/tkinter/__init__.py", line 1321, in _configure
    self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
_tkinter.TclError: expected integer but got ""

I have no idea what to do here.

components: IDLE
messages: 262670
nosy: wysaard
priority: normal
severity: normal
status: open
title: Tkinter error when opening IDLE configuration menu
type: crash
versions: Python 3.5

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list