Hello, all<div>I&#39;m trying to run a script that backups my objects using ImageSegments, using this code:&nbsp;<br><div><br class="webkit-block-placeholder"></div><div><div><span class="Apple-tab-span" style="white-space: pre; ">
        </span>| aFile |</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>aFile := FileStream newFileNamed: &#39;backup.obj&#39;.</div><div><span class="Apple-tab-span" style="white-space: pre; ">        </span>
aFile fileOutClass: nil andObject: WBUser all.</div></div></div><div><br class="webkit-block-placeholder"></div><div>When I test the script (in another image, not the broken one), and I&#39;m getting the following error:&nbsp;
</div><div>&quot;This context was not include in the ImageSegment&quot;. It seems to be in ContextPart#storeDataOn:, because of this line:</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">
        </span>aDataStream insideASegment ifTrue: [^ super storeDataOn: aDataStream].</div><div>&nbsp;</div><div>which is returning false at #insideASegment...&nbsp;</div><div><br class="webkit-block-placeholder"></div><div>I&#39;m already tried other code, like:&nbsp;
</div><div><br class="webkit-block-placeholder"></div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>| aSegment aStream |</div><div><br class="webkit-block-placeholder"></div><div><span class="Apple-tab-span" style="white-space:pre">
        </span>aStream := FileDirectory default newFileNamed: &#39;backup.dat&#39;.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>aSegment := ImageSegment new.</div><div><span class="Apple-tab-span" style="white-space:pre">
        </span>aSegment copyFromRoots: (WBUser all asArray) sizeHint: 100000 areUnique: true.</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>aSegment writeForExportOn: aStream.</div><div><br class="webkit-block-placeholder">
</div><div>And I&#39;m getting the same error...&nbsp;</div><div>¿Does anybody knows what I&#39;m doing wrong?</div></div><div><br class="webkit-block-placeholder"></div><div>Thanks,</div><div>Esteban<br><div><br><div class="gmail_quote">
On Nov 28, 2007 6:52 PM, Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com">estebanlm@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi Gulik,<div>No, it was not a morphic application, but seaside 2.8. And yes, I have REPLServer installed and running but it was useless :(</div><div><br></div><div>Thanks,&nbsp;</div><div><font color="#888888">Esteban&nbsp;
</font><div><div></div><div class="Wj3C7c"><br><br><div class="gmail_quote">On Nov 28, 2007 4:56 PM, Michael van der Gulik &lt;<a href="mailto:mikevdg@gmail.com" target="_blank">mikevdg@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<br><br><div class="gmail_quote"><div>On Nov 28, 2007 9:56 AM, Esteban Lorenzano &lt;<a href="mailto:estebanlm@gmail.com" target="_blank">estebanlm@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left:1px solid rgb(204, 204, 204);margin:0pt 0pt 0pt 0.8ex;padding-left:1ex">


Hi all,<div>I have an image that is not working anymore, and I can not take control from that (the image starts, but i can&#39;t press any key, not even cmd+.)</div><div>Is there a way to load the image (as an ImageSegment or something like that) so I can recover the objects I need?&nbsp;
<br clear="all"></div></blockquote></div><div><br>Do you mind if I ask what happened so that the image broke? Was it a custom morph?<br><br>Under some circumstances, it is possible to recover a broken image if you have prepared for the case of failure. I use REPLServer, which is a telnet server that executes Smalltalk commands in the image, to enter these image via a &quot;back door&quot; and then recover the image manually. One helpful command in REPLServer is:
<br><br>: utils rebootMorphic.<br><br>Which starts you on a completely fresh, newly created Morphic project and usually gets things going again. You can also suspend all (non-vital) processes and restart only the core Morphic process to work out what went wrong.
<br><br>REPLServer is available via the PackageUniverse in 3.10. Send all bug reports to me :-).<br><br>Gulik.<br></div></div><font color="#888888"><br>-- <br><a href="http://people.squeakfoundation.org/person/mikevdg" target="_blank">

http://people.squeakfoundation.org/person/mikevdg
</a><br><a href="http://gulik.pbwiki.com/" target="_blank">http://gulik.pbwiki.com/</a>
</font><br><br><br></blockquote></div><br><br clear="all"><br></div></div><div class="Ih2E3d">-- <br>&quot;Querer es suscitar las paradojas&quot;<br>Camus. El míto de Sísifo.
</div></div>
</blockquote></div><br><br clear="all"><br>-- <br>&quot;Querer es suscitar las paradojas&quot;<br>Camus. El míto de Sísifo.
</div></div>