Experiment not updating to 4.0 when doing updateversion command and having problems with other versions without the -v flag
Hi,
I've been testing to switch between versions for the GUI/API compatibility and Autosubmit is not able to update the experiment:
Error updating to v4.0.0
Creating an experiment with current default version 3.13:
cgutierr@bscesautosubmit01:~> module load autosubmit
cgutierr@bscesautosubmit01:~> autosubmit -v
3.13.0
cgutierr@bscesautosubmit01:~> autosubmit expid -H mn1 -dm -d "test"
The new experiment "a58n" has been registered.
Copying config files...
Experiment registered successfully
Loading the autosubmit 4.0 version and applying updateversion:
cgutierr@bscesautosubmit01:~> module load autosubmit/4.0.0b-foss-2015a-Python-3.7.3
The following have been reloaded with a version change:
1) Python/2.7.9-foss-2015a => Python/3.7.3-foss-2015a
2) autosubmit/3.13.0-foss-2015a-Python-2.7.9 => autosubmit/4.0.0b-foss-2015a-Python-3.7.3
cgutierr@bscesautosubmit01:~> autosubmit -v
4.0.0b0
cgutierr@bscesautosubmit01:~> autosubmit updateversion a58n -v
The a58n experiment version is being updated to 4.0.0b0 for match autosubmit version
[ERROR] Trace: [Errno 2] No such file or directory: '/esarchive/autosubmit/a58n/conf/autosubmit_a58n.yml'
[CRITICAL] Unhandled error: If you see this message, please report it in Autosubmit's GitLab project
Also, for me, updateversion
only works with the -v flag. I've tested a couple of experiments to switch from 3.13 to 3.14b and with the flag -v it was updating correctly but without it was failing:
Error updating to 3.14.0b without the flag -v
cgutierr@bscesautosubmit01:~> module load autosubmit
cgutierr@bscesautosubmit01:~> autosubmit -v
3.13.0
cgutierr@bscesautosubmit01:~> autosubmit expid -H mn1 -dm -d "test from 3.13 to 3.14b"
The new experiment "a58o" has been registered.
Copying config files...
Experiment registered successfully
Now we change to 3.14b:
cgutierr@bscesautosubmit01:~> module load autosubmit/3.14.0b-foss-2015a-Python-2.7.9
And with the does not work:
cgutierr@bscesautosubmit01:~> autosubmit updateversion a58o
[CRITICAL] Current experiment uses (3.13.0) which is not the running Autosubmit version
Please, update the experiment version if you wish to continue using AutoSubmit 3.14.0b0
You can achieve this using the command autosubmit updateversion a58o
Or with the -v parameter: autosubmit updateversion a58o -v [eCode=7067]
More info at https://autosubmit.readthedocs.io/en/latest/faq.html
But with the flag it does work:
gutierr@bscesautosubmit01:~> autosubmit updateversion a58o -v
The a58o experiment 3.13.0 version is being updated to 3.14.0b0 for match autosubmit version
Locale C.utf8 is not found, using 'C' as fallback
Autosubmit is running with 3.14.0b0
expdef_a58o.conf OK
Changing a58o experiment version from 3.14.0b0 to 3.14.0b