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

Cosmic-ray==3.1.0 init doesn't work #352

Closed
donato opened this issue Dec 21, 2017 · 6 comments
Closed

Cosmic-ray==3.1.0 init doesn't work #352

donato opened this issue Dec 21, 2017 · 6 comments

Comments

@donato
Copy link

donato commented Dec 21, 2017

Using python 3.6 and cosmic-ray 3.1.0, the init doesn't do anything. Verbose is also silent

cosmic-ray init config.yml my_session                                                                                                                                                     

Uninstalling and using cosmic-ray v3.0.6 immediately works

@abingham
Copy link
Contributor

Hmmm...there was a pretty big change in there, and it's possible we broke something.

Are you installing it from source, via pip, or what?

What's in config.yml?

When you say nothing happens, do you mean that my_session.json is not created?

@donato
Copy link
Author

donato commented Dec 22, 2017 via email

@abingham
Copy link
Contributor

The main issue is that CR isn't giving very good feedback. When a config doesn't exist, init silently fails (technically it sets the error code, but that's not visible).

I've created the improved-load-config-feedback branch that should improve the situation. Can you try it out and let me know if it fixes things for you?

@donato
Copy link
Author

donato commented Dec 23, 2017 via email

@abingham
Copy link
Contributor

Ah, you're right! Sorry about that. I'll update the docs as well.

@abingham
Copy link
Contributor

@donato I've create a branch with some documentation improvements. Can you have a look at it and let me know if it seems both correct and sufficient to you? It's good for us to get fresh eyes like yours on the docs.

Thanks for working with us on this, and God Jul from Norway!

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