Scilab 2024 on Arm Mac with Sonoma 14.0 fails with file r/w

Hi,

results of quick and dirty test (3 version installed, no reboot between tests etc)

2024: launch/ running/simulating ok. Opening a directory very slow (20 seconds). Opening a zcos file ok. Impossible to save a zcos file (rotating rainbow cursor forever).

2023.0.0, 2023.1.0: warning at launch (unsupported os, try anyway?); everything perfect except closing Scilab (rotating rainbow cursor forever).

Best,
Eugene

@asarin, @PengKuan , you seem to have the same problem. However, I can’t identify the cause because I am not able to reproduce it with the machines I have at work (Intel macBook with Big Sur and Sonoma, M1 Mac Mini with Sonoma).

It seems to be an i/o problem with the filesytem on your machine. Do you use some non-standard stuff, i.e. ICloud mirroring, FileVault, or else ?

You can start by creating a new user on your machine and try to run Scilab from there.

S.

I am using FileVault (my CNRS lab mildly requires that from everybody)

I am using iCloud mirroring, but in my Scilab experiments, I use a non-mirrored directory on the local disk.

E

Hello, I do not use ICloud mirroring, FileVault.

I have arm chip Apple M1, and there is not scilab 2023 for arm
Capture d’écran 2024-05-06 à 12.47.56

Hello, mottelet,

I have solved the problem. I open it with an other user. At the first use, Scilab asked me autorisation for access for files. I answered yes to all. There, it can open files without problem.

But when I open it in my session, it does not work. So, I think it is because I had a Scilab 6 that was opened automatically with Mac and there is a conflict between Scilab 6 and Scilab 2024.

So, I killed the automatic launch of Scilab 6, killed /bin/sh, reinstalled Scilab 2024. Now Scilab 2024 works well.

OK, that’s fine that you finally solved this issue.

@asarin can you try the same thing (create a new user then try to launch Scilab in the new account) ?

What do yo mean by this ?

S.

After an update of MacOs, Scilab is lauched automatically at the start of Mac. Have done this

OK. I never use this kind of feature…

S.

But I still have a problem of file. In Scilab, when I click “save as”, it freeze, and stay here. THe mouse rotates. I have to kill Scilab to restart.
Capture d’écran 2024-05-06 à 13.55.34

All application compiled for Intel macs run also on M1 (thanks to the Rosetta2 code translator).

S.

Thank you.

I discover that I cannot open other files than the one I work on. When I reinstalled Scilab 2024, it has not asked me the question about access of file like with an other user who did not used Scilab before. I think there are old things of Scilab 6 that are still in the Mac. How can I clean these old things from my mac?


S

Hello, I have uninstalled Scilab 6, restart the mac , and now there is not problem. I can open all files.

try this on the command line

 tccutil reset All org.scilab.modules.jvm.Scilab

but I am not sure if this will work for you, it depends if you have SIP enabled or not (Disabling and Enabling System Integrity Protection | Apple Developer Documentation).

S.

Thank you. This will be useful

I think that a System restart should be done after the command.

S.

Sorry but the problem of opening file starts again. I have done several times
tccutil reset All org.scilab.modules.jvm.Scilab
This command works, but does not solve the problem.

I think it is due to the interface with the system of Finder. In Scilab the menu Fichier, I chose Modifier to change the folder of work, it stucks there and does not open the window of folder.

If Scilab works fine in the environment of the new user it means that something interfears with Scilab in your usual user account. I can’t figure out what, since I cannot have access to your machine. The only thing I can propose is that you migrate all your data from your old to your new user account.

S.

Now, I have installed Scilab 2023. It works well.

For Scilab 2024, After all the trying with my user and other users, I have always the problem of file. So, I think it is a bug about the address fetching by Scilab 2024 from MacOs .

In fact, when I drag the file from Finder to SCilab 2024 it works well. When I try to find the file through Scilab 2024, it stucks wherever in Scilab 2024, in preference setting, Scinote, default file setting…

I hope you could transmit this information to the builder of the software.

this is an important information, but yesterday you said that Scilab 2024.0 was finally OK:

Can you confirm that it worked at least once ?

I am this person (builder of the macOS release)…

S.

Yes. It worked once. In fact, after it gets stuck, I have to restart the computer, then Scilab 2024 works again. But after I worked a while, it gets stuck and I have to force it to stop. Then, I can restart Scilab 2024, but it can no longer open files and gets stuck every time I try to open files.

So, restarting the computer corrects the problem, but restarting Scilab after a file problem does not solve the problem.