Saving project to file

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

Saving project to file

Ralph Boland
I have just installed Squeak 5.2.

I brought up the original image and then
attempted to a write the initial Project to a file.
(I have not worked with projects before).


I get a dialog box with the message:

some block(s) which reference instance variables
are included in this segment. These may fail when
the segment is loaded if the class has been reshaped.
What would you like to do?

I am given the choice of
   1) keep going
   2) stop and take a look

If I choose 2) I get a debugger window.
On top of the call stack is NativeImageSegment:>>Error:'here are the bad blocks'

There is also a window containing an array of one element which is a
MorphicAlarmQueue>>initialize

Meanwhile there is a window showing publishing in progress which
appears to be in
an infinite loop.

I doubt all of this is an actual system error and I must be doing
something stupid.
Can someone tell me what the problem is?

Ralph Boland
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Saving project to file

Hannes Hirzel
Hello Ralph

I suggest that you try it again but NOT with the initial project (=
the top project which has the balloon).

What I did
1.  I created a sub-project of the top project and added a workspace
and a PluggableTextMorph withModel object to it.

2.  I deactivated  the flaps - (desktop menu - 'show shared flaps' not
active), maybe not necessarey

3. I saved the project


Then I reloaded the project successfully into another image.

The example pr file [1]  with a project showing a list of all classes
in Squeak 5.2  ([2] and [3])  is attached (private mail as the
attachment is 300kB, if approved by list moderator it will come to the
list as well)

HTH

Hannes


[1] http://wiki.squeak.org/squeak/pr%20file
[2] http://wiki.squeak.org/squeak/2940
[3] http://wiki.squeak.org/squeak/6614

On 1/16/19, Ralph Boland <[hidden email]> wrote:

> I have just installed Squeak 5.2.
>
> I brought up the original image and then
> attempted to a write the initial Project to a file.
> (I have not worked with projects before).
>
>
> I get a dialog box with the message:
>
> some block(s) which reference instance variables
> are included in this segment. These may fail when
> the segment is loaded if the class has been reshaped.
> What would you like to do?
>
> I am given the choice of
>    1) keep going
>    2) stop and take a look
>
> If I choose 2) I get a debugger window.
> On top of the call stack is NativeImageSegment:>>Error:'here are the bad
> blocks'
>
> There is also a window containing an array of one element which is a
> MorphicAlarmQueue>>initialize
>
> Meanwhile there is a window showing publishing in progress which
> appears to be in
> an infinite loop.
>
> I doubt all of this is an actual system error and I must be doing
> something stupid.
> Can someone tell me what the problem is?
>
> Ralph Boland
> _______________________________________________
> Beginners mailing list
> [hidden email]
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners