-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
Fixed output magic message when backend unavailable #1045
Conversation
What will happen if you ask for backend='powerpoint', i.e. one that truly doesn't exist? it would be nice if it were clear whether it's just nonsense/typo, or if there was a missing step. I understand that might not be practical, of course. |
Good suggestion! I don't think it would be too hard though I don't know if we have a list of all possible backend names somewhere I can use... |
|
||
|
||
raise ValueError(OutputMagic.backend_list, value) | ||
# raise ValueError("Backend %r not available. Has it been loaded with the notebook_extension?" % value) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stray comment?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Looks good. |
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
This PR addresses #999 regarding the inappropriate error message when trying to load an unavailable backend. Here is the old behavior:
And the new behavior:
I've tried to make a minimal fix. That said, the output message might suggest how to load the backend with
notebook_extension
...