Improve Archive Error Message
Hello @dbeltran, @bdepaula, and @isimomun
Autosubmit Version
3.15.15, but probably all.
Expid affected
a7dc a773 a75j a6zs a74v a74r
Summary
Autosubmit throws a random error upon failing to archive due to unpushed changes to the project folder.
Steps to reproduce
- Create an experiment with project type git,
- make changes on the experiment's project folder located at Autosubmit's local folder (i.e.
/esarchive/autosubmit
) path (according to.autosubmitrc
). - execute
autosubmit archive expid
What is the current bug behavior?
Autosubmit is running with 3.15.15
Checking configuration files...
expdef_a773.conf OK
platforms_a773.conf OK
jobs_a773.conf OK
wrappers OK
autosubmit_a773.conf OK
Configuration files OK
Registering commit SHA...
Cleaning GIT directory...
Changes not committed detected... SKIPPING!
[ERROR] Trace: 'AutosubmitCritical' object has no attribute 'messagee'
Traceback (most recent call last):
File "/shared/earth/software/autosubmit/3.15.15-foss-2015a-Python-2.7.9/lib/python2.7/site-packages/autosubmit-3.15.15-py2.7.egg/EGG-INFO/scripts/autosubmit", line 37, in main
Autosubmit.parse_args()
File "/shared/earth/software/autosubmit/3.15.15-foss-2015a-Python-2.7.9/lib/python2.7/site-packages/autosubmit-3.15.15-py2.7.egg/autosubmit/autosubmit.py", line 670, in parse_args
return Autosubmit.archive(args.expid, noclean=args.noclean, uncompress=args.uncompress)
File "/shared/earth/software/autosubmit/3.15.15-foss-2015a-Python-2.7.9/lib/python2.7/site-packages/autosubmit-3.15.15-py2.7.egg/autosubmit/autosubmit.py", line 4192, in archive
if version is not None and version.startswith('3') and not Autosubmit.clean(expid, True, True, True):
File "/shared/earth/software/autosubmit/3.15.15-foss-2015a-Python-2.7.9/lib/python2.7/site-packages/autosubmit-3.15.15-py2.7.egg/autosubmit/autosubmit.py", line 2783, in clean
e.messagee)
AttributeError: 'AutosubmitCritical' object has no attribute 'messagee'
[CRITICAL] None'AutosubmitCritical' object has no attribute 'messagee'
Unhandled error: If you see this message, please report it in Autosubmit's GitLab project
What is the expected correct behavior?
Something along the lines of
Autosubmit is running with 3.15.15
Checking configuration files...
expdef_a773.conf OK
platforms_a773.conf OK
jobs_a773.conf OK
wrappers OK
autosubmit_a773.conf OK
Configuration files OK
Registering commit SHA...
Cleaning GIT directory...
[CRITICAL] Cannot archive an experiment with unpushed local changes to the project folder.