<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi,</p>
<p>The version of Scilab which generated the configuration.xml
should be contained in some attribute of the top level element,
i.e.</p>
<p> <Profile name="scilab" version="6.1.1"></p>
<p>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.</p>
<p>S.<br>
</p>
<div class="moz-cite-prefix">Le 22/09/2021 à 17:10, Samuel Gougeon a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:30832dff-36c9-1aad-0373-73d1282dfec5@free.fr">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<div class="moz-cite-prefix">Hello Stefan,</div>
<div class="moz-cite-prefix"><br>
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.<br>
Unfortunately, when the template of some configuration file is
changed from one version to the next one, the file must be
regenerated.<br>
<br>
The issue should be fixed either by deleting the
SCIHOME/configuration.xml file, and regenerating it
automatically from scratch (quit Scilab and rerun it),<br>
or by editing it and changing or adding the line just before the
</Profile> one, for instance with<br>
<pre style="font-family:Monospaced;font-style:normal;font-size:12.0;"><span style="color:rgb(92,92,92);"><</span><span style="color:rgb(0,0,0);">HelpBrowser</span> <span style="color:rgb(0,0,0);">index</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">scatter3d</span><span style="color:rgb(188,143,143);">"</span> <span style="color:rgb(0,0,0);">lang</span><span style="color:rgb(92,92,92);">=</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(188,143,143);">en_US</span><span style="color:rgb(188,143,143);">"</span><span style="color:rgb(92,92,92);">/</span><span style="color:rgb(92,92,92);">></span>
<span style="color:rgb(92,92,92);"><</span><span style="color:rgb(92,92,92);">/</span><span style="color:rgb(0,0,0);">Profile</span><span style="color:rgb(92,92,92);">>
</span></pre>
</div>
<div class="moz-cite-prefix">Regards<br>
Samuel<br>
<br>
Le 22/09/2021 à 12:08, Stefan Du Rietz a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:eb122cbb-7d5c-e16d-8445-2b59cd65077c@durietz.se">Hello,
<br>
when starting Scilab 6.1.1 with <br>
<br>
$ /usr/local/scilab/scilab-6.1.1/bin/scilab <br>
<br>
I get the message: <br>
<br>
Startup execution: <br>
loading initial environment <br>
at line 81 of function xmlGetValues (
/usr/local/scilab/scilab-6.1.1/share/scilab/modules/xml/macros/xmlGetValues.sci
line 94 ) <br>
at line 22 of function help (
/usr/local/scilab/scilab-6.1.1/share/scilab/modules/helptools/macros/help.sci
line 34 ) <br>
at line 14 of function helpbrowser_update (
/usr/local/scilab/scilab-6.1.1/share/scilab/modules/helptools/macros/helpbrowser_update.sci
line 25 ) <br>
<br>
xmlGetValues: Invalid attribute name: lang. <br>
<br>
in Ubuntu Linux after a successful (apart from this)
installation from <br>
scilab-6.1.1.bin.linux-x86_64.tar.gz <br>
<br>
What can I do? <br>
<br>
Regards <br>
Stefan </blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:users@lists.scilab.org">users@lists.scilab.org</a>
<a class="moz-txt-link-freetext" href="http://lists.scilab.org/mailman/listinfo/users">http://lists.scilab.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
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
<a class="moz-txt-link-freetext" href="http://www.utc.fr/~mottelet">http://www.utc.fr/~mottelet</a>
</pre>
</body>
</html>