[Openmcl-devel] Error when requiring cocoa

Raffael Cavallaro raffaelcavallaro at mac.com
Wed Aug 25 06:32:53 PDT 2010


On Aug 25, 2010, at 2:45 AM, 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).

This is also a faq. The plist format changed at some point so the new IDE can't read your old prefs. 

The solution was provided by Gary Palter: just trash your IDE prefs at ~/Library/Preferences/com.clozure.Clozure CL-x8664.plist and x8632.plist. No need to get rid of the LSSharedFileList.plists though.

warmest regards,

Ralph


Raffael Cavallaro
raffaelcavallaro at me.com








More information about the Openmcl-devel mailing list