[PythonCAD] PythonCAD on OS X 10.4.3

Pierre Vaudrey pierre.vaudrey at gmail.com
Mon Nov 21 14:10:11 CET 2005


I'm trying to run PythonCAD from subversion on OS X 10.4.3 with  
python 2.4.1 and PyObjC 1.3.7.

After installing :

powerbook-g4-de-pierre-vaudrey:~/Documents/pythonCAD pierreva$ sudo  
python setup.py install

and building :

powerbook-g4-de-pierre-vaudrey:~/Documents/pythonCAD pierreva$ python  
buildapp.py --semi-standalone build
Finding module dependencies
Building 'build/PythonCad.app'
Copying files
Adding Python modules
Warning: couldn't find the following submodules:
     (Note that these could be false alarms -- it's not always
     possible to distinguish between "from package import submodule"
     and "from package import name")
   ? AppKit.NSApplication
   ? AppKit.NSCancelButton
   ? AppKit.NSChangeDone
   ? AppKit.NSDocumentController
   ? AppKit.NSFontManager
   ? AppKit.NSItalicFontMask
   ? AppKit.NSMenu
   ? AppKit.NSMenuItem
   ? AppKit.NSOKButton
   ? AppKit.NSOutlineView
   ? AppKit.NSPanel
   ? AppKit.NSSavePanel
   ? AppKit.NSShiftKeyMask
   ? AppKit.NSTextView
   ? AppKit.NSWindowController
   ? ExceptionHandling.NSExceptionHandler
   ? ExceptionHandling.NSLogUncaughtExceptionMask
   ? ExceptionHandling.NSStackTraceKey
   ? Foundation.NSBundle
   ? Foundation.NSDictionary
   ? Foundation.NSLog
   ? Foundation.NSMakePoint
   ? Foundation.NSMakeRect
   ? Foundation.NSMakeSize
   ? Foundation.NSNotFound
   ? Foundation.NSNotification
   ? Foundation.NSNotificationCenter
   ? Foundation.NSNotificationNoCoalescing
   ? Foundation.NSNotificationQueue
   ? Foundation.NSObject
   ? Foundation.NSPostASAP
   ? Foundation.NSPostWhenIdle
   ? Foundation.NSString
   ? objc.setSignatureForSelector
Warning: couldn't find the following modules:
   ? OverrideFrom23._Res
   ? SOCKS
   ? _dummy_threading
   ? _emx_link
   ? _xmlplus
   ? java.lang
   ? msvcrt
   ? os.path
   ? rourl2path
Done.

and running the application :

Traceback (most recent call last):
   File "/Applications/PythonCad.app/Contents/Resources/ 
PythonCad.py", line 45, in ?
     import PythonCAD.Interface.Cocoa.ImageDocument
   File "/Users/pierreva/Documents/pythonCAD/build/PythonCad.app/ 
Contents/Resources/PythonCAD/Interface/Cocoa/ImageDocument.py", line  
38, in ?
   File "/Users/pierreva/Documents/pythonCAD/build/PythonCad.app/ 
Contents/Resources/PythonCAD/Interface/Cocoa/ 
ImageWindowController.py", line 31, in ?
   File "/Users/pierreva/Documents/pythonCAD/build/PythonCad.app/ 
Contents/Resources/PythonCAD/Interface/Cocoa/AppController.py", line  
28, in ?
   File "/Users/pierreva/Documents/pythonCAD/build/PythonCad.app/ 
Contents/Resources/PythonCAD/Interface/Cocoa/CocoaConobjs.py", line  
26, in ?
   File "/Users/pierreva/Documents/pythonCAD/build/PythonCad.app/ 
Contents/Resources/PythonCAD/Interface/Cocoa/CocoaEntities.py", line  
29, in ?
ImportError: cannot import name ImageDocument

I cannot understand what I'm doing wrong ?

Thanks for your help.

Pierre


More information about the PythonCAD mailing list