<!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">
Hi Mark,<br>
<br>
It was me last night. While fixing #matchStart: I broke #upToall:.<br>
<br>
Thank you very much for tracking it down! You pointed exactly to the
source of the problem. That made it easy to fix.<br>
<br>
I just pushed a fix to GitHub, together with a test.<br>
<br>
Apologies for the inconvenience.<br>
<br>
On 10/28/2024 9:52 PM, Mark Volkmann via Cuis-dev wrote:
<blockquote
cite="mid:CAFfRWnXGPJKD+JY5mOgibW7j7A0xgA47azhQ4dVJzVM7E-kFFw@mail.gmail.com"
type="cite">
<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 moz-do-not-send="true"
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: 1px solid 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 moz-do-not-send="true"
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: 1px solid 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 moz-do-not-send="true"
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>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich</pre>
</body>
</html>