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

Steps cannot find dependencies if listed downstream in json #1

Open
wukevin opened this issue May 5, 2018 · 0 comments
Open

Steps cannot find dependencies if listed downstream in json #1

wukevin opened this issue May 5, 2018 · 0 comments

Comments

@wukevin
Copy link
Contributor

wukevin commented May 5, 2018

Within the zippy json file, if a step has a dependency that is listed further down in the json file than it itself is, it cannot successfully find that dependency. While this is easily worked around (by simply rearranging the json) it could possibly become cumbersome for more complex pipelines.

Example error message that this triggers:

[ERROR] Failed to complete master workflow, error code: 1
[ERROR] errorMessage:
[ERROR] Unhandled Exception in TaskRunner-Thread-masterWorkflow
[ERROR] Traceback (most recent call last):
[ERROR]   File "~/software/python/lib/python2.7/site-packages/pyflow/pyflow.py", line 1069, in run [ERROR]     (retval, retmsg) = self._run()
[ERROR]   File "~/software/python/lib/python2.7/site-packages/pyflow/pyflow.py", line 1121, in _run
[ERROR]     self.workflow.workflow()
[ERROR]   File "~/software/python/lib/python2.7/site-packages/zippy/zippy.py", line 164, in workflow
[ERROR]     previous_stages = [self.stage_dict[x] for x in stage.previous_stage]
[ERROR]   KeyError: u'example'
quejebo pushed a commit that referenced this issue Jan 4, 2019
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