FS#46991 - [python] Idle throws exception when trying to set options
Attached to Project:
Arch Linux
Opened by Alan Moore (lykwydchykyn) - Friday, 06 November 2015, 23:03 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 05 November 2019, 11:33 GMT
Opened by Alan Moore (lykwydchykyn) - Friday, 06 November 2015, 23:03 GMT
Last edited by Jan de Groot (JGC) - Tuesday, 05 November 2019, 11:33 GMT
|
Details
Description:
IDLE throws an exception when I select "Options-> Configure IDLE". After this, the menu is unresponsive. Additional info: This is a Traceback of the exception: 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 537, in config_dialog configDialog.ConfigDialog(self.top,'Settings') File "/usr/lib/python3.5/idlelib/configDialog.py", line 71, in __init__ self.LoadConfigs() File "/usr/lib/python3.5/idlelib/configDialog.py", line 1078, in LoadConfigs self.LoadFontCfg() File "/usr/lib/python3.5/idlelib/configDialog.py", line 980, in LoadFontCfg self.SetFontSample() File "/usr/lib/python3.5/idlelib/configDialog.py", line 858, in SetFontSample self.labelFontSample.config(font=newFont) 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 "" Steps to reproduce: 1. Open IDLE 2. Select "Options=>Configure IDLE" |
This task depends upon
You can open idle2, make some changes for font and font size, and save that changes. It will create the file I mentioned above.
Fortunately or not, both idle and idle2 use the same user config file.
http://pastebin.com/hAWuPkYt