[Scilab-users] Can't install ATOMS modules
Simon GARESTE
simon.gareste at scilab-enterprises.com
Wed Feb 20 11:48:15 CET 2013
Hi,
Thank you. We found the bug
<http://bugzilla.scilab.org/show_bug.cgi?id=12320>, and fixed it
<https://codereview.scilab.org/#/c/10545/>. In short, you can see the
difference between your machines at the value of the
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.
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
extract_cmd =
getshortpathname(pathconvert(SCI+"/tools/zip/unzip.exe",%F));
by
extract_cmd = """" +
getshortpathname(pathconvert(SCI+"/tools/zip/unzip.exe",%F)) + """";
(or download this file
<https://codereview.scilab.org/cat/10545%2C2%2Cscilab/modules/atoms/macros/atoms_internals/atomsExtract.sci%5E0>)
and copy it to the path
Then in SCI\share\scilab\modules\atoms\macros, execute buildmacros.bat
and restart your scilab
Best regards,
Simon
On 02/20/2013 02:45 AM, Andrii Ryzhkov wrote:
> Hi,
>
> On completely default installation:
>
> -->disp(SCI)
> C:/Program Files/scilab-5.4.0
> -->disp(WSCI)
> C:\Program Files\scilab-5.4.0
>
> Andrii
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
--
Simon Gareste
Support & Development Engineer
-----------------------------------------------------------
Scilab Enterprises
143bis rue Yves Le Coz - 78000 Versailles, France
Phone: +33.1.80.77.04.70
http://www.scilab-enterprises.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20130220/a2ca72c5/attachment.htm>
More information about the users
mailing list