Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • autosubmit autosubmit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 338
    • Issues 338
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • autosubmitautosubmit
  • Issues
  • #192
Closed
Open
Issue created Sep 17, 2016 by Miguel Castrillo@mcastrilOwner

Errors with autosubmit monitor and autosubmit run

Created experiment t00y using AS 3.7.0 (I think)

Tried autosubmit setstatus t00y -s -t COMPLETED -fl t00y_19900101_fc0_1_SIM

Had this error:

Preparing .lock file to avoid multiple instances with same expid.
[CRITICAL] Unhandled exception on Autosubmit: 'list' object has no attribute 'get_job_list'
Traceback (most recent call last):
  File "/shared/earth/software/autosubmit/3.6.0-foss-2015a-Python-2.7.9/lib/python2.7/site-packages/autosubmit-3.6.0-py2.7.egg/autosubmit/autosubmit.py", line 311, in parse_args
    args.filter_chunks, args.filter_status, args.filter_type, args.hide)
  File "/shared/earth/software/autosubmit/3.6.0-foss-2015a-Python-2.7.9/lib/python2.7/site-packages/autosubmit-3.6.0-py2.7.egg/autosubmit/autosubmit.py", line 1705, in set_status
    for job in job_list.get_job_list():
AttributeError: 'list' object has no attribute 'get_job_list'

Tried autosubmit monitor t00y

Getting job list...
[CRITICAL] Unhandled exception on Autosubmit: local variable 'jobs' referenced before assignment
Traceback (most recent call last):
  File "/shared/earth/software/autosubmit/3.6.0-foss-2015a-Python-2.7.9/lib/python2.7/site-packages/autosubmit-3.6.0-py2.7.egg/autosubmit/autosubmit.py", line 294, in parse_args
    args.filter_type, args.hide)
  File "/shared/earth/software/autosubmit/3.6.0-foss-2015a-Python-2.7.9/lib/python2.7/site-packages/autosubmit-3.6.0-py2.7.egg/autosubmit/autosubmit.py", line 789, in monitor
    for job in jobs:
UnboundLocalError: local variable 'jobs' referenced before assignment

Then loaded Autosubmit 3.7.0 module (because in that moment I had AS 3.6):

autosubmit setstatus t00y -s -t COMPLETED -fl t00y_19900101_fc0_1_SIM

Worked

autosubmit run t00y

Error:

[CRITICAL] Unhandled exception on Autosubmit: iteration over non-sequence
Traceback (most recent call last):
  File "/shared/earth/software/autosubmit/3.7.0-foss-2015a-Python-2.7.9/lib/python2.7/site-packages/autosubmit-3.7.0-py2.7.egg/autosubmit/autosubmit.py", line 313, in parse_args
    return Autosubmit.run_experiment(args.expid)
  File "/shared/earth/software/autosubmit/3.7.0-foss-2015a-Python-2.7.9/lib/python2.7/site-packages/autosubmit-3.7.0-py2.7.egg/autosubmit/autosubmit.py", line 592, in run_experiment
    job_list = Autosubmit.load_job_list(expid, as_conf)
  File "/shared/earth/software/autosubmit/3.7.0-foss-2015a-Python-2.7.9/lib/python2.7/site-packages/autosubmit-3.7.0-py2.7.egg/autosubmit/autosubmit.py", line 2197, in load_job_list
    date_format, as_conf.get_retrials(), as_conf.get_default_job_type(), False)
  File "/shared/earth/software/autosubmit/3.7.0-foss-2015a-Python-2.7.9/lib/python2.7/site-packages/autosubmit-3.7.0-py2.7.egg/autosubmit/job/job_list.py", line 112, in generate
    jobs_data = {str(row[0]): row for row in self.load()}
TypeError: iteration over non-sequence

@dmanubens @jlope2

Assignee
Assign to
Time tracking