<div dir="ltr">The error seems to be in this code:<div><br></div><div><font face="monospace">(scheme = 'http' or:[scheme = 'https'])<br> ifFalse:[self error: 'Unsupported scheme: ', scheme].</font><br></div><div><br></div><div>If I comment that out, all the tests pass again.</div><div><br></div><div>The scheme variable is set with this line:</div><div><br></div><div><font face="monospace"> scheme := (urlStream upToAll: '://') asLowercase.<br></font></div><div><br></div><div>I wonder if the <font face="monospace">upToAll:</font> method changed recently.</div><div>I see that there have been several commits to the Network-Kernel package recently.</div><div>The WebClient package also implements the <font face="monospace">upToAll:</font> method.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 28, 2024 at 8:40 PM Mark Volkmann <<a href="mailto:r.mark.volkmann@gmail.com">r.mark.volkmann@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">The error comes from the <font face="monospace">WebClient</font> method <font face="monospace">initializeFromUrl</font>.<div>That method checks that the value of the <font face="monospace">scheme</font> variable is either <font face="monospace">'http'</font> or <font face="monospace">'https'</font>.</div><div>But the value is <font face="monospace">'http:'</font> with a colon.</div><div>Perhaps something changed with the way the scheme is extracted from URLs.</div><div>I'll keep digging.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Oct 28, 2024 at 8:36 PM Mark Volkmann <<a href="mailto:r.mark.volkmann@gmail.com" target="_blank">r.mark.volkmann@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">After pulling the latest on Cuis-Smalltalk-Dev, launching the base image, and selecting "Changes ... Install New Updates" from the World menu, I'm getting an error that says "Unsupported scheme: http" when I run the unit tests in my WebClientPlus package. I haven't been able to track down the cause yet, but I can explain how to reproduce it.<div><br></div><div>1. git clone <a href="https://github.com/mvolkmann/Cuis-Smalltalk-WebClientPlus.git" target="_blank">https://github.com/mvolkmann/Cuis-Smalltalk-WebClientPlus.git</a></div><div>2. Start the base image Cuis7.1-6770.image.</div><div>3. Do not "Install New Updates".</div><div>4. Evaluate "Feature require: 'WebClientPlus'." in a Workspace.</div><div>5. Open an SUnit Test Runner window.</div><div>6. Select "DogWebServerTests" and click the Run button.</div><div>7. Note that all the tests pass.</div><div>8. Open the World menu and select "Changes ... Install New Updates".</div><div>9. Run the tests again and note that they all fail with the error "Unsupported scheme: http:"</div><div><br></div><div>I'll keep trying to track this down, but I wanted to share this in case someone recognizes this error and knows how to fix it.<br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">R. Mark Volkmann</font></div><div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Object Computing, Inc.</font></span></div></div></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">R. Mark Volkmann</font></div><div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Object Computing, Inc.</font></span></div></div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div><font face="arial, helvetica, sans-serif">R. Mark Volkmann</font></div><div><span style="font-size:12.8px"><font face="arial, helvetica, sans-serif">Object Computing, Inc.</font></span></div></div></div></div></div></div></div></div>