Failure of ATOMS removal of a module in scilab.start makes forthcoming sessions unusable
Reported by Samuel GOUGEON (@sgougeon)
BUG DESCRIPTION:
----------------
When an error occurs in scilab.start about ATOMS,
console menus and tools and other facilities are not loaded.
ATOMS operations done in scilab.start should be secured by try/catch
ERROR LOG:
----------
Initialisation :
Chargement de l'environnement de travail
atomsRemove : Le répertoire de ce package (dbldbl-0.1.1-1) ne peut pas être supprimé, veuillez vérifier que vous disposez des droits d'écriture dans ce répertoire : SCI\contrib\dbldbl\0.1.1-1.
!--error 10000
at line 51 of function atomsError called by :
at line 264 of function atomsRemove called by :
at line 61 of function atomsToremoveProcess called by :
at line 23 of function atomsSystemInit called by :
atomsSystemInit();
at line 107 of exec file called by :
exec('SCI/etc/scilab.start',-1);;
HOW TO REPRODUCE THE BUG:
-------------------------
instal dbldbl
quit and open a new session
uninstal dbldbl (with the ATOMS GUI)
quit and open a new session
=> error
The only way to escape this situation is to empty .atoms directory...
OTHER INFORMATION:
------------------
OS = win7_64