plotly / plotly/Kaleido

Kaleido v1+ doesn't work in docker

Open
#379 12 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug P2
Dominant language
Python
Stars
498
Forks
62
Avg merge
1d 11h
Merged PRs (30d)
2

Description

I tried saving figures with plotly 6.2.0 and kaleido v1.0.0 as well as v1.1.0rc0 in a docker container and I get the following error:

choreographer.browsers._errors.BrowserDepsError: It seems like you are running a slim version of your operating system and are missing some common dependencies. The following command should install the required dependencies on most systems:

$ sudo apt update && sudo apt-get install libnss3 libatk-bridge2.0-0 libcups2 libxcomposite1 libxdamage1 libxfixes3 libxrandr2 libgbm1 libxkbcommon0 libpango-1.0-0 libcairo2 libasound2

I've tried running plotly_get_chrome, kaleido_get_chrome, and did the apt installs listed above but have had no success.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the reported Plotly 6.2.0 and Kaleido v1.x export failure in the Docker environment, starting with the BrowserDepsError and the listed apt dependencies. Compare the container setup after running the Chrome installation commands and dependency installs; done means saving a figure succeeds in the container.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, python
Domain
devops, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.