Re: [Pyobjc-dev] import QTKit -> NSRecursiveLock errors
Brought to you by:
ronaldoussoren
From: Daniel A. <an...@cc...> - 2009-06-16 15:14:04
|
Does anybody have an idea on how I can deal with this? I got around the issue back in April but now am wanting to subclass a QTMovieView. Thanks, dan On Apr 27, 2009, at 12:25p, Daniel Ashbrook wrote: > I think I remember there being some discussion of this a while back, > but couldn't find it. > > Try this: > 1) Make a new Python Cocoa app in Xcode > 2) In the application delegate, insert the line "import QTKit" > 3) Run it > > I get: > > _RegisterApplication(), FAILED TO establish the default connection > to the WindowServer, _CGSDefaultConnection() is NULL. > 2009-04-27 12:22:41.794 QTVideoTest2[79402:10b] *** - > [NSRecursiveLock unlock]: lock (<NSRecursiveLock: 0x1c57730> > '(null)') unlocked when not locked > 2009-04-27 12:22:41.796 QTVideoTest2[79402:10b] *** Break on > _NSLockError() to debug. > 2009-04-27 12:22:41.796 QTVideoTest2[79402:10b] *** - > [NSRecursiveLock unlock]: lock (<NSRecursiveLock: 0x1c57730> > '(null)') unlocked when not locked > 2009-04-27 12:22:41.797 QTVideoTest2[79402:10b] *** Break on > _NSLockError() to debug. > 2009-04-27 12:22:41.801 QTVideoTest2[79402:10b] *** - > [NSRecursiveLock unlock]: lock (<NSRecursiveLock: 0x1c57730> > '(null)') unlocked when not locked > 2009-04-27 12:22:41.801 QTVideoTest2[79402:10b] *** Break on > _NSLockError() to debug. > 2009-04-27 12:22:41.804 QTVideoTest2[79402:10b] > NSInternalInconsistencyException - Error (1002) creating CGSWindow > 2009-04-27 12:22:41.811 QTVideoTest2[79402:10b] *** - > [NSRecursiveLock unlock]: lock (<NSRecursiveLock: 0x1c57730> > '(null)') unlocked when not locked > 2009-04-27 12:22:41.812 QTVideoTest2[79402:10b] *** Break on > _NSLockError() to debug. > 2009-04-27 12:22:41.812 QTVideoTest2[79402:10b] *** - > [NSRecursiveLock unlock]: lock (<NSRecursiveLock: 0x1c57730> > '(null)') unlocked when not locked > 2009-04-27 12:22:41.812 QTVideoTest2[79402:10b] *** Break on > _NSLockError() to debug. > 2009-04-27 12:22:41.813 QTVideoTest2[79402:10b] *** - > [NSRecursiveLock unlock]: lock (<NSRecursiveLock: 0x1c57730> > '(null)') unlocked when not locked > 2009-04-27 12:22:41.813 QTVideoTest2[79402:10b] *** Break on > _NSLockError() to debug. > 2009-04-27 12:22:41.814 QTVideoTest2[79402:10b] *** - > [NSRecursiveLock unlock]: lock (<NSRecursiveLock: 0x1c57730> > '(null)') unlocked when not locked > 2009-04-27 12:22:41.815 QTVideoTest2[79402:10b] *** Break on > _NSLockError() to debug. > > This is particularly frustrating as, in my real project, I am trying > to make a subclass of QTKit.QTCaptureView; however, I can't, as > importing yields the above errors. > > > dan |