<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Le 04/11/2019 à 12:58,
<a class="moz-txt-link-abbreviated" href="mailto:stephane.mottelet@utc.fr">stephane.mottelet@utc.fr</a> a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:20191104125829.Horde.WVn5OP_5ozk4Oqq5SFmH-hS@webmail.utc.fr">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title></title>
<p>Hello,<br>
<br>
Concerning the ATOMS problems with 6.0.2 on OSX Catalina
(Windows users please stop reading further... ;-)), I have the
following error on a freshly installed configuration (dedicated
partition on my machine):<br>
<br>
<span style="font-family: Menlo; font-size: 13px;">Scilab 6.0.2
(Aug 19 2019, 11:47:50)</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo; min-height: 15px;"> </p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo;"><span
style="font-variant-ligatures: no-common-ligatures">--> <b>atomsList</b></span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo;"><span
style="font-variant-ligatures: no-common-ligatures">atomsDownload:
The following file hasn't been downloaded:</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo;"><span
style="font-variant-ligatures: no-common-ligatures">- URL
: '<a class="moz-txt-link-freetext" href="http://atoms.scilab.org/6.0/TOOLBOXES/64/macosx.gz">http://atoms.scilab.org/6.0/TOOLBOXES/64/macosx.gz</a>'</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo;"><span
style="font-variant-ligatures: no-common-ligatures">- Local
location :
'/private/var/folders/pp/hrld62h917x_ccf55yzn78z00000gn/T/SCI_TMP_1093_DIw7vR/.atoms/1_TOOLBOXES.gz'</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo;"><span
style="font-variant-ligatures: no-common-ligatures">WARNING:
error: Wrong type for input argument #1: string expected.</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo;"><span
style="font-variant-ligatures: no-common-ligatures">Scanning
repository <a class="moz-txt-link-freetext" href="http://atoms.scilab.org/6.0">http://atoms.scilab.org/6.0</a> ... Skipped</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo; min-height: 15px;"> </p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo;"><span
style="font-variant-ligatures: no-common-ligatures">at line
198 of function atomsDESCRIPTIONget (
/Applications/scilab-6.0.2.app/Contents/MacOS/share/scilab/modules/atoms/macros/atoms_internals/atomsDESCRIPTIONget.sci
line 217 )</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo;"><span
style="font-variant-ligatures: no-common-ligatures">at line
38 of function atomsList (
/Applications/scilab-6.0.2.app/Contents/MacOS/share/scilab/modules/atoms/macros/atomsList.sci
line 54 )</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo; min-height: 15px;"> </p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo;"><span
style="font-variant-ligatures: no-common-ligatures">All ATOMS
repositories scan failed.<br>
<br>
<br>
In fact the temp folder <br>
<br>
/private/var/folders/pp/hrld62h917x_ccf55yzn78z00000gn/T/SCI_TMP_1093_DIw7vR/.atoms<br>
<br>
is empty. This is not a network problem as the following
command succeeds:</span><br>
</p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo;"><span
style="font-variant-ligatures: no-common-ligatures">--> <b>getURL
<a class="moz-txt-link-freetext" href="http://atoms.scilab.org/6.0/TOOLBOXES/64/macosx.gz">http://atoms.scilab.org/6.0/TOOLBOXES/64/macosx.gz</a> </b></span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo;"><span
style="font-variant-ligatures: no-common-ligatures"> ans =</span></p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo; min-height: 15px;"> </p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo;"> </p>
<p style="margin: 0px; font-stretch: normal; font-size: 13px;
line-height: normal; font-family: Menlo;"><span
style="font-variant-ligatures: no-common-ligatures"> /Users/mottelet/macosx.gz</span></p>
<p>Samuel do you have an idea ?<br>
</p>
</blockquote>
<p><br>
</p>
<p>It is possibly either a file-locking issue (for instance due to a
previous error without closing the file, that atoms then tries to
overwrite. Possible workaround : quit the session to unlock the
file, and retry), or an unzip issue (there were formerly many
issues due to the fact that unzipping did not force overwritting ;
but that should be completely fixed in 6.0.2). <br>
</p>
<p>For some (fortunately very rare) ATOMS modules, the software used
by the author to bundle the ATOMS archive of the module is not a
standard one, and the ATOMS unzip command is not able to do the
job. But it's not the case here.<br>
</p>
<p>The regexp error is very likely due to an empty case after
failing to get a vector (of packages names or either):</p>
<p>--> regexp([],"hk")<br>
regexp: Wrong type for input argument #1: string expected.<br>
<br>
It's hard to debug when an issue is transient or not fully
reproducible.<br>
By the way, i have no easy access to a MacOS computer.<br>
<br>
For contribution<br>
<br>
Samuel<br>
<br>
</p>
</body>
</html>