Robert, Thanks for fixing that. I didn't realize that the code in the text morph wasn't persistent. Makes sense now that you've explained it. I'd seen the Local code browser before, but wasn't aware of its purpose and use. Is there some documentation on the different browsers (System, Local code, Wiki code) somewhere? If not, maybe I should write some ;)<br>
<br><div class="gmail_quote">On Tue, Jul 13, 2010 at 9:22 PM, Robert Krahn <span dir="ltr"><<a href="mailto:robert.krahn@student.hpi.uni-potsdam.de">robert.krahn@student.hpi.uni-potsdam.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The problem that appeared is the following:<br>
<br>
A class LauncherMorph was defined and the page saved with an open instance of that class. On world load the class wasn't found and an error was raised. I changed the startup logic so that it will start anyway. All morphs that could not be serialized correctly will appear with a red border around it. To find them programmatically do:<br>
<br>
emergencyMorphs = []<br>
WorldMorph.current().withAllSubmorphsDo(function() {<br>
if (this.isEmergencyMorph) emergencyMorphs.push(this)<br>
});<br>
<br>
To persistently add a class definition to a world please use the Local code browser and add the class there (example <a href="http://www.lively-kernel.org/repository/lively-wiki/users/robertkrahn/pshouse_test2.xhtml" target="_blank">http://www.lively-kernel.org/repository/lively-wiki/users/robertkrahn/pshouse_test2.xhtml</a>).<br>
<br>
Alternatively add the class definition to a module and make sure that module is added to the local requirements list.<br>
<br>
Best,<br>
<font color="#888888">Robert<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
On Jul 14, 2010, at 1:40 AM, <a href="mailto:roger@stat.berkeley.edu">roger@stat.berkeley.edu</a> wrote:<br>
<br>
> to the forum:<br>
><br>
> When I go (for example) to:<br>
><br>
> test2.xhtml (20433 --pshouse)<br>
><br>
> <a href="http://www.lively-kernel.org/repository/lively-wiki/users/pshouse/test2.xhtml?1279062330983" target="_blank">http://www.lively-kernel.org/repository/lively-wiki/users/pshouse/test2.xhtml?1279062330983</a><br>
><br>
> I can't see the mouse pointer, nor<br>
> select text in the box there. I can't select at:<br>
><br>
> <a href="http://www.lively-kernel.org/repository/lively-wiki/Gaucho-UROP.xhtml?1279062414323" target="_blank">http://www.lively-kernel.org/repository/lively-wiki/Gaucho-UROP.xhtml?1279062414323</a><br>
><br>
><br>
> I am using Safari 5.0. As a check<br>
> against Safari, I downloaded Google<br>
> Chrome and had the same trouble with it.<br>
> I made attempts yesterday and today.<br>
><br>
> For me, this is not an urgent matter;<br>
> but if no-one else is having the difficulty,<br>
> I would like to know.<br>
><br>
> Thank you,<br>
><br>
> Roger Purves<br>
><br>
> (2008 MacBook, OSX 10.5.8)<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> lively-kernel mailing list<br>
> <a href="mailto:lively-kernel@hpi.uni-potsdam.de">lively-kernel@hpi.uni-potsdam.de</a><br>
> <a href="http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel" target="_blank">http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel</a><br>
<br>
_______________________________________________<br>
lively-kernel mailing list<br>
<a href="mailto:lively-kernel@hpi.uni-potsdam.de">lively-kernel@hpi.uni-potsdam.de</a><br>
<a href="http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel" target="_blank">http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel</a><br>
</div></div></blockquote></div><br>