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

Getting load warnings on version 3.1.4 #698

Open
manuchadha1979 opened this issue May 14, 2019 · 1 comment
Open

Getting load warnings on version 3.1.4 #698

manuchadha1979 opened this issue May 14, 2019 · 1 comment

Comments

@manuchadha1979
Copy link

Hi

I am on Windows10

When I start CCM, I get warnings. I am using ccm version 3.1.4. I think these warnings should be fixed in the version but I am still getting them.

C:...\ccm-3.1.4.tar\dist\ccm-3.1.4\ccmlib\cluster_factory.py:22: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

data = yaml.load(f)

C:...\ccm-3.1.4.tar\dist\ccm-3.1.4\ccmlib\node.py:143: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.

data = yaml.load(f)

Why am I getting these warnings and how could these be fixed?

thanks
Manu

@oz123
Copy link

oz123 commented Jun 3, 2019

@manuchadha1979 you are getting these errors because yaml.load shouldn't be use. See scylladb/scylla-ccm#158

Also note, this is already fixed on the master branch with:

275699f

So just install the ccm from the git sources.

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

2 participants