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

cli: renku status fails after removing workflow #3728

Open
schymans opened this issue Jul 9, 2024 · 0 comments
Open

cli: renku status fails after removing workflow #3728

schymans opened this issue Jul 9, 2024 · 0 comments

Comments

@schymans
Copy link

schymans commented Jul 9, 2024

Describe the bug

A clear and concise description.

Details

Please verify and redact the details.

Renku version: 2.9.3
OS: Linux (#1 SMP PREEMPT_DYNAMIC progress-linux 6.9.2-1exp1progress7.99u)
Python: 3.10.13

Traceback

Traceback (most recent call last):
  File "[...]/site-packages/renku/infrastructure/gateway/activity_gateway.py", line 123, in get_downstream_activity_chains
    downstream_chains = [tuple(r.downstream for r in c) for c in downstream_chains]
  File "[...]/site-packages/renku/infrastructure/gateway/activity_gateway.py", line 123, in <listcomp>
    downstream_chains = [tuple(r.downstream for r in c) for c in downstream_chains]
  File "[...]/site-packages/zc/relation/catalog.py", line 1142, in _yieldRelationChains
    res = tuple(t)
  File "[...]/site-packages/zc/relation/catalog.py", line 1138, in <genexpr>
    t = (resolve(t, self, cache) for t in p)
  File "[...]/site-packages/renku/infrastructure/gateway/database_gateway.py", line 81, in load_downstream_relations
    return btree[token]
KeyError: '/activities/bf074d031839a74fce6b2f93ec92fe6e4ba9f2d8:/activities/352d1ca56c920cb8ec6ca5bde4d7e37fee322551'

Additional context

Following an attempt to remove cyclical workflows (https://renku.discourse.group/t/how-to-resolve-circular-workflows/1042/13), I removed an activity and then ran renku status to check how many more cyclical workflows I have. Here is the command I ran before renku status: renku workflow revert --force /activities/352d1ca56c920cb8ec6ca5bde4d7e37fee322551

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant