[Scilab-users] 6.1.1 startup error

Stéphane Mottelet stephane.mottelet at utc.fr
Wed Sep 22 17:18:38 CEST 2021


Hi,

The version of Scilab which generated the configuration.xml should be 
contained in some attribute of the top level element, i.e.

     <Profile name="scilab" version="6.1.1">

This would allow to trigger a proper upgrade of the file when the Scilab 
version differs or a regeneration if the file cannot be upgraded.

S.

Le 22/09/2021 à 17:10, Samuel Gougeon a écrit :
> Hello Stefan,
>
> This kind of error might arise when the content of the SCIHOME 
> directory of a previous scilab version is copied into the SCIHOME of 
> the current 6.1.1 version, for instance to avoid respecifying all 
> users preferences.
> Unfortunately, when the template of some configuration file is changed 
> from one version to the next one, the file must be regenerated.
>
> The issue should be fixed either by deleting the 
> SCIHOME/configuration.xml file, and regenerating it automatically from 
> scratch (quit Scilab and rerun it),
> or by editing it and changing or adding the line just before the 
> </Profile> one, for instance with
> <HelpBrowser  index="scatter3d"  lang="en_US"/>
> </Profile>
> Regards
> Samuel
>
> Le 22/09/2021 à 12:08, Stefan Du Rietz a écrit :
>> Hello,
>> when starting Scilab 6.1.1 with
>>
>>   $ /usr/local/scilab/scilab-6.1.1/bin/scilab
>>
>> I get the message:
>>
>> Startup execution:
>>   loading initial environment
>> at line    81 of function xmlGetValues       ( 
>> /usr/local/scilab/scilab-6.1.1/share/scilab/modules/xml/macros/xmlGetValues.sci 
>> line 94 )
>> at line    22 of function help               ( 
>> /usr/local/scilab/scilab-6.1.1/share/scilab/modules/helptools/macros/help.sci 
>> line 34 )
>> at line    14 of function helpbrowser_update ( 
>> /usr/local/scilab/scilab-6.1.1/share/scilab/modules/helptools/macros/helpbrowser_update.sci 
>> line 25 )
>>
>> xmlGetValues: Invalid attribute name: lang.
>>
>> in Ubuntu Linux after a successful (apart from this) installation from
>> scilab-6.1.1.bin.linux-x86_64.tar.gz
>>
>> What can I do?
>>
>> Regards
>> Stefan 
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users

-- 
Stéphane Mottelet
Ingénieur de recherche
EA 4297 Transformations Intégrées de la Matière Renouvelable
Département Génie des Procédés Industriels
Sorbonne Universités - Université de Technologie de Compiègne
CS 60319, 60203 Compiègne cedex
Tel : +33(0)344234688
http://www.utc.fr/~mottelet

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20210922/c2bf248c/attachment.htm>


More information about the users mailing list