Etoys Again: saving a project
Edwin Ancaer <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.squeak.general |
|---|---|
| Message-ID | <CAMSnosOuZ7H9cC2U4URu0GXB5UmiG1ZuWBMh5tK7kuoYsdmtYA@mail.gmail.com> |
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]
rocks_error_saving.png
(image/png, 118.8 KB) - not displayed