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


_______________________________________________
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig

Reply via email to