Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attribute Error when updating fail/skip thresholds #639

Open
rebucci opened this issue Mar 12, 2019 · 0 comments
Open

Attribute Error when updating fail/skip thresholds #639

rebucci opened this issue Mar 12, 2019 · 0 comments

Comments

@rebucci
Copy link
Contributor

rebucci commented Mar 12, 2019

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'>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant