<HTML>
<HEAD>
<TITLE>[BUG] Saving a TTSampleStringMorph inside a PasteUp Morph</TITLE>
</HEAD>
<BODY>
<FONT FACE="Verdana">This is a old problem.<BR>
If you put a TTSampleStringMorph inside a PasteUp Morph and save as morph, later load as project give the following.<BR>
<BR>
<BR>
18 November 2002 10:10:29 am<BR>
<BR>
VM: Mac OS - Squeak3.4alpha of '11 November 2002' [latest update: #5109]<BR>
Image: Squeak3.4alpha [latest update: #5108]<BR>
<BR>
MatrixTransform2x3(Object)>>doesNotUnderstand:<BR>
Receiver: MatrixTransform2x3(<BR>
1.0 0.0 0.0<BR>
0.0 1.0 0.0<BR>
)<BR>
Arguments and temporary variables: <BR>
aMessage: a Message with selector: #restoreEndianness and arguments: #()<BR>
Receiver's instance variables: <BR>
MatrixTransform2x3(<BR>
1.0 0.0 0.0<BR>
0.0 1.0 0.0<BR>
)<BR>
<BR>
StandardFileStream>>nextWordsInto:<BR>
Receiver: StandardFileStream: 'Argos:Programacion:Smalltalk:Squeak:Big Endian Surprise.project'<BR>
Arguments and temporary variables: <BR>
aBitmap: MatrixTransform2x3(<BR>
1.0 0.0 0.0<BR>
0.0 1.0 0.0<BR>
)<BR>
Receiver's instance variables: <BR>
<BR>
<BR>
MatrixTransform2x3 class>>newFromStream:<BR>
Receiver: MatrixTransform2x3<BR>
Arguments and temporary variables: <BR>
s: StandardFileStream: 'Argos:Programacion:Smalltalk:Squeak:Big Endian Surprise...etc...<BR>
Receiver's instance variables: <BR>
superclass: DisplayTransform<BR>
methodDict: a MethodDictionary(#=->a CompiledMethod (1956) #a11->a CompiledMeth...etc...<BR>
format: 770<BR>
instanceVariables: nil<BR>
organization: ('initialize' setIdentiy)<BR>
('accessing' at: at:put: inverseTransfo...etc...<BR>
subclasses: nil<BR>
name: #MatrixTransform2x3<BR>
classPool: nil<BR>
sharedPools: nil<BR>
environment: nil<BR>
category: nil<BR>
<BR>
SmartRefStream(DataStream)>>readWordLike<BR>
Receiver: a SmartRefStream<BR>
Arguments and temporary variables: <BR>
refPosn: 38456<BR>
aSymbol: #MatrixTransform2x3<BR>
newClass: MatrixTransform2x3<BR>
anObject: nil<BR>
Receiver's instance variables: <BR>
byteStream: StandardFileStream: 'Argos:Programacion:Smalltalk:Squeak:Big Endian...etc...<BR>
topCall: #marked<BR>
basePos: 161<BR>
references: an IdentityDictionary()<BR>
objects: an IdentityDictionary(5->#('class structure' a Dictionary(#Array->#(0)...etc...<BR>
currentReference: 38456<BR>
fwdRefEnds: an IdentityDictionary()<BR>
blockers: an IdentityDictionary()<BR>
skipping: an IdentitySet()<BR>
insideASegment: false<BR>
structures: a Dictionary(#Array->#(0) #ArrayedCollection->#(0) #Association->#(...etc...<BR>
steady: a Set(Color MatrixTransform2x3 PasteUpMorph Integer Symbol TTGlyph Stri...etc...<BR>
reshaped: nil<BR>
renamed: a Dictionary(#FlasherMorph->#Flasher )<BR>
renamedConv: a Dictionary()<BR>
superclasses: a Dictionary(#Array->#ArrayedCollection #ArrayedCollection->#Sequ...etc...<BR>
progressBar: nil<BR>
objCount: nil<BR>
classInstVars: nil<BR>
<BR>
<BR>
--- The full stack ---<BR>
MatrixTransform2x3(Object)>>doesNotUnderstand:<BR>
StandardFileStream>>nextWordsInto:<BR>
MatrixTransform2x3 class>>newFromStream:<BR>
SmartRefStream(DataStream)>>readWordLike<BR>
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<BR>
SmartRefStream(DataStream)>>next<BR>
SmartRefStream(ReferenceStream)>>next<BR>
SmartRefStream>>next<BR>
Association(Object)>>readDataFrom:size:<BR>
SmartRefStream>>readInstanceSize:clsname:refPosn:<BR>
SmartRefStream>>readShortInst<BR>
SmartRefStream(DataStream)>>next<BR>
SmartRefStream(ReferenceStream)>>next<BR>
SmartRefStream>>next<BR>
SmartRefStream(DataStream)>>readArray<BR>
SmartRefStream(DataStream)>>next<BR>
SmartRefStream(ReferenceStream)>>next<BR>
SmartRefStream>>next<BR>
TTCompositeGlyph(Object)>>readDataFrom:size:<BR>
SmartRefStream>>readInstanceSize:clsname:refPosn:<BR>
SmartRefStream>>readShortInst<BR>
SmartRefStream(DataStream)>>next<BR>
SmartRefStream(ReferenceStream)>>next<BR>
SmartRefStream>>next<BR>
SmartRefStream(DataStream)>>readArray<BR>
SmartRefStream(DataStream)>>next<BR>
SmartRefStream(ReferenceStream)>>next<BR>
SmartRefStream>>next<BR>
TTFontDescription(Object)>>readDataFrom:size:<BR>
SmartRefStream>>readInstanceSize:clsname:refPosn:<BR>
SmartRefStream>>readShortInst<BR>
SmartRefStream(DataStream)>>next<BR>
SmartRefStream(ReferenceStream)>>next<BR>
SmartRefStream>>next<BR>
TTSampleStringMorph(Object)>>readDataFrom:size:<BR>
SmartRefStream>>readInstanceSize:clsname:refPosn:<BR>
SmartRefStream>>readShortInst<BR>
SmartRefStream(DataStream)>>next<BR>
SmartRefStream(ReferenceStream)>>next<BR>
SmartRefStream>>next<BR>
SmartRefStream(DataStream)>>readArray<BR>
SmartRefStream(DataStream)>>next<BR>
SmartRefStream(ReferenceStream)>>next<BR>
SmartRefStream>>next<BR>
PasteUpMorph(Object)>>readDataFrom:size:<BR>
SmartRefStream>>readInstanceSize:clsname:refPosn:<BR>
SmartRefStream>>readShortInst<BR>
SmartRefStream(DataStream)>>next<BR>
...etc...<BR>
<BR>
<BR>
I notify this a long time ago and thanks Ned advice fix on Mac but not on Windows.<BR>
<BR>
Now , I resume the facts.<BR>
<BR>
In a fresh Squeak3.2-4956.image , the problem shows, but if you start a new prpject and save that project (.pr in Squaklets ), no problem at all.<BR>
<BR>
In a fresh Squeak3.4a-5108.image, the problem is worst, you can’t save the project (.pr)<BR>
<BR>
If you load the .pr saved from Squeak3.2-4956.image , not problem at all<BR>
<BR>
<BR>
Hope this is useful to fix this.<BR>
<BR>
I like improve my MorphicCards for send to Squeakers .<BR>
<BR>
Edgar</FONT>
</BODY>
</HTML>