Balloon3D refactored
David Duke
D.Duke at bath.ac.uk
Mon Nov 18 15:12:28 UTC 2002
Hi Andreas,
Andreas.Raab at gmx.de wrote:
> Hi David,
>>I tried following this through on my 3.4a image running on linux. The
>>removal and (re)installation of Balloon3D seems to work okay. However,
>>when I then try to save the image, I get a walkback:
>>
>> MessageNotUnderstood: suspendAcceleration
>> AnObsoleteAdvancedB3DSceneMorph(Object)>>doesNotUnderStand:
>> MessageSend>>value
>> etc.
>>
>>and the environment locks up, i.e. I have to kill it from a second
>>shell. I've found two instances of AdvancedB3DSceneMorph, however I
>>seem unable to remove them directly -- any suggestions?
>>
>
> Hm... interesting. Try checking the trash can - these guys might be hiding
> there. In any case you would have to get rid of them *before* you remove this
> stuff - that is until I find a way of at least determining the problem and
> throw an error or do something more intelligent about it. BTW, if you can find
> these guys let me know where they're hiding - it might be worthwhile to make
> up a list of "places to look for" when something like this happens.
This has been frustrating ....
I normally empty trash regularly, so the 'can' was empty. I
eventually found the B3DSceneMorphs (via the "allInstances" class
method), embedded in SceneExplorerMorphs. By chasing a chain of object
references, I then found that these in turn were referenced from a
couple of BookMorph instances. When opened, these BookMorphs looked
like -- but were not -- the contents of the trashcan object.
I managed to dispose of one of the BookMorph, but still have one
BookMorph containing B3D objects that I can't seem to remove!
I can delete it to the trashcan, but when I check (via allInstances),
the BookMorph instance is still present. I've tried looking for other
references to it (via "objectsReferencingIt"), but it seems to be
referenced just by its own components. (Turning off "preserveTrash"
does not help).
As it happens, I'm quite happy to start from a new image and reload my
own change sets. But I'd like to know why I'm having so much trouble
removing this BookMorph object; am I doing something stupid, or missing
the obvious?
I'm not sure this helps with your question about "places to look" for
this sort of problem; I don't know when or how the problematic morphs
became part of my image!
thanks,
David
More information about the Squeak-dev
mailing list
|