• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cocoa Python broken in Leopard??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Cocoa Python broken in Leopard??
      • From: Bill Bumgarner <email@hidden>
  • Prev by Date: Proper way to implement zoom in CA?
  • Next by Date: Re: Cocoa Python broken in Leopard??
  • Previous by thread: Proper way to implement zoom in CA?
  • Next by thread: Re: Cocoa Python broken in Leopard??
  • Index(es):
    • Date
    • Thread