<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>On the other hand I have occasionally wished that it was possible to write a webserver without having to worry about blowing up the UI :)</div><div><br></div><div>Russell</div><div><br></div><br><div><div>On 25/05/2012, at 11:42 PM, David Goehrig wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">













<div style="background-color: rgb(255, 255, 255); position: static; z-index: auto; ">
<span style="display:none"> </span>



    <div id="ygrp-text">
      
              <p>So I was trying to shoot a screen cast last night of a web server project in Self I wrote and after making some modifications to my image that seemed innocuous I ended up with a blowup in UI2 stepProcess, in which right clicking on basically any element triggers an "Error: first is absent": </p><div>
<br></div><blockquote><div><div>Error: first is absent.</div></div><div><div>Receiver is: a link.</div></div></blockquote><div><div><br></div><div>Then if you click on Stack you get:</div>
<div><br></div></div><blockquote><div><div>No 'isReflecteeBlockMethodActivation' slot found in a list.</div></div><div><div>No 'isReflecteeBlockMethodActivation' slot found in a list.</div>
</div><div><div>Error: first is absent.</div></div><div><div>Receiver is: a link.</div></div><div><div>UI step failed twice in Self 1(type: worldMorph) -- starting debugger in new world</div></div></blockquote><div><div><br>
</div><div>Restarting the image in another world, it comes down to something is calling  hashElement: e on an empty list.  </div><div><br></div><div>Well what was going on here?</div><div><br></div><div>So digging deeper I went in and looked at the list... oh wow</div>
<div><br></div><div>list rep is a link that is pointing to objects which is pointing to a circular list produced by an old version of a typo that was in application!</div><div><br></div><div>How did that happen?</div><div>
<br></div><div>Well it looks like one of the methods had not been updated and called an old object that was never scavenged that had a copy of the code that did the wrong thing...</div><div><br></div><div>When I ran the web server it called that code, which wasn't in the objects I had been editing..</div>
<div><br></div><div>So how to fix it?</div><div><br></div><div>Well list rep needs to point to a link that points to itself... done...</div><div><br></div><div>Wow right clicking on anything works again... woot!</div><div>
<br></div><div>I wish I had this entire thing on the screen grab, but I don't.  It would have demonstrated how incredibly cool Self is where you can debug and alter a live image in the image itself even when you shoot yourself in the foot.</div>
<div><br></div><div>Dave</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>-=-=-=-=-=-=-=-=-=-=- <a href="http://blog.dloh.org/">http://blog.dloh.org/</a><br>
</div></div><div><br class="webkit-block-placeholder"></div>

    </div>
     

    

</div>



<!-- end group email -->

</blockquote></div><br></body></html>