[Bug 1574892] Re: IDLE 3.5.1+ runtime error on Options -> Configure IDLE

André S. 1574892 at bugs.launchpad.net
Wed May 4 09:00:36 UTC 2016


I see the same error when using IDLE for _Python 2.7_ when trying to open Options -> Configure IDLE:
$ idle
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1540, in __call__
    return self.func(*args)
  File "/usr/lib/python2.7/idlelib/EditorWindow.py", line 543, in config_dialog
    configDialog.ConfigDialog(self.top,'Settings')
  File "/usr/lib/python2.7/idlelib/configDialog.py", line 72, in __init__
    self.LoadConfigs()
  File "/usr/lib/python2.7/idlelib/configDialog.py", line 1103, in LoadConfigs
    self.LoadFontCfg()
  File "/usr/lib/python2.7/idlelib/configDialog.py", line 1005, in LoadFontCfg
    self.SetFontSample()
  File "/usr/lib/python2.7/idlelib/configDialog.py", line 883, in SetFontSample
    self.labelFontSample.config(font=newFont)
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1329, in configure
    return self._configure('configure', cnf, kw)
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1320, in _configure
    self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
TclError: expected integer but got ""
$ idle
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1540, in __call__
    return self.func(*args)
  File "/usr/lib/python2.7/idlelib/EditorWindow.py", line 543, in config_dialog
    configDialog.ConfigDialog(self.top,'Settings')
  File "/usr/lib/python2.7/idlelib/configDialog.py", line 72, in __init__
    self.LoadConfigs()
  File "/usr/lib/python2.7/idlelib/configDialog.py", line 1103, in LoadConfigs
    self.LoadFontCfg()
  File "/usr/lib/python2.7/idlelib/configDialog.py", line 1005, in LoadFontCfg
    self.SetFontSample()
  File "/usr/lib/python2.7/idlelib/configDialog.py", line 883, in SetFontSample
    self.labelFontSample.config(font=newFont)
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1329, in configure
    return self._configure('configure', cnf, kw)
  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 1320, in _configure
    self.tk.call(_flatten((self._w, cmd)) + self._options(cnf))
TclError: expected integer but got ""

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1574892

Title:
  IDLE 3.5.1+ runtime error on Options -> Configure IDLE

Status in python3-defaults package in Ubuntu:
  Confirmed

Bug description:
  Open IDLE for Python 3 on Ubuntu 16.04 (idle3 3.5.1-3) and click Options -> Configure IDLE.
  The menus of IDLE stop responding and the terminal shows the following message:

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1574892/+subscriptions



More information about the foundations-bugs mailing list