[issue26673] Tkinter error when opening IDLE configuration menu

2016-04-02 Thread wysaard

wysaard added the comment:

For some reason the freshly downloaded files have this problem too. If I remove 
my config-main.def and let my package manager get a new one it breaks again. I 
don't really know the implications of this; is this just a problem with my 
particular setup or does this mean that maybe the file in the package is 
invalid?

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26673>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26673] Tkinter error when opening IDLE configuration menu

2016-04-01 Thread wysaard

wysaard added the comment:

I just fixed this problem.

In my ~/.idlerc/ folder there was no `config-main.cfg` so I created it and used 
the settings found here: 
https://svn.python.org/projects/python/trunk/Mac/IDLE/config-main.def

After doing that everything worked fine again.

I'm not sure where this bug came from though, whether it's my package manager, 
or some bug in IDLE itself that created this problem; I also don't know if this 
is normal behavior for a missing config file; so I do n't know whether to close 
this or not, so I'll leave that to you.

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26673>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26673] Tkinter error when opening IDLE configuration menu

2016-04-01 Thread wysaard

wysaard added the comment:

In the screen of `About IDLE` it shows "Tk version 8.6.4".
It used to work, as least since last september (when I installed this) I've had 
no problems. I assumed reinstalling would solve it but that did nothing. I've 
removed the entire python package, made my package manager download a fresh 
version and install it from scratch, and did the same with Tk.

Trying to find any related bug reports on the Arch Linux bug tracker I found 
something linking to this (open) issue: https://bugs.python.org/issue24951
I'm not sure the cause is exactly the same,  but the traceback is near 
identical.

It seems to have something to do with a config file. Maybe there's something 
broken in there, or perhaps a something is missing?
A broken config file would be weird as reinstalling doesn't fix anything, 
unless my package manager doesn't remove the config file when uninstalling the 
package, which isn't impossible either.

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26673>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26673] Tkinter error when opening IDLE configuration menu

2016-04-01 Thread wysaard

wysaard added the comment:

I'm having the problem if I'm running idle with Python 2.7.11 too.

--

___
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26673>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26673] Tkinter error when opening IDLE configuration menu

2016-03-30 Thread wysaard

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
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 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 <rep...@bugs.python.org>
<http://bugs.python.org/issue26673>
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com