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

dsc-query error ERROR: __init__() got multiple values for argument 'schema' #231

Open
jean997 opened this issue Oct 2, 2023 · 4 comments

Comments

@jean997
Copy link

jean997 commented Oct 2, 2023

Got this error running dscquery() in R

INFO: Loading database ...
INFO: Running queries ...
ERROR: __init__() got multiple values for argument 'schema'

Any ideas?

@jean997
Copy link
Author

jean997 commented Oct 2, 2023

Just an update -- I did a fresh install of dsc into a new conda environment and got a new error

INFO: Loading database ...
INFO: Running queries ...
ERROR: Argument 'placement' has incorrect type (expected pandas._libs.internals.BlockPlacement, got numpy.ndarray)

I think this is probably related to the version of one of the python packages. This error is with python 3.11.5, pandas 2.1.1 and numpy 1.26.0

The previous error was python 3.9.18, pandas 1.3.4 and numpy 1.21.3

@jean997
Copy link
Author

jean997 commented Oct 2, 2023

Alright one more update. I got it running with
python 3.9.18
pandas 1.5.3
sqlalchemy 1.4.49

I think there may be a couple of compatibility issues with newer library versions based on the variety of error messages I saw getting to this combination.

@pcarbo
Copy link
Member

pcarbo commented Oct 2, 2023

Thanks for the bug report @jean997!

@gaow
Copy link
Member

gaow commented Oct 2, 2023

@jean997 we are also using DSC for a couple of projects. Let me ask my trainee to update their Python related setup to the latest version and try to bump into these so I can try to fix.

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

3 participants