<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta content="text/html;charset=UTF-8" http-equiv="Content-Type"></head><body ><div style="font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10pt;"><div>Hi,<br></div><div><br></div><div>just to add on to the issue on the atomsInstall. I finally find out that the issue was due to the extra "__MACOSX" folder created during zip process under MAC.<br></div><div><br></div><div>"<span class="colour" style="color:rgb(102, 102, 102)"><span class="font" style="font-family:Arial, Helvetica, sans-serif"><span class="size" style="font-size:13.3333px">The __MACOSX folder is created when a Mac user creates and archive (also called a zip file) using the Mac. If the Mac user sends the zip file to another Mac user, the folder will not appear - <span class="colour" style="color:rgb(102, 102, 102)"><span class="font" style="font-family:Arial, Helvetica, sans-serif"><span class="size" style="font-size:13.3333px">this is a hidden folder.<span> </span></span></span></span>"</span></span></span><br></div><div> <br></div><div>During the atomsInstall process, the module zip file will be downloaded in the SCI\contrib\module_name\module_name.zip (or the SCIHOME atoms) and extract it. <br></div><div><br></div><div>In this stage, for windows and linux, it will be only one directory in SCI\contrib\module_name, namely module_name, and it will be renamed to version number, such as 1.0, and the module installation would be successful. <br></div><div><br></div><div>In Mac, it will have extra __MACOSX folder (unless the module packager manually remove it) and it will cause the system to detect this folder as the newly created module, and rename this to the version number, which the actual folder module_name, will remained as it is and gives error during module loading.<br></div><div> <br></div><div>While guideline could be given to the modules developer to remove the _MACOSX folder before releasing it, we could also add the following line in atomsExtract function to ensure the renaming function find the correct folder instead of __MACOSX folder. <br></div><div><br></div><div>atomsExtract.sci<br></div><div><br></div><div> // Get the list of directories after the extraction <br></div><div> // =========================================================================<br></div><div><br></div><div> dirs_after = atomsListDir(dir_out);<br></div><div><br></div><div><b> dirs_after(dirs_after=='__MACOSX') = []; // <-- extra line proposed to add</b><br></div><div> <br></div><div> // Get the name of the created directory<br></div><div> // =========================================================================<br></div><div><br></div><div> dir_created = [];<br></div><div><br></div><div> for j=1:size(dirs_after,"*")<br></div><div> if find(dirs_after(j) == dirs_before) == [] then<br></div><div> dir_created = dirs_after(j);<br></div><div> break;<br></div><div> end<br></div><div> end<br></div><div> <br></div><div><br></div><div>This shall solve the issue of module installation problem under MACOS.<br></div><div><br></div><div>Thanks.<br></div><div><br></div><div>Regards,<br>CL</div><div><br></div><div><br></div><br><div data-zbluepencil-ignore="true" style="" class="zmail_extra"><br><div id="Zm-_Id_-Sgn1">---- On Tue, 05 Nov 2019 01:06:37 +0800 <b> <stephane.mottelet@utc.fr></b> wrote ----<br></div><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); padding-left: 6px; margin: 0px 0px 0px 5px;"><div style="font-family: Arial;font-size: 14.0px;"><p>There is a big difference in the inherited environment when scilab is launched from the command line and by clicking the icon.<br> In the past I solved a problem with the LANG variable<br> <br> <a target="_blank" href="https://codereview.scilab.org/#/c/20787/">https://codereview.scilab.org/#/c/20787/</a><br> <a target="_blank" href="https://codereview.scilab.org/#/c/21069/">https://codereview.scilab.org/#/c/21069/</a><br> <br> the second one is still not merged in master but has been included in 19 august build of Scilab 6.0.2 for OSX (the one available from www.scilab.org), since it was really blocking for many users.<br> <br> Just to say that the regexp problem may be due to a similar problem (locale, encoding, ...)<br> <br> S.<br> <br> Chin Luh Tan <<a target="_blank" href="mailto:chinluh.tan@bytecode-asia.com">chinluh.tan@bytecode-asia.com</a>> a écrit :</p><blockquote style="border-left: 2.0px solid blue;margin-left: 2.0px;padding-left: 12.0px;"><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10.0pt;"><div>ok, i did:<br></div><div> <br></div><div>1. Del both previous scilab and the scilab from your link installed just now to make it clean<br></div><div>2. Totally remove the .Scilab folder under home folder by using sudo rm -R .Scilab<br></div><div>3. Re-download the link <br></div><div>4. Double click and install (by dragging the scilab icon to application folder)<br></div><div>5. run scilab from the app and type atomsList<br></div><div> <br></div><div>Same regexp error until i launch it from terminal, and then it is ok. <br></div><div> <br></div><div>noted on the atoms issue for the modules with gateway, will try to look into it.<br></div><div> <br></div><div>p/s: will continue any extra testing tomorrow. <br></div><div> <br></div><div>rgds,<br> CL</div><div> <br></div><div class="x_8808249zmail_extra"><div> <br></div><div>---- On Tue, 05 Nov 2019 00:24:53 +0800 <b><<a target="_blank" href="mailto:stephane.mottelet@utc.fr">stephane.mottelet@utc.fr</a>></b> wrote ----<br></div><div> <br></div><div><br></div></div><div> <br></div></div></blockquote><p><br><br></p></div>_______________________________________________<br>users mailing list <br>users@lists.scilab.org <br>http://lists.scilab.org/mailman/listinfo/users <br><blockquote style="border-left: 1.0px solid rgb(204,204,204);padding-left: 6.0px;margin: 0.0px 0.0px 0.0px 5.0px;"><div style="font-family: Arial;font-size: 14.0px;"><p>Obviously, between points 3 and 4 I moved the Scilab app from the archive in the Appplication folder.<br> <br> <a target="_blank" href="mailto:stephane.mottelet@utc.fr">stephane.mottelet@utc.fr</a> a écrit :</p><blockquote style="border-left: 2.0px solid blue;margin-left: 2.0px;padding-left: 12.0px;"><p>Hello,<br> <br> I don't have the regexp error. Here is my complete workflow:<br> <br> 1 - Delete the eventual previous Sciab 6.0.2 I had in the /Applications/ folder <br> 2 - Delete my .Scilab folder<br> 3 - extract the .dmg I downloaded from <a target="_blank" href="https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/www.utc.fr/~mottelet/scilab/download/6.0.2/scilab-6.0.2-x86_64-2019-11-04.dmg">http://www.utc.fr/~mottelet/scilab/download/6.0.2/scilab-6.0.2-x86_64-2019-11-04.dmg</a><br> 4 - double click the Scilab icon (with first launch usual but annoying details...)<br> 5 - click the ATOMS gui icon or type atomsList at Scilab prompt<br> <br> Concerning the problem with IPCV (and maybe other packages with gateways, I only tested IPCV), I did not address it in the above archive. I only modified the scilab script (I will create a commit on codereview.scilab.org) and removed the libcurl.dylib that was shipped in lib/thirdparty folder.<br> <br> Best,<br> <br> S.</p><p>Chin Luh Tan <<a target="_blank" href="mailto:chinluh.tan@bytecode-asia.com">chinluh.tan@bytecode-asia.com</a>> a écrit :<br></p><blockquote style="border-left: 2.0px solid blue;margin-left: 2.0px;padding-left: 12.0px;"><div style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 10.0pt;"><div>Hi, <br></div><div> <br></div><div>from my end:<br></div><div> <br></div><div>1. The warning for the 10.15 gone. <br></div><div>2. First launch from the app still give the regexp error when running atomsList, but after running one time from terminal and get it run successfully, I could run it from the app as after all. <br></div><div>3. atomsInstall for the module with gateway folder still extracted to 2 separate folders which need to be manually move in order for it to run. No issue for macros only module. <br></div><div> <br></div><div>Thanks for the great effort. Is is possible to share the compilation steps? <br></div><div> <br></div><div>rgds,<br></div><div>CL<br></div><div> <br></div><div class="x_576295042zmail_extra"><div> <br></div><div>---- On Mon, 04 Nov 2019 22:40:20 +0800 <b><<a target="_blank" href="mailto:stephane.mottelet@utc.fr">stephane.mottelet@utc.fr</a>></b> wrote ----<br></div><div> <br></div><blockquote style="border-left: 1.0px solid rgb(204,204,204);padding-left: 6.0px;margin: 0.0px 0.0px 0.0px 5.0px;"><div style="font-family: Arial;font-size: 14.0px;"><p>Did you test the Atoms stuff ?<br> <br> Heinz Nabielek <<a target="_blank" href="mailto:heinznabielek@me.com">heinznabielek@me.com</a>> a écrit :</p><blockquote style="border-left: 2.0px solid blue;margin-left: 2.0px;padding-left: 12.0px;"><p>On 04.11.2019, at 14:55, <a target="_blank" href="mailto:stephane.mottelet@utc.fr">stephane.mottelet@utc.fr</a> wrote:<br></p><blockquote style="border-left: 2.0px solid blue;margin-left: 2.0px;padding-left: 12.0px;"><p>Thanks Samuel. So the regexp error can eventually have the same cause (libcurl version mismatch). I have packaged a scilab-6.0.2 without these libraries (and removing the 10.15 warning) for OSX users at the following URL:<br> <br> <a target="_blank" href="https://antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/antispam.utc.fr/proxy/2/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/www.utc.fr/~mottelet/scilab/download/6.0.2/scilab-6.0.2-x86_64-2019-11-04.dmg">https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/www.utc.fr/~mottelet/scilab/download/6.0.2/scilab-6.0.2-x86_64-2019-11-04.dmg</a><br> <br> CL, Heinz, Willi can you test it ?</p></blockquote><div>Works to perfection and without this funny warning.<br></div><div> <br></div><div> <br></div><blockquote style="border-left: 2.0px solid blue;margin-left: 2.0px;padding-left: 12.0px;"><p>I recommend temporary renaming/moving your .Scilab/scilab-6.0.2 directory before testing<br></p></blockquote><div>Thanks. Very helpful. Great suggestion. I would not have thought of it…..<br></div><div> <br></div><div>Thanks for your dedication to this work.Heinz<br></div></blockquote><p><br> </p></div><div>_______________________________________________<br></div><div>users mailing list<br></div><div><a target="_blank" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br></div><div><a target="_blank" href="https://antispam.utc.fr/proxy/1/c3RlcGhhbmUubW90dGVsZXRAdXRjLmZy/lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a><br></div></blockquote></div><div> <br></div></div></blockquote><p><br> </p></blockquote><p><br> </p></div><div>_______________________________________________<br></div><div>users mailing list<br></div><div><a target="_blank" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a><br></div><div><a target="_blank" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a><br></div></blockquote></blockquote></div><div><br></div></div><br></body></html>