Skip to content
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

Exports don't work in Colab notebooks #274

Open
rasmi opened this issue Apr 11, 2024 · 0 comments
Open

Exports don't work in Colab notebooks #274

rasmi opened this issue Apr 11, 2024 · 0 comments

Comments

@rasmi
Copy link

rasmi commented Apr 11, 2024

Description

When saving a figure of any format in a Colab notebook, I get the following error:

SessionNotCreatedException: Message: session not created: Chrome failed to start: exited normally.
  (session not created: DevToolsActivePort file doesn't exist)
  (The process started from chrome location /root/.cache/selenium/chrome/linux64/123.0.6312.122/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)

This seems to be a side effect of running selenium in Colab and Docker. Adding the --no-sandbox and --disable-dev-shm-usage flags to ChromeOptions in _export.py fixes this.

Development environment

  • Operating System: Linux (Colab)
  • great_tables: ed09f9d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants