[issue8716] test_tk/test_tkk_guionly fails on OS X if run from buildbot slave daemon -- crashes Python
Ronald Oussoren
report at bugs.python.org
Tue Jul 23 10:55:04 CEST 2013
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 GUI access.
To easily reproduce with a framework install:
* Note that MacOS.WMAvailable() returns True when you run
the python/pythonw when you are logged in to the machine
* Now copy /Library/Framework/Python.frameworks/Versions/Current/Resources/Python.app/Contents/MacOS/Python to "python.exe"
* Run "./python.exe" and note that MacOS.WMAvailable() now returns
False (and that sys.prefix still refers to the framework)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8716>
_______________________________________
More information about the Python-bugs-list
mailing list