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] Getting TypeError when running any dbt command #9761

Closed
2 tasks done
tobiascadee opened this issue Mar 14, 2024 · 2 comments
Closed
2 tasks done

[Bug] Getting TypeError when running any dbt command #9761

tobiascadee opened this issue Mar 14, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@tobiascadee
Copy link

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

I am getting this error when running any dbt command on dbt-redshift 1.7.4 and dbt-core 1.7.10:
Traceback (most recent call last): File "/opt/homebrew/bin/dbt", line 5, in <module> from dbt.cli.main import cli File "/opt/homebrew/lib/python3.10/site-packages/dbt/cli/__init__.py", line 1, in <module> from .main import cli as dbt_cli # noqa File "/opt/homebrew/lib/python3.10/site-packages/dbt/cli/main.py", line 13, in <module> from dbt.cli import requires, params as p File "/opt/homebrew/lib/python3.10/site-packages/dbt/cli/requires.py", line 1, in <module> import dbt.tracking File "/opt/homebrew/lib/python3.10/site-packages/dbt/tracking.py", line 103, in <module> emitter = TimeoutEmitter() File "/opt/homebrew/lib/python3.10/site-packages/dbt/tracking.py", line 53, in __init__ super().__init__( TypeError: Emitter.__init__() got an unexpected keyword argument 'buffer_size'

Expected Behavior

for the dbt command to execute

Steps To Reproduce

  1. environment with python 3.10.13 and dbt-resddhift 1.7.4 and dbt-core 1.7.10
  2. run dbt deps (or any dbt command)

Relevant log output

No response

Environment

- OS: macOS 14.4
- Python: 3.10.13
- dbt: 1.7.10

Which database adapter are you using with dbt?

redshift

Additional Context

No response

@tobiascadee tobiascadee added bug Something isn't working triage labels Mar 14, 2024
@dbeatty10
Copy link
Contributor

Thanks for reaching out @tobiascadee.

This looks similar to #8719 (comment).

Are you using Meltano, by any chance? If not, are you somehow installing snowplow-python-tracker separately from dbt?

@tobiascadee
Copy link
Author

Seems like the issue was resolved!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants