-
Notifications
You must be signed in to change notification settings - Fork 40
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
Upgrade kaleido 0.2.1 -> 0.4.1 is causing errors in CI #226
Comments
This might be the same as #223 but im not entirely sure |
I have also just bit bitten by this issue. A possible solution is to change the following line Kaleido/src/py/kaleido/scopes/plotly.py Line 64 in 2459633
to: -elif "snap" in path:
+elif path is not None and "snap" in path: |
Opened a PR just in case you think this is a viable solution: #227 |
Had the same issue today and 0.2.1 saved me in jupyterlabs, you beat me by an hour or so :) I can now write images again, I was confused as it worked fine two days ago and figured it was something to with how I original installed things the first time. |
+1 to fixing this issue. |
plotly/Kaleido#226 is the issue. We just need to wait.
plotly/Kaleido#226 is the issue. We just need to wait.
* Fix for vaex - numpy breaking it. Not sure when vaex will fix it. * Fix for pandera dask dask-expr library is now needed. Note: python3.8 doesn't have dask-expr. So we skip pandera dask now in python 3.8. Not worth worrying about. * Temporary fix for failing plotly tests plotly/Kaleido#226 is the issue. We just need to wait.
+1 to fixing this issue - downgrading to 0.2.1 did NOT work within Azure Databricks
After several hours of trying different DBR configs/Plotly versions/Kaleido versions, I've finally gotten it to work on |
just to help discoverability of this thread, another error you hit when you manually fix the -> 1035 view = memoryview(data)
1036 with self.open(mode='wb') as f:
1037 return f.write(view)
TypeError: memoryview: a bytes-like object is required, not 'NoneType' |
Hi @janosh, My suggestion is to pin the old version of Plotly decided to yank the new version release so as not to force-update every given the dependency change: One must now have chrome or chromium (or edge- wait) installed to use kaleido You can set |
A bug like |
While type annotation do make codebases more resistant to these sorts of bugs, in this specific instance since @s-banach I'm sure the maintainers would welcome a PR from you! |
Hi, first of all, thank you for this project. Really appreciate the work! After as of the 0.4.1 release several of our unit tests started failing here. In the meantime I've pinned our version to 0.2.1 and all is well but not sure if there's something deprecated that I didn't see before as our code hasn't changed in ages. Let me know if there's more information you need. Thank you.
and also seeing this traceback as well with the only change being Kaleido 0.4.1
The text was updated successfully, but these errors were encountered: