Hello,
I just updated one of my old toolboxes. When I load it manually using loader.sce, it works exactly as I expected. I zipped it and installed the zip-file locally using atomsInstall(). That worked. The toolbox itself is loaded and works as expected.
But when I start atomsGUI now, I get the error below. That doesn’t happen when I load the toolbox via loader.sce of course.
Startup execution:
loading initial environment
at line 35 of function atomsVersionCompare ( C:\Program Files\scilab-2024.1.0\modules\atoms\macros\atoms_internals\atomsVersionCompare.sci line 55 )
at line 60 of function atomsVersionSort ( C:\Program Files\scilab-2024.1.0\modules\atoms\macros\atoms_internals\atomsVersionSort.sci line 76 )
at line 45 of function atomsCompatibleVersions ( C:\Program Files\scilab-2024.1.0\modules\atoms\macros\atoms_internals\atomsCompatibleVersions.sci line 61 )
at line 80 of function atomsGetAvailable ( C:\Program Files\scilab-2024.1.0\modules\atoms\macros\atoms_internals\atomsGetAvailable.sci line 132 )
at line 110 of function atomsGetLeftListboxElts ( C:\Program Files\scilab-2024.1.0\modules\atoms\macros\atoms_internals\atomsGetLeftListboxElts.sci line 131 )
at line 26 of function cbAtomsGui ( C:\Program Files\scilab-2024.1.0\modules\atoms\macros\atoms_gui\cbAtomsGui.sci line 40 )
atomsVersionCompare: Wrong value for input argument #1: This is not a valid version.
Atoms’s GUI doesn’t show up. But Atoms’ console commands are still working. I have to remove the tbx with atomsRemove and restart Scilab to get atomsGUI run again on 2023.1, 2024.1. On 2026.1 that is not enough. I have to delete SCIHOME\.atoms\ and SCIHOME\atoms to get atomsGUI run again.
This error message above is from 2024.1.0 but I get the same result on 2023.1.0 and the current 2026.1.0. on Windows, Linux and macOS.
The error mentioned versions. The version entries in DESCRIPTION are:
Version: 2.0.0
ScilabVersion: >= 2023.0.0
Depends: ~ apifun any
~ xlreadwrite any
What can cause this issue?
Thanks in advance.
