[Pyobjc-dev] Invalid context error
Brought to you by:
ronaldoussoren
|
From: Rodrigo G. <tio...@gm...> - 2009-03-19 12:39:23
|
Hi, I recently upgraded from the bundled Python 2.5.1 to ActivePython 2.6.1.1 and installed PyObjC manually from sources. I use Leopard and I'm developing a Cocoa application in Xcode and since the upgrade my main window loads and the application runs but it seems I can't draw anything on the window anymore. On the console I see a lot of these messages: (snippet) Thu Mar 19 21:20:42 mac.local pysim[79947] <Error>: CGContextSetRGBFillColor: invalid context Thu Mar 19 21:20:42 mac.local pysim[79947] <Error>: CGContextSetLineWidth: invalid context Thu Mar 19 21:20:42 mac.local pysim[79947] <Error>: CGContextSetRGBStrokeColor: invalid context Thu Mar 19 21:20:42 mac.local pysim[79947] <Error>: CGContextAddRect: invalid context Thu Mar 19 21:20:42 mac.local pysim[79947] <Error>: CGContextDrawPath: invalid context (snippet) I tried to search for this over the web, but I could not really find good directions. I hope some of you might know something -- perhaps I need to configure something else in Xcode after upgrading PyObjC? Cheers, Guerra |