[BUG] Karel's World requires EdgeImageMorph

Bob Arning arning at charm.net
Tue Apr 8 15:25:20 UTC 2003


Ned,

The code I sent will allow you to reload it, but the better fix is to break the isolation before saving it.

In the change set, set isolatedProject to nil and in the Project set isolatedHead to false. Then it can be saved and reloaded.

Cheers,
Bob

On Tue, 8 Apr 2003 08:10:11 -0700 Ned Konz <ned at bike-nomad.com> wrote:
>> Ned,
>>
>> File this in...
>>
>> 'From Squeak3.4beta of ''1 December 2002'' [latest update: #5138]
>> on 8 April 2003 at 10:52 am'! Morph subclass: #MumbleMorph
>> 	instanceVariableNames: ''
>> 	classVariableNames: ''
>> 	poolDictionaries: ''
>> 	category: 'Morphic-Basic'!
>>
>> !Project methodsFor: 'isolation layers' stamp: 'raa 4/8/2003
>> 10:49'! invoke
>> 	"Install all methods changed here into method dictionaries.
>> 	Make my versions be the ones that will be called."
>>
>> 	isolatedHead ifFalse: [^ self error: 'This isnt an isolation
>> layer.']. inForce ifTrue: [^ self "error: 'This layer is already in
>> force.'"]. changeSet invoke.
>> 	inForce _ true.! !
>>
>> Then when asked for what modern class to use, answer MumbleMorph.
>> Once the project is loaded, there seem to be no references to
>> MumbleMorph (after a full GC), so why these classes were copied is
>> a puzzler, but the project looks usable in 3.4.
>
>Well, that loads it, but when I then save it and try to load it into 
>another fresh image, I get an emergency evaluator because ActiveWorld 
>is nil (I think).



More information about the Squeak-dev mailing list