Hi Laurent:

I created an abbreviated version of my project. Unfortunately it didn't 
reproduce my printing problem but you may want to consider using it for sample 
code. How would I send it to you? ( 1.7 MB )

Thanks,
Bob Rice


On Aug 15, 2010, at 10:51 PM, Laurent Sansonetti wrote:

> Could you show your source code? Just from what you pasted I would assume 
> you're using deprecated APIs.
> 
> Laurent
> 
> On Aug 15, 2010, at 3:19 PM, Robert Rice wrote:
> 
>> 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@lists.macosforge.org
>>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>>> 
>>> _______________________________________________
>>> MacRuby-devel mailing list
>>> MacRuby-devel@lists.macosforge.org
>>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>> 
>> _______________________________________________
>> MacRuby-devel mailing list
>> MacRuby-devel@lists.macosforge.org
>> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
> 
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel@lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

_______________________________________________
MacRuby-devel mailing list
MacRuby-devel@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel

Reply via email to