[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2013-07-23 Thread Ronald Oussoren
Ronald Oussoren added the comment: I just noticed that the Tk tests still get skipped on my machine, and rediscovered this issue. The reason that MacOS.WMAvailable() returns False on the buildbot is because it runs ./python.exe, which is not part of an application bundle and therefore has no

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-08 Thread Ned Deily
Ned Deily n...@acm.org added the comment: I haven't seen any failures yet so let's close it. -- status: pending - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8716 ___

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-05 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: New changeset ea02eca122b5 by Ned Deily in branch '2.7': Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run http://hg.python.org/cpython/rev/ea02eca122b5 New changeset 06cb0d602468 by Ned Deily in branch

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-05 Thread Ronald Oussoren
Ronald Oussoren ronaldousso...@mac.com added the comment: python2.7 has MacOS.WMAvailable(). When that function returns False the Tkinter tests should be disabled. The function is not available in Python 3, but is easy enough to implement using ctypes. --

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-05 Thread Ned Deily
Ned Deily n...@acm.org added the comment: That's puzzling. That particular segfault failure is on test_ttk_guionly but test_tk apparently passed earlier in the run and it seems that this buildbot is being run with a window manager connection available (the changes that I added did not raise

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-05 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 18ce15f841cf by Ned Deily in branch '2.7': Issue #8716: Add temporary code for 2.7 to help diagnose buildbot failure. http://hg.python.org/cpython/rev/18ce15f841cf -- ___ Python tracker

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-05 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset b5accd8adc3e by Ned Deily in branch '2.7': Issue #8716: Back out temporary changeset 18ce15f841cf http://hg.python.org/cpython/rev/b5accd8adc3e New changeset b5ac5e25d506 by Ned Deily in branch '2.7': Issue #8716: Instead of relying

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-05 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Despite evidence to the contrary, the temporary MacOS.WMAvailable code showed that there was *not* a window manager connection. I'm still not sure what the difference in environments is (perhaps it is just due to a different version of Tcl/Tk on the

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-04 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset 06cb0d602468 by Ned Deily in branch '2.7': Issue #8716: Fix errors in the non-OS X path of the 27 backport. http://hg.python.org/cpython/rev/06cb0d602468 -- status: pending - open ___

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-04 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- status: open - pending ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8716 ___ ___ Python-bugs-list mailing

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-03 Thread Roundup Robot
Roundup Robot devnull@devnull added the comment: New changeset ea02eca122b5 by Ned Deily in branch '2.7': Issue #8716: Avoid crashes caused by Aqua Tk on OSX when attempting to run http://hg.python.org/cpython/rev/ea02eca122b5 New changeset 279488f5a171 by Ned Deily in branch '3.2': Issue

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-07-03 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Let's try this: when running under OS X, the tk and ttk test runners now perform their initial Tk-available sanity check in a subprocess rather than in the main interpreter process. If the subprocess fails, the tests are skipped. There are some

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-30 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: test_ttk_guionly is still crashing regulary on PPC Tiger 3.x buildbot, see issue #5120. Can anyone with a Mac look at this issue? -- ___ Python tracker rep...@bugs.python.org

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-30 Thread Ned Deily
Ned Deily n...@acm.org added the comment: I think this issue should be considered a test environment error. Since this buildbot is set up in an environment where it is running headless, that is to say the tests are run under a username that is not logged in to the window server, we should

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-30 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Since this buildbot is set up in an environment where it is running headless, that is to say the tests are run under a username that is not logged in to the window server, we should not be trying to run GUI tests there, in

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-30 Thread STINNER Victor
Changes by STINNER Victor victor.stin...@haypocalc.com: Added file: http://bugs.python.org/file22527/requires_tkinter.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8716 ___

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-30 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Victor, I don't understand what your patch is trying to accomplish. The problem is not that Tkinter isn't built; the problem is simply at execution time. Yes, you'll see exactly the same behavior if you are logged in via ssh and the usename you are

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-30 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: Victor, I don't understand what your patch is trying to accomplish. It skips test_tk and test_ttk_guionly if the DISPLAY environment variable is not set. -- ___ Python tracker

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-30 Thread Ned Deily
Ned Deily n...@acm.org added the comment: It skips test_tk and test_ttk_guionly if the DISPLAY environment variable is not set. Whether DISPLAY is set or not isn't relevant. What's relevant is whether I'm logged in as the GUI user. In this example, I'm logging in through ssh using the

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-30 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: @pitrou: How can we fix the configuration of the buildbot? -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8716

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-30 Thread STINNER Victor
STINNER Victor victor.stin...@haypocalc.com added the comment: As discussed on IRC, updated patch skipping test_tk and test_ttk_guionly very early if the gui resource is not set. -- Added file: http://bugs.python.org/file22529/requires_tkinter-2.patch

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-30 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: If I ssh in to a machine, python should not *crash* if I run gui stuff. The test suite might generate errors rather than skips (although I would argue that it should generate skips), but it should not crash. On the other hand I agree

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-30 Thread Ned Deily
Changes by Ned Deily n...@acm.org: -- assignee: - ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8716 ___ ___ Python-bugs-list mailing

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-30 Thread Ned Deily
Ned Deily n...@acm.org added the comment: Hold off on the buildbot changes for the moment. I have an idea for a possible workaround/solution. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8716

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2011-06-17 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Bump, this failure is still happening on the ppc tiger buildbot periodically. -- nosy: +ned.deily ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8716

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2010-10-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: Only OSX 10.4.0 I can run test_tk: rdmur...@buddy:~/python/py3k./python.exe -m test.regrtest -uall test_tk [1/1] test_tk Thu Oct 21 12:41:16 buddy.home.bitdance.com python.exe[93560] Error: kCGErrorFailure: Set a breakpoint @

[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python

2010-10-21 Thread R. David Murray
R. David Murray rdmur...@bitdance.com added the comment: See also issue 5120. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue8716 ___ ___