Loading "old" Projects: How?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Loading "old" Projects: How?

Jim Rosenberg
I have a significant number of projects in a Squeak 3.8 image that
represent several years' worth of artistic work. I would like to move them
to Squeak 4.3. I gather some kind of conversion process is necessary. When
I load a .pr file saved from 3.8, I am getting a message like:

"Reading an instance of ComponentLikeModel. Which modern class should it
translate to?"

Could someone point me to a URL that explains the conversion process?

-Thanks in advance, Jim


Reply | Threaded
Open this post in threaded view
|

Re: Loading "old" Projects: How?

Chris Cunnington
On 2013-01-06 8:55 PM, Jim Rosenberg wrote:

> I have a significant number of projects in a Squeak 3.8 image that
> represent several years' worth of artistic work. I would like to move
> them to Squeak 4.3. I gather some kind of conversion process is
> necessary. When I load a .pr file saved from 3.8, I am getting a
> message like:
>
> "Reading an instance of ComponentLikeModel. Which modern class should
> it translate to?"
>
> Could someone point me to a URL that explains the conversion process?
>
> -Thanks in advance, Jim
>
>
Squeak 3.8 came out in 2005. I don't know that there is a single link to
a place on the squeak wiki that would list the changes you'd need to
make. I'd say your best bet would be to install, debug as you go, and
post questions here.

Chris

Reply | Threaded
Open this post in threaded view
|

Re: Loading "old" Projects: How?

Bert Freudenberg
In reply to this post by Jim Rosenberg

On 07.01.2013, at 02:55, Jim Rosenberg <[hidden email]> wrote:

> I have a significant number of projects in a Squeak 3.8 image that represent several years' worth of artistic work. I would like to move them to Squeak 4.3. I gather some kind of conversion process is necessary. When I load a .pr file saved from 3.8, I am getting a message like:
>
> "Reading an instance of ComponentLikeModel. Which modern class should it translate to?"
>
> Could someone point me to a URL that explains the conversion process?
>
> -Thanks in advance, Jim



I'm not sure that has ever been documented ...

You can look at an Etoys image (e.g. a current one from http://squeakland.org/ ) to see what the class did.

In this case, you'll see it's an interim superclass between MorphicModel and e.g. ScrollPane. So in to make your project load you could try to input "MorphicModel" when it asks you for the modern class.

There is actually a conversion mechanism built in to the project loading machinery, but it would have to be told how to convert old classes into new ones. This mechanism was maintained for Squeakland images, but not for Squeak images. So usually you can still load old projects in newer Squeakland releases, but not necessarily in Squeak. But since the mechanism is still there it might just need a bit of updating for many old projects to load.

- Bert -