-
Notifications
You must be signed in to change notification settings - Fork 38
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
Issues with parenthesis in kaleido installation path #209
Comments
Hi @mmarras Will you do me a favor and re-install kaleido with This will install the yet-to-be-release rewrite of kaleido, and this problem may disappear. Fair warning, it is alpha so it may throw a different error. Either way I think I can help get this resolved today. Thanks! |
Different error indeed:
|
That is very useful, thank you, I'll get back to you in a couple hours |
@mmarras for context, plotly had to rewrite kaleido because the original strategy was no longer tenable, and I just had you install the new release. it's in internal testing right now- I've just fixed the
but I can't speak for what might happen afterwards.. The rewrite requires chrome or chromium installed on the system- the old version bundled it but its huge now and that doesn't work. (let me know if that's a problem) You can install the development branch directly with: or if you don't mind waiting, I will @ you when a new Thank you so much for your patience and help! |
No more error message, but also no image generation. Keeps being busy indefinitely. Chrome 70 is on the system as a managed installation. |
Hi @mmarras, I really apologize about all this... I've submitted another commit to that branch to allow verbose (very) debugging output, and it can be enabled if the image is written as: from kaleido.scopes.plotly import PlotlyScope
scope = PlotlyScope(debug=True)
with open(str(Path(r"C:\temp") / f"{pdf.stem}.png)"), "wb") as f:
f.write(scope.transform(fig, format="png")) I copied your original post to make that. I would need that debugging output to help further, and any additional information about the system. Thank you so much, |
Hi sorry, for getting back to this just now. The folders (browser_path, user_data_dir) are correct, accessible and contain data but it stops right there after 2s of processing it just hangs.
|
Hi @mmarras, there are quite a few bugfixes and updates coming out probably EOD today (maybe tomorrow morning), so your issue might get fixed there... also coming with improved debug. I'll ping you when it's ready! |
Hi @mmarras, so there is a new release candidate on pypi for kaleido. (must pass It includes several bug fixes, several hang fixes, and the option for increasing debug output. It is currently going through rounds of alpha testing internally, and I'm sure will be even more stable once that is finished. I appreciate your patience on these issues! |
New version is now main version- many bogs were squashed since this issue started. I wonder if there is an update? |
@mmarras can you please let us know if v1.0.0rc0 fixes your problems? |
Hello,
I am using plotly's
fig.write_image()
(plotly 5.24.1) [fig.write_html()
works fine]I am on a work machine, windows 10 enterprise and am boxed in and can only install to my user folder, so that's where I have miniconda installed. However my user folder has a parenthesis in it which likely clashes with some internal shell/batch scripting. Changing the location of the output file to "c:\temp" is still promting the same error.
Note here that my user folder is:
c:\Users\MArras(NL)\
and notc:\Users\MArras
here is the full error dump:
The text was updated successfully, but these errors were encountered: