Skip to content

Attribute Error when updating fail/skip thresholds #639

@rebucci

Description

@rebucci

If you have extra_inputs in your workflow, editing threshold_for_failure/skipping while the job gives an attribute error about extra_inputs.

AttributeError: can't change attribute extra_inputs of type <class 'lobster.core.workflow.Workflow'>

The threshold values do not update.

Full error from process.log:

[INFO] lobster.actions: updating configuration
[INFO] lobster.workflow: merging outputs up to 3000000000.0 bytes
[INFO] lobster.configure: updating item 0 of list 'extra_inputs' with value 'AM_ana' (old: '/tmpscratch/users/rbucci/03_StubAnalyzer/SW_Analyzer_Effs_20190311/effs_el0_loose/AM_ana')
[ERROR] lobster.actions: failed to update configuration:
Traceback (most recent call last):
  File "/afs/crc.nd.edu/user/r/rbucci/.lobster/lib/python2.7/site-packages/lobster/actions.py", line 47, in update_configuration
    self.config.update(new_config)
  File "/afs/crc.nd.edu/user/r/rbucci/.lobster/lib/python2.7/site-packages/lobster/util.py", line 215, in update
    ours[n].update(theirs[n])
  File "/afs/crc.nd.edu/user/r/rbucci/.lobster/lib/python2.7/site-packages/lobster/util.py", line 225, in update
    setattr(self, arg, ours)
  File "/afs/crc.nd.edu/user/r/rbucci/.lobster/lib/python2.7/site-packages/lobster/util.py", line 131, in __setattr__
    raise AttributeError("can't change attribute {} of type {}".format(attr, type(self)))
AttributeError: can't change attribute extra_inputs of type <class 'lobster.core.workflow.Workflow'>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions