[New-bugs-announce] [issue31284] IDLE: Fix WindowList invalid command name error when running tests

Cheryl Sabella report at bugs.python.org
Sat Aug 26 12:55:38 EDT 2017


New submission from Cheryl Sabella:

When running tests that use an EditorWindow, the following warning message occurs:

warning: callback failed in WindowList <class '_tkinter.TclError'> : invalid command name ".!menu.windows"

This warning comes from `call_callbacks` in WindowsList in windows.py when the callback is `postwindowsmenu()` from editor, which is set for the `windows` menu.  The line `end = menu.index("end")` is the line that fails.

----------
assignee: terry.reedy
components: IDLE
messages: 300885
nosy: csabella, terry.reedy
priority: normal
severity: normal
status: open
title: IDLE: Fix WindowList invalid command name error when running tests
type: enhancement
versions: Python 3.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31284>
_______________________________________


More information about the New-bugs-announce mailing list