<div dir="ltr">I tried updating straight through from 4322->4351 (i.e. ignoring the message on 4342 saying I need to restart, since that would be the only way to avoid hanging after 4342) but it still white screens for me on restart. Does the world state fix need to be applied either right before or right after 4342? (I'm OK with a manual step if fixing it in the update changesets isn't feasible, I just need to know what the fix is and when to apply it)</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Aug 17, 2020 at 1:17 PM Juan Vuletich <<a href="mailto:juan@jvuletich.org">juan@jvuletich.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div bgcolor="#ffffff">
On 8/16/2020 11:55 PM, Phil B via Cuis-dev wrote:
<blockquote type="cite">
<div dir="ltr">That appears to fix the hang when applying 4342,
but when I save and quit the image still hangs on restart (white
screen).</div>
</blockquote>
<br>
In the recent large changes to Morphic I introduced an unrelated bug
that wouldn't be apparent until saving and restarting the image. I
just pushed a fix to GitHub.<br>
<br>
I tested a bit, and I hope it is ok now.<br>
<br>
Thanks for reporting!<br>
<br>
<blockquote type="cite"><br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Aug 16, 2020 at 4:29
PM Juan Vuletich <<a href="mailto:juan@jvuletich.org" target="_blank">juan@jvuletich.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#ffffff"> Wow. I think there was a random
process scheduling bug. It worked OK if installing updates
from another starting point (I don't even remember which),
but not if starting from #4322.<br>
<br>
I just pushed a new version of update #4342. The fix was to
add a Delay after spawning the new Morphic process, to give
it time to be setup before interrupting it. It seems to work
now. Please try it.<br>
<br>
Thanks, Phil!<br>
<br>
On 8/16/2020 11:59 AM, Phil B via Cuis-dev wrote:
<blockquote type="cite">
<div dir="ltr">This was my starting point: <a href="https://github.com/pbella/4322" target="_blank">https://github.com/pbella/4322</a></div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Aug 16, 2020
at 9:52 AM Phil B <<a href="mailto:pbpublist@gmail.com" target="_blank">pbpublist@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="auto">
<div>Juan,
<div dir="auto"><br>
</div>
<div dir="auto">This isn't trying to update a
development image, it's trying to reproduce the
base image in the repo. My starting point was a
4322 base image. So the issue is one of not
being able to reproducibly apply the updates.</div>
<div dir="auto"><br>
</div>
<div dir="auto">Thanks,</div>
<div dir="auto">Phil</div>
<br>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Sun, Aug
16, 2020, 7:35 AM Juan Vuletich <<a href="mailto:juan@jvuletich.org" target="_blank">juan@jvuletich.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#ffffff"> On 8/15/2020 12:24 PM,
Phil B via Cuis-dev wrote:
<blockquote type="cite">
<div dir="ltr">Nope, that didn't fix it.
When I restart the image, it hangs. Not
sure what's different with my
environment re: 4342 but it looks like
it's got problems.</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On
Sat, Aug 15, 2020 at 11:10 AM Phil B
<<a href="mailto:pbpublist@gmail.com" rel="noreferrer" target="_blank">pbpublist@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Something about 4342
results in a VectorGraphics (font?)
dependency which I didn't see a
message for until I interrupted the
hanging image. I ended up removing
the #beSilent: code and setting
author initials manually while
starting to troubleshoot which then
solved the problem so that's as far
as I took it before moving on to the
next issue.</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On
Fri, Aug 14, 2020 at 12:59 PM Phil
B <<a href="mailto:pbpublist@gmail.com" rel="noreferrer" target="_blank">pbpublist@gmail.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">When I just tried
to update my image, the image
hangs while processing 4342. I
see the Transcript message that
says 'Please restart [Install
New Updates]' but the UI is
frozen...
<div><br>
</div>
<div>Thanks,</div>
<div>Phil</div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
<br>
Hi Phil,<br>
<br>
For most people, the general advice is to
just use a new, updated image from the repo.
In general, I think that keeping own work
separate from the image, and loading it
every day, is the best workflow. It works
for me.<br>
<br>
Still, if you want to update your personal
image, use the FileList to take a look at
update #4342. See what it does. It does only
what it says: It removes an unused ivar from
HandMorph. Just not applying this update
will not have serious consequences. This can
be done by editing the doIt in the
changeset. In your image, HandMorph will
still have an unused ivar. It is not a big
deal.<br>
<br>
Another alternative, of course, is to debug
the problem. Extract the doit from the
changeset. Evaluate it in a Workspace. If it
crashes, repeat with smaller parts. Can you
fork a process that just sets a global
variable? If so, can you make it print to
Transcript. (This is an extremely useful
technique when messing with Morphic itself,
that's why we have a Transcript that runs
independent of Morphic). Ok. Can you stop
the Morphic process and start a new one? Can
you redefine class HandMorph with the same
definition as it has today? And so on. Part
of what comes with the personal mastery of
your own image is this. Its problems are
also yours!<br>
<br>
If all this fails, you can make your image
available to me and I'll take a look.<br>
<br>
Cheers,<br>
<pre cols="72">--
Juan Vuletich
<a href="http://www.cuis-smalltalk.org" rel="noreferrer" target="_blank">www.cuis-smalltalk.org</a>
<a href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev" rel="noreferrer" target="_blank">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a href="https://github.com/jvuletich" rel="noreferrer" target="_blank">https://github.com/jvuletich</a>
<a href="https://www.linkedin.com/in/juan-vuletich-75611b3" rel="noreferrer" target="_blank">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</blockquote>
<br>
<br>
<pre cols="72">--
Juan Vuletich
<a href="http://www.cuis-smalltalk.org" target="_blank">www.cuis-smalltalk.org</a>
<a href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev" target="_blank">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a href="https://github.com/jvuletich" target="_blank">https://github.com/jvuletich</a>
<a href="https://www.linkedin.com/in/juan-vuletich-75611b3" target="_blank">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
</div>
</blockquote>
</div>
</blockquote>
<br>
<br>
<pre cols="72">--
Juan Vuletich
<a href="http://www.cuis-smalltalk.org" target="_blank">www.cuis-smalltalk.org</a>
<a href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev" target="_blank">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a href="https://github.com/jvuletich" target="_blank">https://github.com/jvuletich</a>
<a href="https://www.linkedin.com/in/juan-vuletich-75611b3" target="_blank">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
</div>
</blockquote></div>