Skip to content

[BUG] anywidget.js 404 Not Found when rendering Altair charts #333 #3935

@jeeenolee93-byte

Description

@jeeenolee93-byte

What happened?

There was an issue where the UI displayed using the render_altair decorator wasn't fully displayed. The related log was as follows:

INFO: 127.0.0.1:57398 - "GET /app_dir/anywidget.js HTTP/1.1" 404 Not Found

Altair rendering appears to be unavailable on the official Shiny for Python website.

Is there a problem with reading the js file on the Altair server side, or is it a Shiny for Python issue?

Is this a Altair server side issue? If so, please fix the bug.

(Test Link)
https://shiny.posit.co/py/docs/jupyter-widgets.html#installation

(Console Log)
require.min.js:15 Changing an anonymous define() call to named define() using 'anywidget'

vega@%5E5.21.0:2 GET https://esm.sh/vega-crossfilter@~4.1.4?target=es2022 net::ERR_ABORTED 404 (Not Found)
vega@%5E5.21.0:11 GET https://esm.sh/vega-hierarchy@~4.1.4?target=es2022 net::ERR_ABORTED 404 (Not Found)
vega@%5E5.21.0:15 GET https://esm.sh/vega-projection@~1.6.3?target=es2022 net::ERR_ABORTED 404 (Not Found)
vega@%5E5.21.0:4 GET https://esm.sh/vega-encode@~4.10.3?target=es2022 net::ERR_ABORTED 404 (Not Found)
vega@%5E5.21.0:12 GET https://esm.sh/vega-label@~1.3.2?target=es2022 net::ERR_ABORTED 404 (Not Found)
vega@%5E5.21.0:17 GET https://esm.sh/vega-runtime@~6.2.2?target=es2022 net::ERR_ABORTED 404 (Not Found)
vega@%5E5.21.0:7 GET https://esm.sh/vega-force@~4.2.3?target=es2022 net::ERR_ABORTED 404 (Not Found)
vega@%5E5.21.0:14 GET https://esm.sh/vega-parser@~6.6.1?target=es2022 net::ERR_ABORTED 404 (Not Found)
vega@%5E5.21.0:10 GET https://esm.sh/vega-geo@~4.4.4?target=es2022 net::ERR_ABORTED 404 (Not Found)
vega@%5E5.21.0:16 GET https://esm.sh/vega-regression@~1.3.2?target=es2022 net::ERR_ABORTED 404 (Not Found)
vega@%5E5.21.0:25 GET https://esm.sh/vega-view@~5.16.1?target=es2022 net::ERR_ABORTED 404 (Not Found)
vega@%5E5.21.0:27 GET https://esm.sh/vega-wordcloud@~4.1.7?target=es2022 net::ERR_ABORTED 404 (Not Found)
vega@%5E5.21.0:22 GET https://esm.sh/vega-transforms@~4.12.2?target=es2022 net::ERR_ABORTED 404 (Not Found)
vega@%5E5.21.0:26 GET https://esm.sh/vega-voronoi@~4.2.5?target=es2022 net::ERR_ABORTED 404 (Not Found)
vega@%5E5.21.0:24 GET https://esm.sh/vega-view-transforms@~4.6.2?target=es2022 net::ERR_ABORTED 404 (Not Found)

What would you like to happen instead?

No response

Which version of Altair are you using?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds-triageBug report needs maintainer response

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions