[issue20567] test_idle causes test_ttk_guionly 'can't invoke "event" command: application has been destroyed' messages from Tk

2016-06-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Because I copied from 2.7, which had not been corrected from what I wrote years ago before we started being more consistent and correct. Fixed in all 3 versions. -- ___ Python tracker

[issue20567] test_idle causes test_ttk_guionly 'can't invoke "event" command: application has been destroyed' messages from Tk

2016-06-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: -To avoid interfering with other GUI tests, all GUI objects must be +To avoid interfering with other gui tests, all gui objects must be destroyed and Why "gui" is in lower case? -- ___ Python tracker

[issue20567] test_idle causes test_ttk_guionly 'can't invoke "event" command: application has been destroyed' messages from Tk

2016-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Using update_idletasks msg229182 is #27196; it succeeded in stopping ThemeChanged warnings. Using 'no-default-root' msg229201 is #24137. -- ___ Python tracker

[issue20567] test_idle causes test_ttk_guionly 'can't invoke "event" command: application has been destroyed' messages from Tk

2016-06-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed stage: needs patch -> resolved status: open -> closed versions: +Python 3.6 ___ Python tracker

[issue20567] test_idle causes test_ttk_guionly 'can't invoke "event" command: application has been destroyed' messages from Tk

2016-06-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 813bb6a4c693 by Terry Jan Reedy in branch '3.5': Issue 20567: Revise idle_test/README.txt and some tests to match new advice. https://hg.python.org/cpython/rev/813bb6a4c693 New changeset d8e5e3da4d57 by Terry Jan Reedy in branch 'default': Issue

[issue20567] test_idle causes test_ttk_guionly 'can't invoke "event" command: application has been destroyed' messages from Tk

2016-06-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: This and the followup for 3.x full the TODOs in msg219528, revise README.txt, and in msg221467, change delete order to match new advice. This issue was about conflict between test_idle and test_ttk-guionly and that has apparently been solved. After the 3.x

[issue20567] test_idle causes test_ttk_guionly 'can't invoke "event" command: application has been destroyed' messages from Tk

2016-06-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 8090931ba850 by Terry Jan Reedy in branch '2.7': Issue 20567: Revise idle_test/README.txt and some tests to match new advice. https://hg.python.org/cpython/rev/8090931ba850 -- ___ Python tracker

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-10-13 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: You left this issue number off your tkinter test updates, such as f6f098bdb843. This is minor change. Actually, it should be done yet in issue22236, I had just missed it, because these warnings was produced only in 2.7. By using .update_idletasks instead

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-10-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: These messages are produced because there are non-handled events of destroyed root widget. They are handled when update() is called for other root widget. To get rid of them you should call update_idletasks() before destroying root widget. --

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-10-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: You left this issue number off your tkinter test updates, such as f6f098bdb843. By using .update_idletasks instead of .update, are you assuming that their are no user events, or that they should be ignormed? I was wondering whether it would be Ok, if not a

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-09-01 Thread Andrea Torre
Andrea Torre added the comment: Ubuntu 12.04 64-bit Python 2.7.3 (virtualenv) Hi, just adding a few info, hope not completely useless, that seem related to the issue. I got the same message when running nosetests against my source. It's an application using Tkinter as frontend. All tests

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-09-01 Thread Terry J. Reedy
Changes by Terry J. Reedy tjre...@udel.edu: -- versions: +Python 3.4, Python 3.5 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20567 ___ ___

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-06-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I recently saw the same message when developing an individual idle_test module on repository debug builds even though all class attributes were being deleted. One was an Idle EditorWindow. I solved the problem by deleting the class attributes other than root

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Probably still need to add note to idle_test/README.txt. -- stage: commit review - needs patch versions: +Python 3.5 -Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20567

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-02-27 Thread Roundup Robot
Roundup Robot added the comment: New changeset 43c4073cb2e2 by Terry Jan Reedy in branch '2.7': Issue #20567: Delete class attribute gui widgets in idle tests. http://hg.python.org/cpython/rev/43c4073cb2e2 New changeset daf44eb9c54e by Terry Jan Reedy in branch '3.3': Issue #20567: Delete class

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-02-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: There is also a different test problem that might be related to the altered environment. See #20800 -- stage: needs patch - commit review ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20567

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-02-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Patch fixes problem on 3.3. I need to test 2.7 and add a note to idle_test/README that class widget attributes must be deleted because module may not be deleted, at least for a while. -- assignee: - terry.reedy

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-02-09 Thread Ned Deily
Ned Deily added the comment: The combination of just test_idle followed by test_ttk_guionly also produces the application has been destroyed messages on Debian Linux and when run from a build directory (e.g. not installed) and with 2.7, 3.3, and default. -- title: test_ttk_guionly

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-02-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- components: +IDLE nosy: +kbk, roger.serwy, terry.reedy type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20567 ___

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, do you actually *see* this on 2.7, 3.3? The message looks suspiciously like the somewhat strange 3.4-only shutdown message suppressed by #20167. -- ___ Python tracker rep...@bugs.python.org

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-02-09 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is a patch which fixes symptoms. Maybe we'll find better solution. These messages are produced when the ttk::ThemeChanged command called from a callback for already destroyed Tk root window. -- keywords: +patch Added file:

[issue20567] test_idle causes test_ttk_guionly 'can't invoke event command: application has been destroyed' messages from Tk

2014-02-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Running just the two tests fails on windows also, with all three versions. For 2.7, test_ttk_guionly is skipped with test_ttk_guionly skipped -- tk not available: Can't find a usable init.tcl in the following directories:. This in spite of the fact that the