idle: Options -> Configure IDLE crashes with TclError: expected integer but got ""

Bug #1598673 reported by Etienne Papegnies on 2016-07-04
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-defaults (Ubuntu)

Bug Description

ouroumov@Box:~/Desktop$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04 LTS
Release: 16.04
Codename: xenial

ouroumov@Box:~/Desktop$ apt-cache policy idle
  Installed: 2.7.11-1
  Candidate: 2.7.11-1
  Version table:
 *** 2.7.11-1 500
        500 xenial/main amd64 Packages
        500 xenial/main i386 Packages
        100 /var/lib/dpkg/status

Expected behavior:

After opening IDLE from the terminal by typing "idle", going to Options -> Configure should open the configuration window.

Actual Behavior:

Terminal shows a Python Traceback and nothing happens.

ouroumov@Box:~/Desktop$ idle
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.7/lib-tk/", line 1540, in __call__
    return self.func(*args)
  File "/usr/lib/python2.7/idlelib/", line 543, in config_dialog
  File "/usr/lib/python2.7/idlelib/", line 72, in __init__
  File "/usr/lib/python2.7/idlelib/", line 1103, in LoadConfigs
  File "/usr/lib/python2.7/idlelib/", line 1005, in LoadFontCfg
  File "/usr/lib/python2.7/idlelib/", line 883, in SetFontSample
  File "/usr/lib/python2.7/lib-tk/", line 1329, in configure
    return self._configure('configure', cnf, kw)
  File "/usr/lib/python2.7/lib-tk/", line 1320, in _configure, cmd)) + self._options(cnf))
TclError: expected integer but got ""

Additional information:

Also affects idle3 binary.

Ubuntu MATE 16.04 fully up to date as of 2016-07-04

tags: added: python xenial
tags: added: ubuntu-mate
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in python-defaults (Ubuntu):
status: New → Confirmed
Changed in python-defaults (Ubuntu):
importance: Undecided → High
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers