"Save Project on File" "almost hangs" Squeak?

Ned Konz ned at squeakland.org
Sun Jul 11 16:42:07 UTC 2004


On Sunday 11 July 2004 8:22 am, Milan Zimmermann wrote:
> When I created another project similar this one, it saved in about 5
> seconds. The project that has the problem has been through some changes but
> not that many. I attached my image in a separate email to the list. As I
> said there, please do not spend time with the problem unless you think it
> is valuable enough to perhaps discover an underlying  Squeak bug or
> something. I want to be able to save this project for future changes, but
> can easily start over at this point and hopefully the new version with save
> ...

Just do this after the save failure:

- click on the desktop in the project (the copy of the one that you're saving) 
that is displaying the progress morph forever (this project is called 
Unnamed#).
- go to the previous project (the one you're trying to save).
- click on the "OK" button on the requestor in the upper left hand corner that 
says "extra associations"
- Open a Project history morph from the Objects tool
- drag out project view morphs for any projects you didn't make yourself (like 
the "Unnamed#" one you just left)
- hold the button down on each one of these and choose "expunge project"
- close the change sorter in your original project and try again.

What's happening here is this:

- You ask to save the project.

- Squeak creates a new project that is a copy of the one being saved, and 
changes into it. This is the one that shows the progress morph and the grid.

- It finds something that it doesn't want to save (see below). This more or 
less aborts the saving, but instead of cleaning up the temp project and 
changing back to your original project, you're left in the temp project. 
Which actually isn't saving any more, despite the progress morph being 
displayed.

- You will find that in the temp project the menu works as soon as this 
happens (when it changes from "collecting resources" and starts displaying 
numbers again). Go to the previous (parent) project; this will be your 
original.

- In the original project, there is at the upper left hand corner of the world 
a string informer saying "extra associations". This means (to the three or 
four people who know and remember this) that "something bad happened and your 
project didn't get saved correctly."

- The cause of this was an improperly renamed class called "ZTime" which is 
being held in the change records of a change set which is being held by the 
ChangeSorter that you have in your project.

I'm looking into how we could better handle this kind of thing.

-- 
Ned Konz
http://bike-nomad.com/squeak/



More information about the Squeak-dev mailing list