Export Error on Microsoft Edge.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 17
- Forks
- 10
- Avg merge
- 4h 56m
- Merged PRs (30d)
- 4
Description
I'm using plotly==7.0.0 kaleido==1.4.0 choreographer==1.3.0 on Windows 10. And the Chromium Browser is Microsoft Edge. I have tried the codes below to export an image:
import plotly.express as px
fig=px.bar(x=["a", "b", "c"], y=[1, 3, 2])
fig.show()
fig.write_image("fig.png")
The graph can be displayed correctly. However, when exporting the image, the log shows that Wait expired, Browser is being closed by watchdog. and an error occurred as below.
(traceback omitted)
choreographer.browsers._errors.BrowserFailedError: ('The browser seemed to close immediately after starting.', 'You can set the `logging.Logger` level lower to see more output.', 'You may try installing a known working copy of Chrome by running ', '`$ choreo_get_chrome`.It may be your browser auto-updated and will now work upon restart. The browser we tried to start is located at C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe.')
Meanwhile, I have tried the minimal test for choreographer==1.3.0 as code below:
import asyncio
import choreographer as choreo
async def example():
browser = await choreo.Browser(headless=False)
await asyncio.sleep(3)
if __name__ == "__main__":
asyncio.run(example())
The error is the same as above.
Wait expired, Browser is being closed by watchdog.
(traceback omitted)
choreographer.browsers._errors.BrowserFailedError: ('The browser seemed to close immediately after starting.', 'You can set the `logging.Logger` level lower to see more output.', 'You may try installing a known working copy of Chrome by running ', '`$ choreo_get_chrome`.It may be your browser auto-updated and will now work upon restart. The browser we tried to start is located at C:\\Program Files (x86)\\Microsoft\\Edge\\Application\\msedge.exe.')
It can be seen that choreographer causes the error, not plotly or kaleido. Choreographer is not suitable for Microsoft Edge.
Edge Version: 152.0.4191.66.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the minimal choreographer.Browser(headless=False) example and the logged Microsoft Edge executable path on Windows. Reproduce the watchdog timeout with Edge 152.0.4191.66, then verify that Choreographer can launch Edge and that the Plotly image export completes without BrowserFailedError.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100