Re: Etoys Again: saving a project

Edwin Ancaer <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.general
Message-ID <CAMSnosMEhavmoSCLAH=qV=gKYRyooJ+3UW8KQJXM=0SDoa=GAQ@mail.gmail.com>
The error has nothing to do with Etoys, but is in the way Projects are
saved and loaded.

I tried to follow along, by just reading the code, but with renamed and
reshaped classes, fake objects, outpointer arrays.... I must admit I am
just overwhelmed by 'details'. I get there is this class MultiNewParagraph,
that is expected to be in the structures instance variable of the
SmartRefStream class, and for one reason or another, it is not there (maybe
not surprising as it is not in the image, being renamed to  NewParagraph as
I can see in the method initKnownRenames of the SmartRefStream class).

Is there any document explaining the base vocabulary and principles of
Projects, because without, I can't make much sense of all this.
And having just read that "Smalltalk's design, with it's emphasis on
messaging and late binding, was intended to create a metamedium where users
could explore and modify the system itself", I'm feeling pretty dumb right
now...🤯. Apparently, people were much smarter in those days...






*;


Op ma 1 jun 2026 om 18:16 schreef Yoshiki Ohshima via Squeak-dev <
[email protected]>:

> I am glad to see etoysillinois.org is still alive. And I am mildly
> surprised that a .pr file can be loaded into a 6.1 based Etoys. I guess
> somebody worked on it so that  an SExp based project can be loaded into it.
> (thanks)
>
> I can load and "save" a project from etoysillinois.org onto
> https://squeak.js.org/etoys/ which is definitely compatible. The "save"
> has quotes as it does not let you simply download.
>
> On Mon, Jun 1, 2026 at 8:21 AM Edwin Ancaer <[email protected]> wrote:
>
>>
>> Hello,
>>
>> With Squeak6.1 installed, I now can load and run Etoys projects that I
>> copied from etoysillinois.org. However, when publishing them, I get a
>> DialogWindow saying
>>
>> "
>>
>>
>> *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 then can choose to stop and get a look or to keep going.
>>
>> When I choose to stop and get a look, the following error pops up;
>>
>> [image: rocks_error_saving.png]
>>
>> Can someone tell me what is the problem with the MorphicAlarmQueue
>> initialize.
>>
>> As far as I can see, no instance variables are used inside a block here,
>> only method calls:
>>
>> *initialize*
>> super initialize.
>> mutex := Mutex new.
>> sequenceNumber := 0.
>> heap := Heap sortBlock: [ :alarmA :alarmB |
>>     alarmA scheduledTime = alarmB scheduledTime
>>         ifFalse: [ alarmA scheduledTime < alarmB scheduledTime ]
>>         ifTrue: [
>>             alarmA sequenceNumber = alarmB sequenceNumber
>>                 ifFalse: [ alarmA sequenceNumber < alarmB sequenceNumber
>> ]
>>                 ifTrue: [ self error: 'These alarms run at the same time'
>> ] ] ]
>>
>> Can someone tell me what I am missing here?
>>
>> When I choose to keep going, there is no problem and the projects gets
>> saved. However, when I now try to load it, I get an error: class is not in
>> structures list.  Still researching that one, however.
>>
>> Thanks for any help,
>>
>> Edwin Ancaer
>> Squeak-dev mailing list -- [email protected]
>> To unsubscribe send an email to
>> [email protected]
>
>
>
> --
> -- Yoshiki
>
> Squeak-dev mailing list -- [email protected]
> To unsubscribe send an email to
> [email protected]

Squeak-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
rocks_error_saving.png (image/png, 118.8 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.