[issue31805] support._is_gui_available() hangs on x86-64 Sierra 3.6/3.x buildbot

2017-11-23 Thread STINNER Victor

STINNER Victor  added the comment:

The issue is gone.

--
resolution:  -> out of date
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31805] support._is_gui_available() hangs on x86-64 Sierra 3.6/3.x buildbot

2017-10-17 Thread Matt Billenstein

Matt Billenstein  added the comment:

Note, that's running ./python.exe Lib/tests/test_tk.py from a Terminal when 
logged into the gui...

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31805] support._is_gui_available() hangs on x86-64 Sierra 3.6/3.x buildbot

2017-10-17 Thread Matt Billenstein

Matt Billenstein  added the comment:

Did some debugging by sticking a couple prints in support.is_gui_available() 
and it appears everything is fine up until the call to 
app_services.SetFrontProcess() -- this is returning error code -606 which is 
defined in:

/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/Headers/MacErrors.h:
appIsDaemon   = -606, /*app is BG-only, and launch flags 
disallow this*/

What this means exactly or how to fix it, I don't know...

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31805] support._is_gui_available() hangs on x86-64 Sierra 3.6/3.x buildbot

2017-10-17 Thread STINNER Victor

STINNER Victor  added the comment:

Matt: Would you like to look at your buildbot to check if something is wrong 
with Tkinter?

The code hangs on the CGMainDisplayID() call in support._is_gui_available():

from ctypes import cdll, c_int, pointer, Structure
from ctypes.util import find_library
app_services = cdll.LoadLibrary(find_library("ApplicationServices"))
app_services.CGMainDisplayID()

--
nosy: +mattbillenstein

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue31805] support._is_gui_available() hangs on x86-64 Sierra 3.6/3.x buildbot

2017-10-17 Thread STINNER Victor

STINNER Victor  added the comment:

Same issue on x86-64 Sierra 3.x:

http://buildbot.python.org/all/#/builders/14/builds/21

--
components: +Tkinter
title: support._is_gui_available() hangs on x86-64 Sierra 3.6 buildbot -> 
support._is_gui_available() hangs on x86-64 Sierra 3.6/3.x buildbot
versions: +Python 3.6, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com