<div class="gmail_quote">On Sun, Feb 22, 2009 at 1:38 PM, Klaus D. Witzel <span dir="ltr">&lt;<a href="mailto:klaus.witzel@cobss.com">klaus.witzel@cobss.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Yes, &quot;classic&quot; Hydra loads the second .image from file and mitosis Hydra populates (the second) an empty .image from am arrayOfObjects passed in.</blockquote><div><br>Ok...this is just, well, fun, but I can&#39;t quite figure out how to get a second image loaded with the #doIt channel &quot;working.&quot;&nbsp; I figure it&#39;s because I don&#39;t have the image I created it from set up right?&nbsp; All I did was go down the line of in the Helpful doits workspace:<br>
<br>&quot;Sanity check, are we running HydraVM?&quot;<br>HydraVM isHydra&nbsp; [true]<br><br>&quot;To prepare an image for running in background thread (careful, VM will quit if you run this)&quot;<br>HydraVM saveAsHeadlessImage: &#39;test.image&#39;&nbsp; [current image shut down and created another image]<br>
<br>&quot;To run previously prepared image&quot;<br>HydraVM loadAndRunNewImage: &#39;test.image&#39;&nbsp; [seemed to work]<br><br>&quot;How many interpreters VM currently running&quot;<br>HydraVM interpreterInstanceCount [2...this is good!]<br>
<br>&quot;Test to check if main image listening for #transcript channel ...&quot;<br>HydraChannel send: &#39;Transcript test&#39; to: (HydraInterpreter current) channel: #transcript [true after the following line]<br><br>
&quot;... if not, try doing this first: &quot;<br>HydraTranscript install<br><br>&quot;Simple test to check if second image listens #doIt channel &quot;<br>HydraChannel hasChannel: #doIt at: (HydraInterpreter at: 2)&nbsp; [false]<br>
<br>Drat!!!<br><br>&quot; ... and has Transcript global var replaced to redirect all input to main image&quot;<br>(HydraInterpreter at: 2) doIt: &#39;Transcript show: &#39;&#39;Doit Test&#39;&#39;&#39; <br><br>&quot;Do you like to install something to secondary image?&quot;<br>
(HydraInterpreter at: 2) doIt: &#39;(HTTPSocket httpGet: &#39;&#39;<a href="http://installer.pbwiki.com/f/Installer.st&#39;">installer.pbwiki.com/f/Installer.st&#39;</a>&#39;) fileIn &#39; <br><br>&quot;Do you like to save it? &quot;<br>
(HydraInterpreter at: 2) doIt: &#39;Smalltalk snapshot: true andQuit: false &#39;<br><br><br>Take care,<br><br>Rob<br></div></div><br>