How to debug such issue?

Building help...  Building the master document: 	
 C:\Users\Vimal\Desktop\spacecraft-gnc-tbx\help\en_US  
Building the manual file [javaHelp] in C:\Users\Vimal\Desktop\spacecraft-gnc-tbx\help\en_US. 
at line   693 of function xmltoformat           ( C:\Program Files\scilab-2024.0.0\modules\helptools\macros\xmltoformat.sci line 710 ) 
at line    17 of function xmltojar              ( C:\Program Files\scilab-2024.0.0\modules\helptools\macros\xmltojar.sci line 29 ) 
at line    51 of function tbx_build_help        ( C:\Program Files\scilab-2024.0.0\modules\modules_manager\macros\tbx_build_help.sci line 67 ) 
at line     4 of executed file C:\Users\Vimal\Desktop\spacecraft-gnc-tbx\help\en_US\build_help.sce at line    13 of function tbx_builder           ( C:\Program Files\scilab-2024.0.0\modules\modules_manager\macros\tbx_builder.sci line 26 ) 
at line    49 of function tbx_builder_help_lang ( C:\Program Files\scilab-2024.0.0\modules\modules_manager\macros\tbx_builder_help_lang.sci line 64 ) 
at line     4 of executed file C:\Users\Vimal\Desktop\spacecraft-gnc-tbx\help\builder_help.sce at line    71 of function tbx_builder_help      ( C:\Program Files\scilab-2024.0.0\modules\modules_manager\macros\tbx_builder_help.sci line 87 ) 
at line    36 of function main_builder          ( C:\Users\Vimal\Desktop\spacecraft-gnc-tbx\builder.sce line 46 ) 
at line    54 of executed file C:\Users\Vimal\Desktop\spacecraft-gnc-tbx\builder.sce  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

see 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

1 Like

Nice. I am stuck at the same point. Here it says the file is missing but the software/toolbox should create such xml file and image automatically as per few above comments. Can you please provide expert advice? Thank you

        ___________________________________________
                         scilab-2024.0.0

                     Dassault Systèmes
         Copyright (c) 2022-2023 (Dassault Systèmes)
             Copyright (c) 2017-2022 (ESI Group)
         Copyright (c) 2011-2017 (Scilab Enterprises)
               Copyright (c) 1989-2012 (INRIA)
               Copyright (c) 1989-2007 (ENPC)
        ___________________________________________

OpenJDK 64-Bit Server VM warning: Archived non-system classes are disabled because the java.system.class.loader property is specified (value = "org.scilab.modules.jvm.ScilabClassLoader"). To use archived non-system classes, this property must not be set
java.nio.file.AccessDeniedException: C:\Users\Vimal\Documents\My Music
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\Documents\My Pictures
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\Documents\My Music
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\Documents\My Videos
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\Documents\My Pictures
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\Documents\My Videos
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\Application Data
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\Local Settings
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\My Documents
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\NetHood
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\Application Data
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\PrintHood
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\Local Settings
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\Recent
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\My Documents
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\SendTo
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\NetHood
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\Start Menu
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\PrintHood
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\Templates
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\Recent
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\SendTo
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\Start Menu
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
java.nio.file.AccessDeniedException: C:\Users\Vimal\Templates
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.asIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.implRegister(Unknown Source)
        at java.base/sun.nio.fs.AbstractPoller.processRequests(Unknown Source)
        at java.base/sun.nio.fs.WindowsWatchService$Poller.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)
