Help! Saving a dead image

Bert Freudenberg bert at impara.de
Sat Jun 18 23:30:32 UTC 2005


Am 18.06.2005 um 20:27 schrieb Andrew Greenberg:

> My image seems to have gotten fried after a system crash.  When I  
> restart the interpreter, the main window doesn't come up after  
> selecting the image.
>
> But my .changes seem in good shape, and there hasn't been a lot of  
> work (maybe 5 or 6 days of hacking) from the release image.
>
> Is there any easy way (or least painful way) to reconstruct an  
> image from the release version, or at least recover my code,  
> without manually mucking around in the .changes to create a fileIn?

 From http://minnow.cc.gatech.edu/squeak/2168

How can I recover my work if a crash has occurred?

If Squeak has crashed, or if you've lost power, or forgotten to save  
your image, etc., it is possible to recover your Smalltalk changes  
because they are always stored in the .changes file.

To do this, open the World menu and select "changes..." and then  
"recently logged changes...". A pop-up menu will appear asking how  
far back you want to browse... most likely you want to select the  
most recently saved image (snapshot) if the changes you've lost were  
made after that date.

A Recent Changes window will appear which shows changes that you've  
made which are in the .changes file, but may not be in your current  
image. Select all of the methods (and do-its) that you'd like to  
recover, and then choose "fileIn selections" from the pop-up menu to  
load them into your image. (If a particular method change or do-it  
caused your image to crash, be careful not to recover that particular  
method/do-it. :-) )

- Bert -




More information about the Squeak-dev mailing list