plotly / plotly/dash

"Error loading layout" in Google Colab Enterprise Notebooks

Open
#3,192 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug P2
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

Cannot get (inline) to work in Google Colab Enterprise notebooks / Vertex AI notebooks

from dash import Dash, html

app = Dash()

app.layout = [html.Div(children='Hello World')]

app.run()

yields Error loading layout

I already tried adding ...

from dash import jupyter_dash

jupyter_dash.infer_jupyter_proxy_config()

... but it doesn't change anything.

The runtime uses dash version 2.18.2

Contributor guide

Open the contributing guide

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 provided Dash layout example in Google Colab Enterprise and Vertex AI notebooks using Dash 2.18.2, then compare the behavior with the jupyter_dash.infer_jupyter_proxy_config() variant. Done means the inline app loads without “Error loading layout” in the reported notebook environments.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter, python
Domain
data-visualization, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.