Problem with fmincon on Scilab 2027.0.0

Dear maintainers,

I have just installed Scilab 2027.0.0, beside the 2026.1.0. I have then installed fmincon with:

--> atomsInstall("fmincon")

No problem until I restart Scilab 2027:

Initialisation :
  Chargement de l'environnement de travail

Start Apifun

Start SciIPOpt 1.3.6: load gateways, help, demos.
Start Fmincon 1.1: loading macros, help, atomsLoad : Une erreur est survenue au cours du chargement de 'fmincon-1.1':
	add_help_chapter: error on line #71: "add_help_chapter : Valeur erronée de l'argument d'entrée n°2 : Un répertoire existant attendu."

And if I click in the new Modules menu, I can also read that message (in red ink):

à la ligne   346 de la fonction    atomsLoad ( /home/blabla/scilab-2027.0.0/share/scilab/modules/atoms/macros/atomsLoad.sci ligne 362 )
à la ligne     1 du texte exécuté  

I have found a similar problem here:

Hello,

Please update your fmincon package I just updated it in order to fix the problem:

atomsSystemUpdate
atomsUpdate fmincon

S.

2 Likes

Thanks @mottelet ! It now works.

2 Likes

Hi all,

it seems this issue is getting frequent for all modules that have not yet been upgraded wrt 2027.0.0 changes list, especially obsolete module skeletton around help


formerly in etc/TBXname.start :

// Load and add help chapter

// =============================================================================

  if or(getscilabmode() == \["NW";"STD"\]) then

    mprintf("\\tLoad help\\n");

    path_addchapter = pathconvert(root_tlbx+"/jar");

    if ( isdir(path_addchapter) <> \[\] ) then

      add_help_chapter(TOOLBOX_NAME, path_addchapter, %F);

    end

  end

to be adapted now (@mottelet do you confirm that it’s what we have to do so for our modules ?):

// Load and add help chapter

// =============================================================================

  if or(getscilabmode() == \["NW";"STD"\]) then

    mprintf("\\tLoad help\\n");

    if ( isdir(root_tlbx + "/help") <> \[\] ) then

      add_help_chapter(TOOLBOX_TITLE, root_tlbx, %F);

    end

  end

Thanks,
David

Hello,

Yes, the loading script has to be fixed (“jar” → “help”).

S.