Re: [Scilab-users] 6.1.1 startup error

2021-09-22 Thread Samuel Gougeon

Le 22/09/2021 à 18:03, Samuel Gougeon a écrit :

Le 22/09/2021 à 17:35, Clément David a écrit :


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.




IMHO, having a separate SCIHOME directory for each scilab version is fine.



I should have written: this is /definitely/ fine, because it allows to 
install and use several Scilab versions on the same computer. And this 
is a very nice Scilab feature.


Samuel

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] 6.1.1 startup error

2021-09-22 Thread Samuel Gougeon

Le 22/09/2021 à 17:35, Clément David a écrit :


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.




IMHO, having a separate SCIHOME directory for each scilab version is fine.
This does not necessarily demand to initialize SCIHOME configuration 
files with "factory files" shipped with the release, at the first run, 
as it is currently done.


This initialization could be done with configuration files of a previous 
most recent Scilab release, provided that configuration files are tagged 
with the scilab version that generated (or upgraded) them as proposed by 
Stephane.

This would improve the continuity of usage.
However, detecting a previous version on the same computer is not so 
obvious.


Currently, scilab user preferences are not extremely numerous, and as 
long as scilab releases won't be more frequent, resetting preferences by 
hand for each release is feasable and not blocking.
But for softwares and freewares that propose frequent upgrades, handling 
the copy or upgrade of configuration files in an automatic way is just 
mandatory.


Samuel

PS: by the way, i thing that, as a general rule, tagging a generated 
file with the (name and) version of the software that generated it is 
wise and dramatically improves files backward compatibility. This could 
be done as well for .scg files (i don't thing they are tagged), .zcos 
files (may be they already are), . dat ones (from save()), etc.


___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] 6.1.1 startup error

2021-09-22 Thread Clément David
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  On Behalf Of Stéphane Mottelet
Sent: Wednesday, September 22, 2021 5:19 PM
To: users@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.



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  
one, for instance with




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 line81 of function xmlGetValues   ( 
/usr/local/scilab/scilab-6.1.1/share/scilab/modules/xml/macros/xmlGetValues.sci 
line 94 )
at line22 of function help   ( 
/usr/local/scilab/scilab-6.1.1/share/scilab/modules/helptools/macros/help.sci 
line 34 )
at line14 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@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
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] 6.1.1 startup error

2021-09-22 Thread Stéphane Mottelet

Hi,

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


    

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 
 one, for instance with



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@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

___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


Re: [Scilab-users] 6.1.1 startup error

2021-09-22 Thread Samuel Gougeon

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 
 one, for instance with





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@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] 6.1.1 startup error

2021-09-22 Thread Stefan Du Rietz

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 line81 of function xmlGetValues   ( 
/usr/local/scilab/scilab-6.1.1/share/scilab/modules/xml/macros/xmlGetValues.sci 
line 94 )
at line22 of function help   ( 
/usr/local/scilab/scilab-6.1.1/share/scilab/modules/helptools/macros/help.sci 
line 34 )
at line14 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@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users


[Scilab-users] Remove a Scilab version in Ubuntu Linux

2021-09-22 Thread Stefan Du Rietz

Hello,
can I remove the version 6.0.1 from the terminal with

  $ sudo rm -r /usr/local/scilab/scilab-6.1.0/

or is that not enough?

Regards
Stefan
___
users mailing list
users@lists.scilab.org
http://lists.scilab.org/mailman/listinfo/users