This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients serhiy.storchaka, terry.reedy
Date 2014-02-28.00:06:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
After the fix for #20567, running test_idle and then test_ttk_guionly works, but running either after itself does not. Example command and output, which is same running with installed 3.4.0rc1 (Feb 11) or fresh debug build.

F:\Python\dev> 4\py34\pcbuild\python_d.exe -m test -ugui test_ttk_guionly test_ttk_guionly
[1/2] test_ttk_guionly
Warning -- os.environ was modified by test_ttk_guionly
[2/2] test_ttk_guionly
test test_ttk_guionly crashed -- Traceback (most recent call last):
  File "F:\Python\dev\4\py34\lib\test\", line 35, in test_main
    *runtktests.get_tests(text=False, packages=['test_ttk']))
  File "F:\Python\dev\4\py34\lib\test\support\", line 1719, in run_unittest
  File "F:\Python\dev\4\py34\lib\test\support\", line 1694, in _run_suite
    raise TestFailed(err) multiple errors occurred; run in verbose mode for details

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "F:\Python\dev\4\py34\lib\test\", line 1278, in runtest_inner
  File "F:\Python\dev\4\py34\lib\test\", line 37, in test_main
  File "F:\Python\dev\4\py34\lib\tkinter\test\", line 60, in get_tk_root
    root = tkinter.Tk()
  File "F:\Python\dev\4\py34\lib\tkinter\", line 1807, in __init__ = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: Can't find a usable init.tcl in the following directories:
    F:/Python/dev/4/py34/lib/tcl8.6 F:/Python/dev/4/py34/lib/tcl8.6 F:/Python/dev/4/lib/tcl8.6 F:/Python/dev/4/py34/library F:/Python/dev/4/library F:/Python/dev/4/tcl8.6.1/library F:/Python/dev/tcl8.6.1/library

init.tcl *is* in 4/tcl8.6.1.0/library and 4/tcltk/tcl8.6/lib. I believe it is usually found in the latter.

This might be Windows only.
Date User Action Args
2014-02-28 00:06:01terry.reedysetrecipients: + terry.reedy, serhiy.storchaka
2014-02-28 00:06:01terry.reedysetmessageid: <>
2014-02-28 00:06:01terry.reedylinkissue20800 messages
2014-02-28 00:06:00terry.reedycreate