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

[Bug] Retry would failing running as a CLI command #9444

Closed
2 tasks done
ChenyuLInx opened this issue Jan 24, 2024 · 0 comments · Fixed by #9443
Closed
2 tasks done

[Bug] Retry would failing running as a CLI command #9444

ChenyuLInx opened this issue Jan 24, 2024 · 0 comments · Fixed by #9443
Assignees
Labels
backport 1.7.latest bug Something isn't working Highest Severity critical bug that must be resolved immediately regression retry

Comments

@ChenyuLInx
Copy link
Contributor

ChenyuLInx commented Jan 24, 2024

Is this a new bug in dbt-core?

  • I believe this is a new bug in dbt-core
  • I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior

Running dbt retry will fail

Expected Behavior

retry works

Steps To Reproduce

run dbt retry in a project

Relevant log output

23:11:40  Encountered an error:
'manifest'
23:11:40  Traceback (most recent call last):
  File "/Users/dbeatty/projects/environments/dbt_1.7/lib/python3.10/site-packages/dbt/cli/requires.py", line 91, in wrapper
    result, success = func(*args, **kwargs)
  File "/Users/dbeatty/projects/environments/dbt_1.7/lib/python3.10/site-packages/dbt/cli/requires.py", line 76, in wrapper
    return func(*args, **kwargs)
  File "/Users/dbeatty/projects/environments/dbt_1.7/lib/python3.10/site-packages/dbt/cli/requires.py", line 169, in wrapper
    return func(*args, **kwargs)
  File "/Users/dbeatty/projects/environments/dbt_1.7/lib/python3.10/site-packages/dbt/cli/requires.py", line 198, in wrapper
    return func(*args, **kwargs)
  File "/Users/dbeatty/projects/environments/dbt_1.7/lib/python3.10/site-packages/dbt/cli/requires.py", line 245, in wrapper
    return func(*args, **kwargs)
  File "/Users/dbeatty/projects/environments/dbt_1.7/lib/python3.10/site-packages/dbt/cli/main.py", line 652, in retry
    ctx.obj["manifest"],
KeyError: 'manifest'

Environment

- OS:
- Python:
- dbt: 1.7.5

Which database adapter are you using with dbt?

No response

Additional Context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.7.latest bug Something isn't working Highest Severity critical bug that must be resolved immediately regression retry
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants