-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
import plotly
fails with KeyError: 'metaKeys'
#612
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
Comments
heads up @theengineear and @Kully |
@chriddyp Yeah, I was just experiencing this bug when working with the documentation... |
Im having a similar bug. I've added the graphic to a Django view. It work sometimes, but most of the time i receive this error: Idk if it's the same problem, but i googled and find it here. If you guys need any kind of information, im ok with that. |
Thanks for reporting @fchevitarese! We are working on a fix right now |
import plotly
fails with KeyError: 'metaKeys'
A fix is on the way out the door right now. |
This issue has been fixed through plotly/plotly.js#1182. |
I'm not sure what all it would entail as far as this project's layout, but it seems undesirable to me that I have failing tests on any file that has I wasn't aware that this was a possibility. Should I mock out the entire plotly package for my tests, or will this change? I'm not in a good place to contribute to any sort of big change that would fix this issue, but may be able to add something to the docs warning about this behavior if someone can point me in the right direction. |
I agree 👍 |
@jlmcgehee21 100% agreed. Here's a recap of what happened here:
This library has fail-safes around the actual API calls - There is a 5 second timeout and a cached version of the but no fail safes around creating the To make sure that this never happens again, we should either:
|
I am closing this issue for now and will recreate an issue with those two items (#613) |
Right now,
import plotly
fails.Several pages on the API are failing intermittently right now with a 504 and so I suspect that this URL
https://api.plot.ly/v2/plot-schema.json?sha1=%22%22
is failing with like a 504 behind the scenes too.The text was updated successfully, but these errors were encountered: