microbiomedata / nmdc_automation

Prototype automation
2 stars 2 forks source link

Error initializing Scheduler on Spin #291

Closed mbthornton-lbl closed 6 days ago

mbthornton-lbl commented 6 days ago
root@scheduler-68f9ccbbf8-h2w7f:/conf# INFO:root:Initializing Scheduler
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/local/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/src/nmdc_automation/workflow_automation/sched.py", line 350, in <module>
    main()
  File "/src/nmdc_automation/workflow_automation/sched.py", line 342, in main
    sched.cycle(dryrun=dryrun, skiplist=skiplist, allowlist=allowlist)
  File "/src/nmdc_automation/workflow_automation/sched.py", line 292, in cycle
    wfp_nodes = load_workflow_process_nodes(self.db, self.workflows, allowlist)
  File "/src/nmdc_automation/workflow_automation/workflow_process.py", line 255, in load_workflow_process_nodes
    data_objs_by_id = get_required_data_objects_map(db, workflows)
  File "/src/nmdc_automation/workflow_automation/workflow_process.py", line 31, in get_required_data_objects_map
    if do.data_object_type.code.text not in required_types:
AttributeError: 'NoneType' object has no attribute 'code'