Error: this context was not included in the image segment

Andreas Raab andreas.raab at gmx.de
Tue Dec 7 05:49:13 UTC 2004


> Any ideas, where I should be looking?

Yes. Look at the error message (e.g., the point where the error is raised). 
You will find that ContextPart>>storeDataOn: beside the error contains the 
enlightening comment that "Contexts are not allowed go to out in 
DataStreams.  They must be included inside an ImageSegment."

In other words, your not doing anything with image segments is the problem 
and the error is telling you that you ought to store contexts in image 
segments if you must do so at all (generally it is an Extremely Bad Idea to 
do this).

Cheers,
  - Andreas

----- Original Message ----- 
From: "Ingo Hohmann" <iho at gmx.de>
To: <squeak-dev at lists.squeakfoundation.org>
Sent: Monday, December 06, 2004 9:31 PM
Subject: Error: this context was not included in the image segment


> Hi All,
>
> I get the error mentioned above, when I try to run #saveToDisk below.
> Funny thing is, I'm not doing anything with image segments, at least not
> knkowingly :-)
>
> Squeak 3.7gamma 5985
> (tried code update, but it says all servers are down)
>
> Object subclass: #IhoCalEntryList
> instanceVariableNames: 'myList'
>
> saveToDisk
> | fileStream |
> self ihoFlag: 'make filename changeable'.
> fileStream := FileStream newFileNamed: 'IhoCalEntryList.data'.
> fileStream fileOutClass: nil andObject: self
>
>
> Any ideas, where I should be looking?
>
>
> Ingo
>
> 




More information about the Squeak-dev mailing list