[MacRuby-devel] Warnings from print operation

Robert Rice rice.audio at pobox.com
Sun Aug 15 15:19:38 PDT 2010


Hi Thibault Martin-Lagardette:

Yes, but the deprecated calls are originating from NSView. Printing had stopped working for the views in my application so I tried creating my own PrintOperation and ran it modally for my window instead of routing the print command directly to the view. Then the warnings appeared. Could my project be linked to an old framework or Ruby library?

Thanks,
Bob Rice


On Aug 15, 2010, at 5:24 PM, Thibault Martin-Lagardette wrote:

> It looks like you are using deprecated APIs from the printing Framework. These are clearly not ruby errors, but deprecated objective-c calls :-)
> 
> -- 
> Thibault Martin-Lagardette
> 
> 
> 
> On Aug 15, 2010, at 09:44, Robert Rice wrote:
> 
>> Hi Developers:
>> 
>> I get the followings warning from my PrintOperation:
>> 
>> SimpleX_ViewController.print
>> 2010-08-15 12:25:12.609 MacDriverLog-0.7[243:a0f] -[NSView(NSPrinting) beginPrologueBBox:creationDate:createdBy:fonts:forWhom:pages:title:] was deprecated before Mac OS 10.0 and overrides of it are not being invoked anymore, starting in Mac OS 10.5.
>> 2010-08-15 12:25:12.610 MacDriverLog-0.7[243:a0f] -[NSView(NSPrinting) endHeaderComments] was deprecated before Mac OS 10.0 and overrides of it are not being invoked anymore, starting in Mac OS 10.5.
>> 2010-08-15 12:25:12.612 MacDriverLog-0.7[243:a0f] -[NSView(NSPrinting) endPrologue] was deprecated before Mac OS 10.0 and overrides of it are not being invoked anymore, starting in Mac OS 10.5.
>> 2010-08-15 12:25:12.613 MacDriverLog-0.7[243:a0f] -[NSView(NSPrinting) beginSetup] was deprecated before Mac OS 10.0 and overrides of it are not being invoked anymore, starting in Mac OS 10.5.
>> 2010-08-15 12:25:12.614 MacDriverLog-0.7[243:a0f] -[NSView(NSPrinting) endSetup] was deprecated before Mac OS 10.0 and overrides of it are not being invoked anymore, starting in Mac OS 10.5.
>> 2010-08-15 12:25:12.615 MacDriverLog-0.7[243:a0f] -[NSView(NSPrinting) beginPage:label:bBox:fonts:] was deprecated before Mac OS 10.0 and overrides of it are not being invoked anymore, starting in Mac OS 10.5.
>> 2010-08-15 12:25:12.615 MacDriverLog-0.7[243:a0f] -[NSView(NSPrinting) beginPageSetupRect:placement:] was deprecated before Mac OS 10.0 and overrides of it are not being invoked anymore, starting in Mac OS 10.5.
>> 2010-08-15 12:25:12.616 MacDriverLog-0.7[243:a0f] -[NSView(NSPrinting) addToPageSetup] was deprecated before Mac OS 10.0 and overrides of it are not being invoked anymore, starting in Mac OS 10.5.
>> 2010-08-15 12:25:12.617 MacDriverLog-0.7[243:a0f] -[NSView(NSPrinting) endPageSetup] was deprecated before Mac OS 10.0 and overrides of it are not being invoked anymore, starting in Mac OS 10.5.
>> 2010-08-15 12:25:12.617 MacDriverLog-0.7[243:a0f] -[NSView(NSPrinting) beginTrailer] was deprecated before Mac OS 10.0 and overrides of it are not being invoked anymore, starting in Mac OS 10.5.
>> 2010-08-15 12:25:12.618 MacDriverLog-0.7[243:a0f] -[NSView(NSPrinting) endTrailer] was deprecated before Mac OS 10.0 and overrides of it are not being invoked anymore, starting in Mac OS 10.5.
>> 
>> Looks like I may need to update something. Would this be a framework or a Ruby library? How would I update my system?
>> 
>> Thanks,
>> Bob Rice
>> 
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel at lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20100815/2734ca6e/attachment.html>


More information about the MacRuby-devel mailing list