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

[CT-672] _relations_cache_for_schemas() takes 2 positional arguments but 3 were given #5278

Closed
smithics opened this issue May 20, 2022 · 2 comments
Labels
bug Something isn't working Team:Adapters Issues designated for the adapter area of the code

Comments

@smithics
Copy link

First time install of DBT (dbt-postgres) on Ubuntu.

dbt init myFirstProject

Changed settings in ~/.dbt/profiles.yml

dbt run
returns: _relations_cache_for_schemas() takes 2 positional arguments but 3 were given

Log files don't seem to give hints on the cause of the error. How can I find the cause of this error?

@github-actions github-actions bot changed the title _relations_cache_for_schemas() takes 2 positional arguments but 3 were given [CT-672] _relations_cache_for_schemas() takes 2 positional arguments but 3 were given May 20, 2022
@jtcohen6 jtcohen6 added bug Something isn't working triage Team:Adapters Issues designated for the adapter area of the code labels May 20, 2022
@jtcohen6
Copy link
Contributor

jtcohen6 commented May 20, 2022

@smithics Could you run dbt --version and see what it returns? It sounds like you may have mismatched installations of dbt-core and dbt-postgres. In v1.1 we expanded the signature of this method, to accept an additional argument.

@smithics
Copy link
Author

dbt --version

 installed version: 1.0.6
   latest version: 1.1.0

Your version of dbt is out of date! You can find instructions for upgrading here:
https://docs.getdbt.com/docs/installation

Plugins:
  - postgres: 1.1.0 - Up to date!

You're right.
dbt-mysql was installed before, but was removed because this is not maintained.

I'll start over with a clean VM. Thanks a million, I'm sure I'll be able to make progress now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Team:Adapters Issues designated for the adapter area of the code
Projects
None yet
Development

No branches or pull requests

2 participants