Skip to content
This repository has been archived by the owner on Jul 20, 2024. It is now read-only.

nbconvert: 3rd party widgets not loading #63

Open
danielfrg opened this issue Oct 10, 2020 · 1 comment
Open

nbconvert: 3rd party widgets not loading #63

danielfrg opened this issue Oct 10, 2020 · 1 comment
Labels
bug Something isn't working nbconvert Issues related to nbconvert mode

Comments

@danielfrg
Copy link
Owner

We have the requireLoader on the HTML manager and it loads the widget from unpkg but then it cannot find the base widgets.

I am not sure how to fix this :D

Logs from a console:

Falling back to https://unpkg.com/ for jupyter-leaflet@^0.13.2
@jupyter-widgets/base.js:1 Failed to load resource: net::ERR_FILE_NOT_FOUND
18jupyter-flex-embed.js:22245 Could not instantiate widget
(anonymous) @ jupyter-flex-embed.js:22245
step @ jupyter-flex-embed.js:22016
(anonymous) @ jupyter-flex-embed.js:21997
rejected @ jupyter-flex-embed.js:21989
19require.min.js:1 Uncaught (in promise) Error: Script error for "@jupyter-widgets/base", needed by: jupyter-leaflet
https://requirejs.org/docs/errors.html#scripterror
    at makeError (require.min.js:1)
    at HTMLScriptElement.onScriptError (require.min.js:1)
@danielfrg danielfrg added bug Something isn't working nbconvert Issues related to nbconvert mode labels Oct 10, 2020
@danielfrg
Copy link
Owner Author

It probably has to be on how the jupyter-widgets embed works, we handle those things differently here, we include it on the bundle JS but are not available for other libraries or something like that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working nbconvert Issues related to nbconvert mode
Projects
None yet
Development

No branches or pull requests

1 participant