Hello
What is issue with different operating system?
1- I have one file which is working in Scilab Windows system, but itās not working on MacOS M1. Anyone has idea?
2- What is Chroot? Anyone can help as per attachment of windows which was fine and another image of MacOS .
Hello, Can you share the toolbox sources ? There seems to be a problem during help pages processing and it could be due to encoding problems. Typically it can be seen by launching Scilab on the command line to see the standard output during compilation of help.
S.
It is private tool box. It was working last 2 week and since yesterday such error appear. What is the issue in such case ?
I am getting error as below
Building the manual file [javaHelp] in C:\Users\Vims\Desktop\spacecraft-gnc-tbx\help\en_US.
!āerror 10000
xmltoformat: C:\Users\Vims\Desktop\spacecraft-gnc-tbx\help\en_US\scilab_en_US_help\scilab_en_US_help.jar has not been generated.
at line 6 of function check_move called by :
at line 699 of function xmltoformat called by :
at line 17 of function xmltojar called by :
at line 51 of function tbx_build_help called by :
tbx_build_help(TOOLBOX_TITLE,get_absolute_file_path(ābuild_help.sceā));
at line 4 of exec file called by :
at line 13 of function tbx_builder called by :
at line 49 of function tbx_builder_help_lang called by :
tbx_builder_help_lang([āen_USā], get_absolute_file_path(ābuilder_help.sceā));
at line 5 of exec file called by :
at line 13 of function tbx_builder called by :
at line 26 of function tbx_builder_help called by :
at line 35 of function main_builder called by :
main_builder();
at line 51 of exec file called by :
exec(āC:\Users\Vims\Desktop\spacecraft-gnc-tbx\builder.sceā,-1)
Some messages do not appear on Scilab command line but only on standard output. You have to launch Scilab from a terminal to see them. For example:
MacBook-Pro:~ user$ /Applications/scilab-2024.0.0.app/Contents/bin/scilab-adv-cli
Scilab 2024.0.0 (Oct 24 2023, 15:06:46
-->
Then exec the build script of your toolbox. You should see both kind of outputs, in particular errors of the XML parser.
S.
How to launch scilab in macbook terminal ? Any code and how to run in terminal ?
I have open with new one 2024 and older version. In older version everything works smoothly. When we touch 2024 than
this appear last line. Weird
If Scilab is started in a chroot, you might want to try to set the two environment variables: SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1
How to set enviroment? Do you have any video for it?
Hello,
You donāt need to change any environment variable before starting Scilab to see whatās happening during the XML file parsing. As I already said before, you have to launch the Terminal application then launch Scilab from the command line (change the paths if Scilab is not in the /Applications folder):
/Applications/scilab-2024.0.0.app/Contents/bin/scilab-adv-cli
and from the Toolbox top level folder, type in Scilabās command line
exec builder.sce
If there are XML parser errors, you will be able to see them. They are not seen when building the toolbox with Scilab in GUI mode (you just have the generic 10000 error which does not mean special). Feel free to copy/paste them in your answer
S.
I have launched with terminal and normal way too. What is difference between scilab 5.2.2 old version and 2024?
If something is working fine with old version than why itās not working with 2024.
I donāt understand or make any sense to launch with terminal.
Still there is no suitable outcome.
Can you please tell me whatās wrong?
I tried as per your guidelines to execute but still not working.
Same issue asking to setup environment in2023 version for Mac M1.
No. In your above picture you didnāt type what I said previously:
/Applications/scilab-2024.0.0.app/Contents/bin/scilab-adv-cli
This line starts Scilab on the command line. Just type it as is (you can copy/paste from there).
Once Scilab shows its prompt -->
execute the builder script of your toolbox by eventually changing the current directory with cd
, or by giving the full path of the script.
S.
Hello
1- I have open scilab . Using application.
2- than type
/Applications/scilab-2024.0.0.app/Contents/bin/scilab-adv-cli
Above line. Which give me error in Image.
3- I execute with mouse builder.sce file and with terminal also. But itās not working. Can you please teach me like school students? What is the error?
You are missing the full path of bulder script. Of what I see above you should type on Scilabās command line:
exec /Users/vimalchawda/Desktop/spacecraft-gnc-tbx/builder.sce
1- Permission denied. What should I do next?
2- why normal method doesnāt work here ? Is there any issue?
Just strictly follow the following instructions:
- close Scilab gui, you donāt need it
- quit then launch the terminal application
- on the terminal command line type
/Applications/scilab-2024.0.0.app/Contents/bin/scilab-adv-cli
You should see now the scilab prompt āā>Ā“
exec /Users/vimalchawda/Desktop/spacecraft-gnc-tbx/builder.sce
- give me all the resulting output
S.
1- after typing
/Applications/scilab-2024.0.0.app/Contents/bin/scilab-adv-cli
I got
2- Than I type
exec /Users/vimalchawda/Desktop/spacecraft-gnc-tbx/builder.sce
I got
Still same last line , setup environment.
Nothing is open except terminal. Everything is close.
Hello Sir
This issue arises only with 2024 version not with 5.2.2.
1- 5.2.2 version works fine
2- 2024 version with issue
For your reference, I have made video on my windows system and above photo is from mac m1. Both have same issue with version 2024. Thank you very much.
Please stop posting images or videos: copy/paste the text of error messages is enough.
When Scilab is launched from the command line you can see the actual error starting with
XML parsing error ...
you have used the id SeeAlso
in two different xml files (MagneticField.xml and GravityGradient.xml). An xml:id
must be unique among your help files. If you are not able to fix this send me the two files by private message.
S.
I am not allowed to upload or send other format file like xml in private or here also. Can you please suggest some other option to solve this issue? Please