Info: Create image _LaTeX_AtmosphericDrag.xml_1.png from line 49 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_2.png from line 52 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_3.png from line 54 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_4.png from line 56 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_5.png from line 58 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_6.png from line 60 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_7.png from line 62 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_8.png from line 64 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_9.png from line 64 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_10.png from line 66 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_11.png from line 68 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_12.png from line 68 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_13.png from line 70 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_14.png from line 72 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_15.png from line 74 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_16.png from line 74 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_17.png from line 76 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_18.png from line 78 in AtmosphericDrag.xml
Info: Create image _LaTeX_AtmosphericDrag.xml_19.png from line 78 in AtmosphericDrag.xml
Info: Create image _LaTeX_GravityGradient.xml_1.png from line 49 in GravityGradient.xml
Info: Create image _LaTeX_GravityGradient.xml_2.png from line 64 in GravityGradient.xml
Info: Create image _LaTeX_GravityGradient.xml_3.png from line 66 in GravityGradient.xml
Info: Create image _LaTeX_GravityGradient.xml_4.png from line 68 in GravityGradient.xml
Info: Create image _LaTeX_GravityGradient.xml_5.png from line 70 in GravityGradient.xml
Info: Create image _LaTeX_GravityGradient.xml_6.png from line 72 in GravityGradient.xml
Info: Create image _LaTeX_GravityGradient.xml_7.png from line 74 in GravityGradient.xml
Info: Create image _LaTeX_GravityGradient.xml_8.png from line 76 in GravityGradient.xml
Info: Create image _LaTeX_GravityGradient.xml_9.png from line 78 in GravityGradient.xml
Info: Create image _LaTeX_GravityGradient.xml_10.png from line 80 in GravityGradient.xml
Info: Create image _LaTeX_GravityGradient.xml_11.png from line 82 in GravityGradient.xml
Info: Create image _LaTeX_GravityGradient.xml_12.png from line 84 in GravityGradient.xml
Info: Create image _LaTeX_GravityGradient.xml_13.png from line 86 in GravityGradient.xml
Info: Create image _LaTeX_GravityGradient.xml_14.png from line 88 in GravityGradient.xml
Info: Create image _LaTeX_Magnetorquer.xml_1.png from line 50 in Magnetorquer.xml
Info: Create image _LaTeX_Magnetorquer.xml_2.png from line 52 in Magnetorquer.xml
Info: Create image _LaTeX_Magnetorquer.xml_3.png from line 54 in Magnetorquer.xml
Info: Create image _LaTeX_Magnetorquer.xml_4.png from line 56 in Magnetorquer.xml
Info: Create image _LaTeX_Magnetorquer.xml_5.png from line 58 in Magnetorquer.xml
Info: Create image _LaTeX_Magnetorquer.xml_6.png from line 60 in Magnetorquer.xml
Info: Create image _LaTeX_Magnetorquer.xml_7.png from line 62 in Magnetorquer.xml
Info: Create image _LaTeX_RigidBody.xml_1.png from line 43 in RigidBody.xml
Info: Create image _LaTeX_RigidBody.xml_2.png from line 45 in RigidBody.xml
Info: Create image _LaTeX_RigidBody.xml_3.png from line 47 in RigidBody.xml
Info: Create image _LaTeX_RigidBody.xml_4.png from line 49 in RigidBody.xml
Info: Create image _LaTeX_RigidBody.xml_5.png from line 51 in RigidBody.xml
Info: Create image _LaTeX_RigidBody.xml_6.png from line 53 in RigidBody.xml
Info: Create image _LaTeX_RigidBody.xml_7.png from line 55 in RigidBody.xml
Info: Create image _LaTeX_RigidBody.xml_8.png from line 57 in RigidBody.xml
Info: Create image _LaTeX_SCGNC_example.xml_1.png from line 33 in SCGNC_example.xml
Total files without example: 8
Total generated html files: 0
XML parsing error while generating documentation for file C:\Users\Vimal\Desktop\spacecraft-gnc-tbx\help\en_US\master_help.xml:
org.xml.sax.SAXException:
Cannot parse C:\Users\Vimal\Desktop\spacecraft-gnc-tbx\help\en_US\master_help.xml:
SystemID: file:///C:/Users/Vimal/Desktop/spacecraft-gnc-tbx/help/en_US/AtmosphericDrag.xml:25:106
        Problem with tag imagedata
org.xml.sax.SAXException: The given fileref is not on an existing image file:
../../images/gif/AtmosphericDrag_IF.gif [C:\Users\Vimal\Desktop\spacecraft-gnc-tbx\help\en_US\..\..\images\gif\AtmosphericDrag_IF.gif]
Cannot parse C:\Users\Vimal\Desktop\spacecraft-gnc-tbx\help\en_US\master_help.xml:
SystemID: file:///C:/Users/Vimal/Desktop/spacecraft-gnc-tbx/help/en_US/AtmosphericDrag.xml:129:98
        Problem with tag imagedata
org.xml.sax.SAXException: The given fileref is not on an existing image file:
../../demos/AtmosphericDrag.zcos [C:\Users\Vimal\Desktop\spacecraft-gnc-tbx\help\en_US\..\..\demos\AtmosphericDrag.zcos]
Cannot parse C:\Users\Vimal\Desktop\spacecraft-gnc-tbx\help\en_US\master_help.xml:
SystemID: file:///C:/Users/Vimal/Desktop/spacecraft-gnc-tbx/help/en_US/SCGNC_example.xml:12:103
        Problem with tag imagedata
org.xml.sax.SAXException: The given fileref is not on an existing image file:
../../images/gif/SCGNC_example_sci.gif [C:\Users\Vimal\Desktop\spacecraft-gnc-tbx\help\en_US\..\..\images\gif\SCGNC_example_sci.gif]


Nice.

I have resolve the issue using consolebox on and debugging method. Btw thanks @vincent.couvert for help. Sorry for multiple questions.