You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My machines never ran into the issues here #422 but it does make sense that others might have issue with that and I felt partially responsible to help. In plot.py I swapped out kaleido.get_chrome_sync() for pio.get_chrome() which I believe will install chrome in the user conda env (added some error warnings just in case). Minimal test performed and all the output files expected were seen.
@lsterck I hope this is able to fix your issue as I wasn't able to replicate it fully :/
thanks for picking up on this!
I personally also don't have any issues installing it on local servers (well, I was able to add a fix for the issue on our local servers ;-) ) but the issue is mainly when deploying via conda in a galaxy context, where the conda-env is more restrictive I understood and I, for obvious reasons, can't do what I did with my local fix.
my local test using the conda install does seem to pass now indeed (while failing before on the reported issue)
I do get this in the stderr though:
"WARNING\troot:plot.py:()- Plotly could not fetch or find Chrome automatically. Static exports may fail unless BROWSER_PATH is set. Details: [Errno 13] Permission denied: '/usr/local/lib/python3.13/site-packages/choreographer/cli/browser_exe'
Is that something to worry about? or that I can/should amend?
Or can I safely ignore if no static images are requested?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
My machines never ran into the issues here #422 but it does make sense that others might have issue with that and I felt partially responsible to help. In
plot.pyI swapped outkaleido.get_chrome_sync()forpio.get_chrome()which I believe will install chrome in the user conda env (added some error warnings just in case). Minimal test performed and all the output files expected were seen.@lsterck I hope this is able to fix your issue as I wasn't able to replicate it fully :/