<!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 Hilaire,<br>
<br>
On 2/11/2024 7:43 AM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:22b4d21a-6605-45c9-b3ce-3a68c176dde5@free.fr"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p><font size="4">Hi Juan, <br>
</font></p>
<p><font size="4">I am not sure about what you meant in your
message. I understand now the issue, though.<br>
</font></p>
</blockquote>
<br>
Ok. I'll try again, going into more detail. I hope this will be of
help. This is what I did, and how I found what I found:<br>
<br>
1) Startted the image you saved at Dropbox.<br>
2) See several red Warning windows. On any one of them, I click on
[Debug]<br>
3) In the debugger I see that someone is doing `Warning signal:
stuff`. The sender doesn't appear in the debugger, because it is in
a different process.<br>
4) I click on the [senders] button, to see senders of
#logStartupError. 3 senders appear, but the only possible one is
#logStartupDebugAid:.<br>
5) Clock [senders] there, to find the senders of
#logStartupDebugAid:. There is only one. See what argument is send.
Confirm that #logStartupDebugAid: is indeed the method doing this.<br>
6) Notice that #logStartupDebugAid: asks #logStartupDebugAids. See
in the implementor of #logStartupDebugAids that If there exists a
global named #LogStartupDebugAids, and it its value is true, this
Warning gets thrown.<br>
7) Evaluate `Smalltalk logStartupDebugAids`. Answer is true. Do the
same in the official Cuis image. Answer is false.<br>
8) Look for senders of the global name: #LogStartupDebugAids Find
out that DrGeoSystem class >> #install does `Smalltalk at:
#LogStartupDebugAids put: true.`<br>
9) I understand that one solution is not to do that in DrGeoSystem
class. The other solution is to change #logStartupError: into
something like #logStartupNotice: that writes to Transcript but
doesn't rise an exception.<br>
<br>
I guess sometimes I assume that everybody will go through similar
steps when debugging a problem. Obviously that's not true!<br>
<br>
<blockquote cite="mid:22b4d21a-6605-45c9-b3ce-3a68c176dde5@free.fr"
type="cite">
<p><font size="4"> </font></p>
<p><font size="4">Do you want me to implement the logStartWarning
method and associated preference? Or is it already in the
development version of Cuis?</font></p>
</blockquote>
<br>
Just check the attach. Addi it to the CoreUpdates folder. Be sure
that
[r6.2]-6157-UseOfSizeForCopy-GeraldKlix-2024Feb01-21h27m-KLG.001.cs.st
is also there, and that your build script installs updates.<br>
<br>
Please give back feefback. If this works as intended, I'll push it
both to 6.2Stable and 6.3Rolling repos.<br>
<br>
<blockquote cite="mid:22b4d21a-6605-45c9-b3ce-3a68c176dde5@free.fr"
type="cite">
<p><font size="4">I am using 6.2 right now.<br>
</font></p>
<p><font size="4">Thanks</font></p>
<p><font size="4">Hilaire<br>
</font></p>
<div class="moz-cite-prefix">Le 10/02/2024 à 22:14, Juan Vuletich
a écrit :<br>
</div>
<blockquote type="cite" cite="mid:65C7E742.10400@cuis.st">Hi
Hilaire,<br>
<br>
Just took a look.<br>
<br>
In DrGeoSystem class >> #install you do `Smalltalk at:
#LogStartupDebugAids put: true.`<br>
<br>
This means calling #logStartupError: several times. Check
#logStartupDebugAid: and its senders.<br>
<br>
But it could instead call a new, less intrusive
#logStartupWarning (that doesn't actually raise an exception).<br>
<br>
I guess the easiest way is that you prepare such update, play a
bit with it until happy, and post it to this list. Can you do
that?<br>
<br>
Thanks,</blockquote>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://gnu.org/s/dr-geo/">http://gnu.org/s/dr-geo/</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://gnu-drgeo.blogspot.com/">http://gnu-drgeo.blogspot.com/</a></pre>
</blockquote>
<br>
Thanks,<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>