<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Woops, sorry, on windows you don't have a "share" folder. It's
indeed in SCI/modules/atoms/atoms_internals<br>
<br>
You applied the fix, but did you then run buildmacros.bat? This is
necessary to have the fix taken into account (it removes the .bin
files, then compile again the .sci/.sce to create new .bin files),
otherwise it will use the atomsExtract.bin that was packaged with
the version.<br>
<br>
<br>
Simon<br>
<div class="moz-cite-prefix">On 02/20/2013 12:56 PM, Adrien
Vogt-Schilb wrote:<br>
</div>
<blockquote cite="mid:5124B9E5.2010000@centre-cired.fr" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Dear Simon<br>
<br>
In my case,
HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation
= 2<br>
<br>
Also, SCI and WSCI return the "long pahtes" with spaces:
-->SCI<br>
SCI =<br>
<br>
C:/Program Files/scilab-5.4.0 <br>
<br>
-->WSCI<br>
WSCI =<br>
<br>
C:\Program Files\scilab-5.4.0 <br>
<br>
<br>
I tried to implement your solution, but found that there was no
folder "share" in my SCI.<br>
Instead, I modified atomsExtract.sci found at : C:\Program
Files\scilab-5.4.0\modules\atoms\macros\atoms_internals<br>
<br>
as it is in Program Files, I had to run my text editor as
administrator to be able to save the file.<br>
<br>
then I had a new error when trying to install a random atoms
package:<br>
<br>
atomsExtract: The extraction of the archive
'C:\Users\Admin\AppData\Roaming\Scilab\scilab-5.4.0\atoms\x64\csv_readwrite\csv_readwrite_0.6.1-2.bin.x64.windows.zip'
has failed.<br>
<br>
<br>
bon ap' <br>
<br>
On 20/02/2013 11:48, Simon GARESTE wrote:<br>
</div>
<blockquote cite="mid:5124A9EF.4080000@scilab-enterprises.com"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hi,<br>
<br>
Thank you. We found the <a moz-do-not-send="true"
href="http://bugzilla.scilab.org/show_bug.cgi?id=12320">bug</a>,
and <a moz-do-not-send="true"
href="https://codereview.scilab.org/#/c/10545/">fixed it</a>.
In short, you can see the difference between your machines at
the value of the
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation
key. This key creates (or not, depending on its value) a
shortpath name for the folders when they are created. In your
case, no shortpath name was created, hence the difference of
path for SCI, and the ATOMS command to extract wasn't set
between quotes (which makes it translatable by a windows
command), so it couldn't figure out what to do when the SCI
contained spaces.<br>
<br>
What you can do to fix your Scilab is quit every instance of it,
then modify your
SCI\share\scilab\modules\atoms\atoms_internals\atomsExtract.sci,
at line 78 replace<br>
extract_cmd =
getshortpathname(pathconvert(SCI+"/tools/zip/unzip.exe",%F));
<br>
by<br>
extract_cmd = """" +
getshortpathname(pathconvert(SCI+"/tools/zip/unzip.exe",%F)) +
"""";<br>
(or download <a moz-do-not-send="true"
href="https://codereview.scilab.org/cat/10545%2C2%2Cscilab/modules/atoms/macros/atoms_internals/atomsExtract.sci%5E0">this
file</a>) and copy it to the path<br>
<br>
Then in SCI\share\scilab\modules\atoms\macros, execute
buildmacros.bat and restart your scilab<br>
<br>
Best regards,<br>
<br>
Simon<br>
<br>
<div class="moz-cite-prefix">On 02/20/2013 02:45 AM, Andrii
Ryzhkov wrote:<br>
</div>
<blockquote
cite="mid:CAN2vtfV6aqiRVe7Y7JBkjEFmdEobOwc6M4qgW7ZMSjJNbeDdCA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div><br>
</div>
<div>On completely default installation:<br>
<div><br>
</div>
<div>
<div>-->disp(SCI)</div>
<div> </div>
<div> C:/Program Files/scilab-5.4.0 </div>
<div> </div>
<div>-->disp(WSCI)</div>
<div> </div>
<div> C:\Program Files\scilab-5.4.0 </div>
<div> </div>
</div>
<div><br>
</div>
<div style="">Andrii</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Simon Gareste
Support & Development Engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.70
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.scilab-enterprises.com">http://www.scilab-enterprises.com</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Adrien Vogt-Schilb (Cired)
Tel: (+33) 1 43 94 73 83</pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Simon Gareste
Support & Development Engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.70
<a class="moz-txt-link-freetext" href="http://www.scilab-enterprises.com">http://www.scilab-enterprises.com</a></pre>
</body>
</html>