<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 &nbsp;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)&gt;&gt;doesNotUnderstand:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Receiver: MatrixTransform2x3(<BR>
1.0 &nbsp;&nbsp;&nbsp;0.0 &nbsp;&nbsp;&nbsp;0.0<BR>
0.0 &nbsp;&nbsp;&nbsp;1.0 &nbsp;&nbsp;&nbsp;0.0<BR>
)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Arguments and temporary variables: <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;aMessage: &nbsp;&nbsp;&nbsp;&nbsp;a Message with selector: #restoreEndianness and arguments: #()<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Receiver's instance variables: <BR>
MatrixTransform2x3(<BR>
1.0 &nbsp;&nbsp;&nbsp;0.0 &nbsp;&nbsp;&nbsp;0.0<BR>
0.0 &nbsp;&nbsp;&nbsp;1.0 &nbsp;&nbsp;&nbsp;0.0<BR>
)<BR>
<BR>
StandardFileStream&gt;&gt;nextWordsInto:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Receiver: StandardFileStream: 'Argos:Programacion:Smalltalk:Squeak:Big Endian Surprise.project'<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Arguments and temporary variables: <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;aBitmap: &nbsp;&nbsp;&nbsp;&nbsp;MatrixTransform2x3(<BR>
1.0 &nbsp;&nbsp;&nbsp;0.0 &nbsp;&nbsp;&nbsp;0.0<BR>
0.0 &nbsp;&nbsp;&nbsp;1.0 &nbsp;&nbsp;&nbsp;0.0<BR>
)<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Receiver's instance variables: <BR>
<BR>
<BR>
MatrixTransform2x3 class&gt;&gt;newFromStream:<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Receiver: MatrixTransform2x3<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Arguments and temporary variables: <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;s: &nbsp;&nbsp;&nbsp;&nbsp;StandardFileStream: 'Argos:Programacion:Smalltalk:Squeak:Big Endian Surprise...etc...<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Receiver's instance variables: <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;superclass: &nbsp;&nbsp;&nbsp;&nbsp;DisplayTransform<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;methodDict: &nbsp;&nbsp;&nbsp;&nbsp;a MethodDictionary(#=-&gt;a CompiledMethod (1956) #a11-&gt;a CompiledMeth...etc...<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;format: &nbsp;&nbsp;&nbsp;&nbsp;770<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;instanceVariables: &nbsp;&nbsp;&nbsp;&nbsp;nil<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;organization: &nbsp;&nbsp;&nbsp;&nbsp;('initialize' setIdentiy)<BR>
('accessing' at: at:put: inverseTransfo...etc...<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subclasses: &nbsp;&nbsp;&nbsp;&nbsp;nil<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name: &nbsp;&nbsp;&nbsp;&nbsp;#MatrixTransform2x3<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;classPool: &nbsp;&nbsp;&nbsp;&nbsp;nil<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sharedPools: &nbsp;&nbsp;&nbsp;&nbsp;nil<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;environment: &nbsp;&nbsp;&nbsp;&nbsp;nil<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;category: &nbsp;&nbsp;&nbsp;&nbsp;nil<BR>
<BR>
SmartRefStream(DataStream)&gt;&gt;readWordLike<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Receiver: a SmartRefStream<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Arguments and temporary variables: <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;refPosn: &nbsp;&nbsp;&nbsp;&nbsp;38456<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;aSymbol: &nbsp;&nbsp;&nbsp;&nbsp;#MatrixTransform2x3<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;newClass: &nbsp;&nbsp;&nbsp;&nbsp;MatrixTransform2x3<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;anObject: &nbsp;&nbsp;&nbsp;&nbsp;nil<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Receiver's instance variables: <BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;byteStream: &nbsp;&nbsp;&nbsp;&nbsp;StandardFileStream: 'Argos:Programacion:Smalltalk:Squeak:Big Endian...etc...<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;topCall: &nbsp;&nbsp;&nbsp;&nbsp;#marked<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;basePos: &nbsp;&nbsp;&nbsp;&nbsp;161<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;references: &nbsp;&nbsp;&nbsp;&nbsp;an IdentityDictionary()<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objects: &nbsp;&nbsp;&nbsp;&nbsp;an IdentityDictionary(5-&gt;#('class structure' a Dictionary(#Array-&gt;#(0)...etc...<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;currentReference: &nbsp;&nbsp;&nbsp;&nbsp;38456<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fwdRefEnds: &nbsp;&nbsp;&nbsp;&nbsp;an IdentityDictionary()<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;blockers: &nbsp;&nbsp;&nbsp;&nbsp;an IdentityDictionary()<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;skipping: &nbsp;&nbsp;&nbsp;&nbsp;an IdentitySet()<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;insideASegment: &nbsp;&nbsp;&nbsp;&nbsp;false<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;structures: &nbsp;&nbsp;&nbsp;&nbsp;a Dictionary(#Array-&gt;#(0) #ArrayedCollection-&gt;#(0) #Association-&gt;#(...etc...<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;steady: &nbsp;&nbsp;&nbsp;&nbsp;a Set(Color MatrixTransform2x3 PasteUpMorph Integer Symbol TTGlyph Stri...etc...<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reshaped: &nbsp;&nbsp;&nbsp;&nbsp;nil<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;renamed: &nbsp;&nbsp;&nbsp;&nbsp;a Dictionary(#FlasherMorph-&gt;#Flasher )<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;renamedConv: &nbsp;&nbsp;&nbsp;&nbsp;a Dictionary()<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;superclasses: &nbsp;&nbsp;&nbsp;&nbsp;a Dictionary(#Array-&gt;#ArrayedCollection #ArrayedCollection-&gt;#Sequ...etc...<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;progressBar: &nbsp;&nbsp;&nbsp;&nbsp;nil<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;objCount: &nbsp;&nbsp;&nbsp;&nbsp;nil<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;classInstVars: &nbsp;&nbsp;&nbsp;&nbsp;nil<BR>
<BR>
<BR>
--- The full stack ---<BR>
MatrixTransform2x3(Object)&gt;&gt;doesNotUnderstand:<BR>
StandardFileStream&gt;&gt;nextWordsInto:<BR>
MatrixTransform2x3 class&gt;&gt;newFromStream:<BR>
SmartRefStream(DataStream)&gt;&gt;readWordLike<BR>
&nbsp;- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<BR>
SmartRefStream(DataStream)&gt;&gt;next<BR>
SmartRefStream(ReferenceStream)&gt;&gt;next<BR>
SmartRefStream&gt;&gt;next<BR>
Association(Object)&gt;&gt;readDataFrom:size:<BR>
SmartRefStream&gt;&gt;readInstanceSize:clsname:refPosn:<BR>
SmartRefStream&gt;&gt;readShortInst<BR>
SmartRefStream(DataStream)&gt;&gt;next<BR>
SmartRefStream(ReferenceStream)&gt;&gt;next<BR>
SmartRefStream&gt;&gt;next<BR>
SmartRefStream(DataStream)&gt;&gt;readArray<BR>
SmartRefStream(DataStream)&gt;&gt;next<BR>
SmartRefStream(ReferenceStream)&gt;&gt;next<BR>
SmartRefStream&gt;&gt;next<BR>
TTCompositeGlyph(Object)&gt;&gt;readDataFrom:size:<BR>
SmartRefStream&gt;&gt;readInstanceSize:clsname:refPosn:<BR>
SmartRefStream&gt;&gt;readShortInst<BR>
SmartRefStream(DataStream)&gt;&gt;next<BR>
SmartRefStream(ReferenceStream)&gt;&gt;next<BR>
SmartRefStream&gt;&gt;next<BR>
SmartRefStream(DataStream)&gt;&gt;readArray<BR>
SmartRefStream(DataStream)&gt;&gt;next<BR>
SmartRefStream(ReferenceStream)&gt;&gt;next<BR>
SmartRefStream&gt;&gt;next<BR>
TTFontDescription(Object)&gt;&gt;readDataFrom:size:<BR>
SmartRefStream&gt;&gt;readInstanceSize:clsname:refPosn:<BR>
SmartRefStream&gt;&gt;readShortInst<BR>
SmartRefStream(DataStream)&gt;&gt;next<BR>
SmartRefStream(ReferenceStream)&gt;&gt;next<BR>
SmartRefStream&gt;&gt;next<BR>
TTSampleStringMorph(Object)&gt;&gt;readDataFrom:size:<BR>
SmartRefStream&gt;&gt;readInstanceSize:clsname:refPosn:<BR>
SmartRefStream&gt;&gt;readShortInst<BR>
SmartRefStream(DataStream)&gt;&gt;next<BR>
SmartRefStream(ReferenceStream)&gt;&gt;next<BR>
SmartRefStream&gt;&gt;next<BR>
SmartRefStream(DataStream)&gt;&gt;readArray<BR>
SmartRefStream(DataStream)&gt;&gt;next<BR>
SmartRefStream(ReferenceStream)&gt;&gt;next<BR>
SmartRefStream&gt;&gt;next<BR>
PasteUpMorph(Object)&gt;&gt;readDataFrom:size:<BR>
SmartRefStream&gt;&gt;readInstanceSize:clsname:refPosn:<BR>
SmartRefStream&gt;&gt;readShortInst<BR>
SmartRefStream(DataStream)&gt;&gt;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&#8217;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>