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

More informative error message if vl-convert does not support the Vega-Lite version #58

Open
binste opened this issue May 18, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@binste
Copy link

binste commented May 18, 2023

I noticed this when updating Altair to version 5 in an environment but forgot to update vl-convert and still used 0.8.0. When saving a chart I got RuntimeError: Unsupported Vega-Lite version string v5_8. Could this be improved so that it tells the user to either try upgrading or downgrading vlc depending on if the required version of Vega-Lite is higher or lower then the currently supported one by vl-convert?

RuntimeError: Vega-Lite version 5.8 is not supported. You might need to upgrade vl-convert <- same with downgrade, maybe is no longer supported. You need to downgrade vl-convert.

@jonmmease jonmmease added the enhancement New feature or request label May 18, 2023
@jonmmease
Copy link
Collaborator

Yeah, that sounds reasonable! Thanks for the suggestion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants