Cocoa Python broken in Leopard??
Cocoa Python broken in Leopard??
- Subject: Cocoa Python broken in Leopard??
- From: Uliano Guerrini <email@hidden>
- Date: Wed, 7 Nov 2007 08:49:30 +0100
Hi,
with every Xcode project template involving Python it is enough to add
an
import Quartz
to any python file to hang the application with the icon jumping in
the dock.
From logs on the console it seems that the application isn't able to
connect to the window server
[Session started at 2007-11-07 08:43:05 +0100.]
_RegisterApplication(), FAILED TO establish the default connection to
the WindowServer, _CGSDefaultConnection() is NULL.
2007-11-07 08:43:06.785 prova[3484:10b] *** -[NSRecursiveLock unlock]:
lock (<NSRecursiveLock: 0x1f89e80> '(null)') unlocked when not locked
2007-11-07 08:43:06.786 prova[3484:10b] *** Break on _NSLockError() to
debug.
2007-11-07 08:43:06.787 prova[3484:10b] *** -[NSRecursiveLock unlock]:
lock (<NSRecursiveLock: 0x1f89e80> '(null)') unlocked when not locked
2007-11-07 08:43:06.788 prova[3484:10b] *** Break on _NSLockError() to
debug.
2007-11-07 08:43:06.793 prova[3484:10b] *** -[NSRecursiveLock unlock]:
lock (<NSRecursiveLock: 0x1f89e80> '(null)') unlocked when not locked
2007-11-07 08:43:06.793 prova[3484:10b] *** Break on _NSLockError() to
debug.
2007-11-07 08:43:06.797 prova[3484:10b]
NSInternalInconsistencyException - Error (1002) creating CGSWindow
2007-11-07 08:43:06.801 prova[3484:10b] *** -[NSRecursiveLock unlock]:
lock (<NSRecursiveLock: 0x1f89e80> '(null)') unlocked when not locked
2007-11-07 08:43:06.802 prova[3484:10b] *** Break on _NSLockError() to
debug.
2007-11-07 08:43:06.803 prova[3484:10b] *** -[NSRecursiveLock unlock]:
lock (<NSRecursiveLock: 0x1f89e80> '(null)') unlocked when not locked
2007-11-07 08:43:06.803 prova[3484:10b] *** Break on _NSLockError() to
debug.
2007-11-07 08:43:06.804 prova[3484:10b] *** -[NSRecursiveLock unlock]:
lock (<NSRecursiveLock: 0x1f89e80> '(null)') unlocked when not locked
2007-11-07 08:43:06.804 prova[3484:10b] *** Break on _NSLockError() to
debug.
2007-11-07 08:43:06.806 prova[3484:10b] *** -[NSRecursiveLock unlock]:
lock (<NSRecursiveLock: 0x1f89e80> '(null)') unlocked when not locked
2007-11-07 08:43:06.806 prova[3484:10b] *** Break on _NSLockError() to
debug.
exactly the same happens building with py2app and the -A (alias)
option enabled, instead py2app without the -A option builds an
application who can happily connect to the windowserver.
Cheers,
uliano
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden