<div dir="ltr">Sorry, for a correction, it's not an array out of bounds exception. The error seems like it's caused by sending a message to a nil object.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Dec 25, 2022 at 1:23 AM Alan Dao <<a href="mailto:alan.n.dao@gmail.com">alan.n.dao@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Ya, I figured you meant the opposite :)<div><br></div><div>To keep the bug reports coming, I've been able to reproduce a Morphic hang on 5608. This time, I have some faulty code for accessing an array out of bounds in BebopFrequencyVisualizerSoundWave drawOn:.</div><div><br></div><div>Here are the steps below to reproduce the hang:</div><div>- Pull repos<br>- Start fresh Cuis (on version 6.0-5608).<br></div><div>- Load package 'Bebop'</div><div>- Do World / New morph... / Vector Graphics / BebopFrequencyVisualizer<br></div><div><br></div><div>I've attached my updated package to this email. Can you take a look into this when you get a chance?</div><div><br></div><div>Best,</div><div>Alan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Dec 20, 2022 at 11:05 AM Juan Vuletich <<a href="mailto:juan@cuis.st" target="_blank">juan@cuis.st</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><u></u>

  
    
    
  
  <div bgcolor="#ffffff">
    On 12/20/2022 3:35 PM, Alan Dao via Cuis-dev wrote:
    <blockquote type="cite">
      <div dir="ltr">Thanks for the reassurance 👍
        <div><br>
        </div>
        <div>I installed the updates and saved as a new 5604 release. My
          start-up script works as it did before now.</div>
        <div><br>
        </div>
        <div>Cheers,</div>
        <div>Alan</div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Tue, Dec 20, 2022 at 5:56
          AM Juan Vuletich <<a href="mailto:juan@cuis.st" target="_blank">juan@cuis.st</a>> wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
          <div bgcolor="#ffffff"> Hi Alan,<br>
            <br>
            On 12/20/2022 3:27 AM, Alan Dao via Cuis-dev wrote:
            <blockquote type="cite">
              <div dir="ltr">Hope I'm not annoying by bringing this up,
              </div>
            </blockquote>
            <br>
            Never hesitate in asking for help or reporting some problem!
            Open communications is fundamental for us. Each of us will
            use Cuis in different ways and will find different issues or
            areas to improve. By getting all those experiences together
            we can build something that is idiosyncratic and useful for
            more people!<br>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
    I mean "is not too idiosyncratic", i.e. that suits well different
    people, and is not too oriented to someone's preferences against
    other's.<br>
    <br>
    Thanks,<br>
    <br>
    <blockquote type="cite">
      <div class="gmail_quote">
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
          <div bgcolor="#ffffff"> <br>
            <blockquote type="cite">
              <div dir="ltr">but I pulled the latest changes, 5601 and
                5602, and unfortunately it breaks my startup script for
                setting up my workspace/browser windows. More
                specifically, my windows aren't appearing and the
                background doesn't switch to the dark theme. When I
                comment out "ChangeSet installNewUpdates.", my
                workspace/browser windows appear as intended.
                <div><br>
                </div>
                <div>Could you take a look and see what's going wrong?
                  I've attached my startup script below. You can try
                  commenting out "ChangeSet installNewUpdates." to see
                  the impact of the latest changes. I've been running my
                  startup script through this terminal command:</div>
                <div>
                  <p style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span>/Applications/Squeak.app/Contents/MacOS/Squeak

                      /Users/alandao/Cuis/Cuis-Smalltalk-Dev/Cuis6.0-5542.image

                      -s /Users/alandao/Scripts/<a href="http://init_workbench.st" target="_blank">init_workbench.st</a></span></p>
                </div>
              </div>
            </blockquote>
            <br>
            Thanks for providing all the pieces and details. In this
            particular case, most likely the problem is that in the last
            changesets I restarted the Morphic process, and this means
            that the latter part of your script will not be run.<br>
            <br>
            Please try this:<br>
            - Start Cuis<br>
            - Install new updates<br>
            - Save and exit<br>
            <br>
            Now try again. I believe it will work as usual (or please
            report back).<br>
            <br>
            This issue will get solved for you when I save new, updated
            Cuis images, that already include all the change sets. I can
            do this later today.<br>
            <br>
            <blockquote type="cite">
              <div dir="ltr">
                <div>
                  <div>
                    <div>Alternatively, I'd be ok with re-writing my
                      script if the way I did it was hacked up together,
                      as long as there's a way to migrate this script
                      over. Any help would be appreciated!</div>
                  </div>
                </div>
                <div><br>
                </div>
                <div>Also, thanks for the suggestions to the step
                  method. The package itself is still in extremely early
                  development, but once I get the UI to where I want it,
                  I'll look into optimizations.</div>
                <div><br>
                </div>
                <div>Best,</div>
                <div>Alan</div>
              </div>
              <br>
              <div class="gmail_quote"><br>
              </div>
            </blockquote>
            <br>
            I think you'd not need to modify your script, if my
            intuition is correct here. Please tell how it goes.<br>
            <br>
            Thanks!<br>
            <pre cols="72">-- 
Juan Vuletich
<a href="http://cuis.st" target="_blank">cuis.st</a>
<a href="http://github.com/jvuletich" target="_blank">github.com/jvuletich</a>
<a href="http://researchgate.net/profile/Juan-Vuletich" target="_blank">researchgate.net/profile/Juan-Vuletich</a>
<a href="http://independent.academia.edu/JuanVuletich" target="_blank">independent.academia.edu/JuanVuletich</a>
<a href="http://patents.justia.com/inventor/juan-manuel-vuletich" target="_blank">patents.justia.com/inventor/juan-manuel-vuletich</a>
<a href="http://linkedin.com/in/juan-vuletich-75611b3" target="_blank">linkedin.com/in/juan-vuletich-75611b3</a>
<a href="http://twitter.com/JuanVuletich" target="_blank">twitter.com/JuanVuletich</a></pre>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
    <br>
    <pre cols="72">-- 
Juan Vuletich
<a href="http://cuis.st" target="_blank">cuis.st</a>
<a href="http://github.com/jvuletich" target="_blank">github.com/jvuletich</a>
<a href="http://researchgate.net/profile/Juan-Vuletich" target="_blank">researchgate.net/profile/Juan-Vuletich</a>
<a href="http://independent.academia.edu/JuanVuletich" target="_blank">independent.academia.edu/JuanVuletich</a>
<a href="http://patents.justia.com/inventor/juan-manuel-vuletich" target="_blank">patents.justia.com/inventor/juan-manuel-vuletich</a>
<a href="http://linkedin.com/in/juan-vuletich-75611b3" target="_blank">linkedin.com/in/juan-vuletich-75611b3</a>
<a href="http://twitter.com/JuanVuletich" target="_blank">twitter.com/JuanVuletich</a></pre>
  </div>

</blockquote></div>
</blockquote></div>