Changes by Antoine Pitrou pit...@free.fr:
--
nosy: +gpolo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8716
___
___
Python-bugs-list mailing list
R. David Murray rdmur...@bitdance.com added the comment:
I just ran into this while trying to run the test suite with -uall while sshed
into an OSX machine and running a non-framework build. This makes it kind of
hard to run the full test suite.
Is there some way to detect that we don't have
Ronald Oussoren ronaldousso...@mac.com added the comment:
In python 2.x 'MacOS.WMAvailable()' returns True if the windowserver is
available.
The whole MacOS extension is gone in 3.x, although it should be easy enough to
reimplement WMAvailable() using ctypes.
--
Ronald Oussoren ronaldousso...@mac.com added the comment:
I've filed an issue for this in the Tcl/Tk tracker:
https://sourceforge.net/tracker/?func=detailaid=3002320group_id=10894atid=110894
(Assuming that this is the canonical tracker for the Tcl/Tk project, it was the
first hit in google
Ronald Oussoren ronaldousso...@mac.com added the comment:
BTW. Another way of testing, assuming you have two accounts: use 'su -
otheraccount' to get a shell session as another user then try to start tk using:
import Tkinter
root = Tkinter.Tk()
This will currently crash the interpreter due to
Ronald Oussoren ronaldousso...@mac.com added the comment:
The attached patch is a first start at working around the crash. With this
patch I can use Tk without a crash:
import Tkinter
Tkinter.Tk()
Sun May 16 12:11:08 Rivendell.local python.exe[55984] Error: kCGErrorFailure:
Set a breakpoint
Ronald Oussoren ronaldousso...@mac.com added the comment:
Something I forgot to mention: the patch introduces _tkinter.m to enable
compiling the _tkinter extension as Objective-C code. The compiler also
supports passing -x objective-c to compile _tkinter.c in Objective-C mode,
but this flag
Ronald Oussoren ronaldousso...@mac.com added the comment:
Tk has a different tracker than tcl itself, the upstream issue is now
https://sourceforge.net/tracker/?func=detailaid=3002484group_id=12997atid=112997
--
___
Python tracker
New submission from Bill Janssen bill.jans...@gmail.com:
test_tk fails on OS X if test is run from a daemon process without the
privilege to access the window server, say a buildbot slave without anyone
logged in to the console. The Tk support needs to check whether it has access
rights to
Bill Janssen bill.jans...@gmail.com added the comment:
[More info from Ronald Oussoren]
This is a bug in Tk:
root = Tkinter.Tk()
Thu May 13 20:45:13 Rivendell.local python[84887] Error: kCGErrorFailure: Set
a breakpoint @ CGErrorBreakpoint() to catch errors as they are logged.
Bill Janssen bill.jans...@gmail.com added the comment:
It's fairly easy to create a restricted process tree for testing. ssh into a
Mac which has no one logged into the console, from another machine, and use
that connection to launch an xterm or Xemacs window to the other machine. Then
log
Changes by STINNER Victor victor.stin...@haypocalc.com:
--
nosy: +haypo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8716
___
___
12 matches
Mail list logo