[Scilab-users] Can't install ATOMS modules

Adrien Vogt-Schilb vogt at centre-cired.fr
Wed Feb 20 12:56:21 CET 2013


Dear Simon

In my case, 
HKLM\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation 
= 2

Also, SCI and WSCI return the "long pahtes" with spaces: -->SCI
  SCI  =

  C:/Program Files/scilab-5.4.0

-->WSCI
  WSCI  =

  C:\Program Files\scilab-5.4.0


I tried to implement your solution, but found that there was no folder 
"share" in my SCI.
Instead, I modified atomsExtract.sci found at  : C:\Program 
Files\scilab-5.4.0\modules\atoms\macros\atoms_internals

as it is in Program Files, I had to run my text editor as administrator 
to be able to save the file.

then I had a new error when trying to install a random atoms package:

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.


bon ap'

On 20/02/2013 11:48, Simon GARESTE wrote:
> 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
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users


-- 
Adrien Vogt-Schilb (Cired)
Tel: (+33) 1 43 94 73 83

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20130220/10255a4c/attachment.htm>


More information about the users mailing list