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 JayKrish, Todd.Rovito, ncoghlan, philwebster, python-dev, r.david.murray, terry.reedy
Date 2013-07-13.05:04:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373691882.0.0.387175410111.issue18365@psf.upfronthosting.co.za>
In-reply-to
Content
Well, that is annoying. I expected 2.7 failures due to mistakes already corrected, but not with 3.x, and these look to be the latter.

======================================================================
ERROR: setUpClass (idlelib.idle_test.test_text.TkTextTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/buildbot/buildarea/3.x.coghlan-redhat/build/Lib/idlelib/idle_test/test_text.py", line 219, in setUpClass
    cls.root = Tk()
  File "/home/buildbot/buildarea/3.x.coghlan-redhat/build/Lib/tkinter/__init__.py", line 1789, in __init__
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: no display name and no $DISPLAY environment variable

I do not get this on my system, and I just retried with 
F:\Python\dev\py34\PCbuild>python_d -m test -v -ugui test_idle
and that works.

I did get a test_idle failure running all tests
and a crash with test_marshal in test_bad_reader (test.test_marshal.BugsTestCase)
 so I am rerunning with -v. This claims the problem is

_tkinter.TclError: Can't find a usable init.tcl in the following directories:

This is followed by a list of non-existent directories that omits the one what it actually is and where it is routinely found and it obviously was on the previous run with only test_idle run.

What puzzles me is that both buildbots skipped test_tk and test_ttk_guionly, which suggests that they do not have -ugui, (Nick, one of these is yours) which means they should not have ever called tkinter. On my machine,
    requires('gui') 
works to stop the tkinter test case from running when I omit -ugui.
History
Date User Action Args
2013-07-13 05:04:42terry.reedysetrecipients: + terry.reedy, ncoghlan, r.david.murray, Todd.Rovito, python-dev, JayKrish, philwebster
2013-07-13 05:04:41terry.reedysetmessageid: <1373691882.0.0.387175410111.issue18365@psf.upfronthosting.co.za>
2013-07-13 05:04:41terry.reedylinkissue18365 messages
2013-07-13 05:04:41terry.reedycreate