From: Duncan M. <du...@on...> - 2009-07-22 07:58:41
|
Just a heads up for posterity. AT&T are shipping a 3G modem card that overrides the installed version of RubyCocoa. With VelOCRaptor the symptoms are an exception thrown when I attempt to call new on an NSClass /Library/Frameworks/RubyCocoa.framework/Resources/ruby/osx/objc/ oc_import.rb:251:in `new': use 'alloc.initXXX' to instantiate Cocoa Object (RuntimeError) The frameworks they are installing are RubyCocoa: Version: 0.12.0 Last Modified: 6/29/09 11:01 PM Get Info String: RubyCocoa 0.12.0 Copyright (c) 2002 FUJIMOTO Hisakuni. Location: /Library/Frameworks/RubyCocoa.framework Private: No NMGsmKit: Version: 0.2.0 Last Modified: 6/29/09 11:01 PM Location: /Library/Frameworks/NMGsmKit.framework Private: No NML2NManager: Version: 0.3.0 Last Modified: 6/29/09 11:01 PM Location: /Library/Frameworks/NML2NManager.framework Private: No NMNetCore: Version: 0.6.0 Last Modified: 6/29/09 11:01 PM Location: /Library/Frameworks/NMNetCore.framework Private: No NMNetWorker: Version: 0.2.0 Last Modified: 6/29/09 11:01 PM Location: /Library/Frameworks/NMNetWorker.framework Private: No NMRegistrationCore: Version: 0.3.0 Last Modified: 6/29/09 11:01 PM Location: /Library/Frameworks/NMRegistrationCore.framework Private: No On Kimura Wataru's excellent advice, I am looking at setting DYLD_FRAMEWORK_PATH or maybe DYLD_FALLBACK_FRAMEWORK_PATH to solve this problem, but as I can't reproduce it here yet, I am unable to report whether or not this works. Duncan McGregor www.velOCRaptor.com Simple Affordable Mac OCR |