From: scott w <scottblanc@gm...> - 2009-04-16 16:07:18
In a python shell, I get the following error after trying to invoke
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: No attribute printOperationWithView
Note: similar commands like 'AppKit.NSPrintInfo.sharedPrintInfo()' do
work for me.
Here is my stack:
Python - v2.5.1
pyobjc - v2.2b1
Mac OSX - v10.5.6
Any thoughts on what might be causing the no attribute error would be
From: Adam Atlas <adam@at...> - 2009-04-17 00:12:49
On 16 Apr 2009, at 12:07, scott w wrote:
> Hi --
> In a python shell, I get the following error after trying to invoke
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> AttributeError: No attribute printOperationWithView
Use AppKit.NSPrintOperation.printOperationWithView_ (with the
underscore at the end), since it takes an argument.
Get latest updates about Open Source Projects, Conferences and News.