[Scilab-users] 6.1.1 startup error
Stefan Du Rietz
sdr at durietz.se
Thu Sep 23 11:20:59 CEST 2021
Hello and many thanks for your replies!
Samuel,
Unfortunately, deleting SCIHOME/configuration.xml did not help (I have a
vague memory that it worked previously). I agree with all your later
comments.
Stéphane,
my changed line
<Profile name="scilab" version="6.1.1">
gets replaced by
<Profile name="scilab">
so it did not help.
Clément,
Deleting all the configuration files helped, BUT THEN ALL MY OWN FOLDERS
WERE DELETED (a regression?)! Therefore all the changes I had made in my
functions were lost!
Regards
Stefan
On 2021-09-22 17:35, Clément David wrote:
> Hi Stéphane, hi Samuel, hi all,
>
> The idea behind SCIHOME is to have a version specific directory to avoid
> any issues when upgrading from Scilab versions to Scilab versions ; IMHO
> implementing an upgrade for files stored into this directory is for me a
> non-sense ; the upgrade could be done manually (as Samuel described) for
> the few users that copy the files between SCIHOMEs.
>
> Clément
>
> *From:* users <users-bounces at lists.scilab.org> *On Behalf Of *Stéphane
> Mottelet
> *Sent:* Wednesday, September 22, 2021 5:19 PM
> *To:* users at lists.scilab.org
> *Subject:* Re: [Scilab-users] 6.1.1 startup error
>
> 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
>
> <HelpBrowserindex="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 <mailto:users at lists.scilab.org>
>
> http://lists.scilab.org/mailman/listinfo/users <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 <http://www.utc.fr/~mottelet>
>
>
> _______________________________________________
> users mailing list
> users at lists.scilab.org
> http://lists.scilab.org/mailman/listinfo/users
>
More information about the users
mailing list