<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    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
cite="mid:CAMJMOeiitpfEYm=t5yP6P2E1nLeFEYKZYEuySxrVegBGtbh8nw@mail.gmail.com"
      type="cite">
      <div dir="ltr">This was my starting point: <a
          moz-do-not-send="true" href="https://github.com/pbella/4322">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 moz-do-not-send="true"
            href="mailto:pbpublist@gmail.com">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 moz-do-not-send="true"
                    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
                            moz-do-not-send="true"
                            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
                                moz-do-not-send="true"
                                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 moz-do-not-send="true" href="http://www.cuis-smalltalk.org" rel="noreferrer" target="_blank">www.cuis-smalltalk.org</a>
<a moz-do-not-send="true" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev" rel="noreferrer" target="_blank">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a moz-do-not-send="true" href="https://github.com/jvuletich" rel="noreferrer" target="_blank">https://github.com/jvuletich</a>
<a moz-do-not-send="true" 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 class="moz-signature" cols="72">-- 
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
  </body>
</html>