[PythonCAD] PythonCAD on OS X 10.4.3

Art Haas ahaas at airmail.net
Mon Nov 28 18:35:28 CET 2005


On Mon, Nov 28, 2005 at 06:10:19PM +0100, Pierre Vaudrey wrote:
> Art,
> 
> Le 28 nov. 05 ? 17:39, Art Haas a ?crit :
> 
> > I simplified connect() by consolidating the arguments,
> >so that now a bound instance method is the only argument. I'll change
> >the 'ImageDocument.py' file, commit my change, and then when you  
> >next do
> >an 'svn update' please let me know if my changes fix the problem.
> running after svn update :
> 
> [ ... snip ... ]
> Contents/Resources/PythonCAD/Interface/Cocoa/ImageDocument.py", line  
> 191, in makeWindowControllers
>     _wc = ImageWindowController.alloc().initWithWindowNibName_owner_ 
> (_nib,self)
> NameError: global name 'ImageWindowController' is not defined
> 

Fixed by adjusting the importation of this module to use the 'from'
method of import.

Art
-- 
Man once surrendering his reason, has no remaining guard against absurdities
the most monstrous, and like a ship without rudder, is the sport of every wind.

-Thomas Jefferson to James Smith, 1822


More information about the PythonCAD mailing list