[Openmcl-devel] Error when requiring cocoa

Gary Byers gb at clozure.com
Wed Aug 25 12:56:33 UTC 2010


Using the escalating fine for this question would have been a good idea.
(Well, for me at least.)

This issue is mentioned in the release notes:

<http://trac.clozure.com/ccl/wiki/ReleaseNotes/1.5>

The technology that older versions had used to read and write
preferences files was quite old and had been deprecated several years
ago; the newer technology can't read archives created by the old, which
is what the error message is saying.  (Or trying to say ...)

The simplest workaround is to delete any preferences files:

$ rm ~/Library/Preferences/com.clozure.*

On Tue, 24 Aug 2010, Neil Baylis wrote:

> I've just installed Snow Leopard, and updated ccl from svn. 
> It fetched revision 14211
> 
> I did the rebuild-ccl incantation, which worked without any complaint.
> 
> Now, when I (require :cocoa)
> 
> I get this:
> 
> ;Loading #P"/Users/neil/packages/ccl/cocoa-ide/fasls/ide-self-update.dx64fsl"...
> ;Compiling "/Users/neil/packages/ccl/cocoa-ide/search-files.lisp"...
> ;Loading #P"/Users/neil/packages/ccl/cocoa-ide/fasls/search-files.dx64fsl"...
> ;Compiling "/Users/neil/packages/ccl/cocoa-ide/start.lisp"...
> ;Loading #P"/Users/neil/packages/ccl/cocoa-ide/fasls/start.dx64fsl"...
> ;Compiling "/Users/neil/packages/ccl/cocoa-ide/xinspector.lisp"...
> > Error: Objective-C runtime exception: 
> >        *** -[NSKeyedUnarchiver initForReadingWithData:]: non-keyed archive cannot be decoded by NSKeyedUnarchiver
> > While executing: #<Anonymous Function #x302000F5420F>, in process Initial(0).
> 
> 
> ;;;
> ;;; #<PROCESS Initial(0) [Active] #x3020000B3DDD> requires access to Shared Terminal Input
> ;;; Type (:y 0) to yield control to this thread.
> ;;;
> ;Loading #P"/Users/neil/packages/ccl/cocoa-ide/fasls/xinspector.dx64fsl"...
> :COCOA
> ("FAKE-CFBUNDLE-PATH" "IDE-BUNDLE" "OBJC-PACKAGE" "SEQUENCE-UTILS" "NAME-TRANSLATION" "OBJC-CLOS" "OBJC-RUNTIME" "BRIDGE"
> "OBJC-SUPPORT" "COMPILE-HEMLOCK" "HEMLOCK" "SWANK-LISTENER" "COCOA")
> CL-USER> 
> 
> I hope I'm not going to be fined $1 for this question.
> 
> Neil
> 
>


More information about the Openmcl-devel mailing list