[PythonCAD] PythonCAD on OS X 10.4.3

Pierre Vaudrey pierre.vaudrey at gmail.com
Thu Nov 24 18:38:28 CET 2005


Art,

Le 24 nov. 05 à 14:51, Art Haas a écrit :

> That is a lot of typing, so it may be better to again adjust the
> 'import' statments to look like this ...
>
> from PythonCAD.Interface.Cocoa import Globals
agreed :
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CocoaEntitiesDiff.py
Type: text/x-python-script
Size: 400 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythoncad/attachments/20051124/b9ea709c/CocoaEntitiesDiff.bin
-------------- next part --------------
but above rule was not applied in PythonCad.py
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PythonCadDiff.py
Type: text/x-python-script
Size: 1458 bytes
Desc: not available
Url : http://mail.python.org/pipermail/pythoncad/attachments/20051124/b9ea709c/PythonCadDiff.bin
-------------- next part --------------


Application is now running with the following exception :

2005-11-24 18:24:09.624 PythonCad[1684] An exception has occured:
Traceback (most recent call last):
   File "/Library/Frameworks/Python.framework/Versions/2.4/lib/ 
python2.4/site-packages/PyObjC/PyObjCTools/AppHelper.py", line 235,  
in runEventLoop
     main(argv)
   File "/Users/pierreva/Documents/pythoncad2/build/PythonCad.app/ 
Contents/Resources/PythonCAD/Interface/Cocoa/ImageDocument.py", line  
157, in init
     self.setImage(PythonCAD.Generic.image.Image())
   File "/Users/pierreva/Documents/pythoncad2/build/PythonCad.app/ 
Contents/Resources/PythonCAD/Generic/image.py", line 148, in __init__
     add_defaults(self)
   File "/Users/pierreva/Documents/pythoncad2/build/PythonCad.app/ 
Contents/Resources/PythonCAD/Generic/image.py", line 2076, in  
add_defaults
     image.setOption('DIM_STYLE', _ds)
   File "/Users/pierreva/Documents/pythoncad2/build/PythonCad.app/ 
Contents/Resources/PythonCAD/Generic/image.py", line 1715, in setOption
     if value != _gval: _set = True
   File "/Users/pierreva/Documents/pythoncad2/build/PythonCad.app/ 
Contents/Resources/PythonCAD/Generic/dimension.py", line 2280, in __ne__
     return not self == obj
   File "/Users/pierreva/Documents/pythoncad2/build/PythonCad.app/ 
Contents/Resources/PythonCAD/Generic/dimension.py", line 2256, in __eq__
     if ((_key == 'DIM_PRIMARY_TEXT_SIZE') or
TypeError: 'bool' object is not callable

Pierre




More information about the PythonCAD mailing list