<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Le 27/08/2018 à 18:47, DrVS a écrit :<br>
</div>
<blockquote cite="mid:1535388451532-0.post@n3.nabble.com"
type="cite">
<pre wrap="">Hello Samuel,
Thank you for your answer.
After your suggestion, i've try again (with lot of hope) with the right
version and file.
For example, this one : <a class="moz-txt-link-freetext" href="https://atoms.scilab.org/toolboxes/CPGE/1.6.1">https://atoms.scilab.org/toolboxes/CPGE/1.6.1</a>
But, i still have an error 1000...
/-->atomsInstall("C:\Users\vince\Downloads\CPGE_1.6.1_5.5-1.bin.zip")
Scanning repository <a class="moz-txt-link-freetext" href="http://atoms.scilab.org/5.5">http://atoms.scilab.org/5.5</a> ... Done</pre>
</blockquote>
<br>
OK, i am also very surprised by this behavior. It is due to the fact
that ATOMS must be set in offline mode first. To me, this should be
the default mode when a file is provided. But when actually trying<br>
with CPGE, i understand why it is not the case.<br>
<br>
Let's do it with Coselica. It is simpler, because it has no
dependency.<br>
To set ATOMS in offline mode we do:<br>
<br>
<tt>--> atomsSetConfig offline True</tt><br>
<br>
Then we download the right Coselica zipped binary file, and we
install it:<br>
<tt>--> atomsInstall coselica_0.6.4-0.bin.zip</tt><br>
<br>
I have tried it: It fails !! The ATOMS client tries to download
something on the web, in <b>an infinite loop</b>!<br>
When trying, it comes that this module is badly packaged.
Noticeably, it has no loader.sce file!<br>
So, even if its installation was easy, it could not be loaded. <br>
So, the last old solution is the following:<br>
<ul>
<li>Uncompress yourself <tt>coselica_0.6.4-0.bin.zip</tt></li>
<li><tt>Put the coselica_0.6.4 directory in the SCI/contrib one.</tt></li>
<li><tt>In </tt><tt>the coselica_0.6.4, add a file loader.sce
with the following content:<br>
</tt><tt>// This file is released under the 3-clause BSD
license. See COPYING-BSD.<br>
// Generated by builder.sce: Please, do not edit this file<br>
<br>
try<br>
getversion("scilab");<br>
catch<br>
error("Scilab 5.0 or more is required.");<br>
end;<br>
<br>
exec(get_absolute_file_path("loader.sce")+"etc/"+"coselica.start");</tt><br>
</li>
</ul>
<ul>
<li>exit Scilab and restart a Scilab 5.5.2 session</li>
<li>Then, you will see "Coselica_6.0.4" in the Console's Toolboxes
menu. Selects it</li>
<li>This loads Coselica. At last! Unfortunately,<br>
</li>
<li>The package does not load properly : an error occurs while
loading:<br>
!--error 10000 <br>
xcosPalAddBlock: Wrong type for input argument "block": function
as string or Block type or full path string expected.<br>
</li>
</ul>
So, i guess that the 36329 downloads of this version were 36329
failures...<br>
To me, not providing a loader.sce means that this package must NOT
be used...<br>
The 0.6.6 version looks well-packaged, for Scilab 6. At least, it
has a loader.<br>
<span style="color: rgb(91, 89, 80); font-family: sans-serif;
font-size: 14.4px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
text-decoration-style: initial; text-decoration-color: initial;
display: inline !important; float: none;"><br>
</span><tt>----------<br>
</tt> <br>
For CPGE: This module depends on the "iodelay" module (this is
indicated in its online description).<br>
This means that you must install iodelay first. Otherwise, ATOMS
with see that you don't have it, and will try to find it <b>online</b>,
<b>even in offline mode</b>. Finally, it display an error message in
the console about the fact that iodelay is missing.<br>
This is also the ATOMS client behavior in Scilab 6.0. In my opinion,
it is not correct: A warning message should be displayed in the
console, and the installation stopped, without error. offline means
offline.<br>
<br>
So, try it: install iodelay. And then instal CPGE, and try to load
it. It should be OK. It has a right loader.sce, that calls it .start
file.<br>
<br>
HTH<br>
Samuel<br>
<br>
</body>
</html>