[Pythonmac-SIG] Leopard PyObjc & Quartz
Luc Heinrich
luc at honk-honk.com
Tue Nov 6 15:18:23 CET 2007
On 6 nov. 07, at 14:40, Uliano Guerrini wrote:
> then the applicatons stops working (it hangs jumping in the dock) and
> I can read in the console
>
> [Session started at 2007-11-06 14:35:27 +0100.]
> _RegisterApplication(), FAILED TO establish the default connection to
> the WindowServer, _CGSDefaultConnection() is NULL.
I have similar problems, I have started a thread on the pyobjc-dev
mailing list with my current findings: the problem seems related to
importing the Quartz framework before Cocoa connects to the window
server, in alias builds *only*. So for example, doing an 'import
Quartz' before doing 'AppHelper.runEventLoop()' or
'NSApplication.sharedApplication' will fail, but in alias builds
*only*. So this definitely looks like a PyObjC/py2app bug to me so far.
--
Luc Heinrich
More information about the Pythonmac-SIG
mailing list