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

Example widgets in the doc do not get rendered #1914

Closed
oscar6echo opened this issue Jan 20, 2018 · 5 comments
Closed

Example widgets in the doc do not get rendered #1914

oscar6echo opened this issue Jan 20, 2018 · 5 comments
Labels
bug critical resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Milestone

Comments

@oscar6echo
Copy link
Contributor

In the doc widget list page the example widgets do not get rendered.
Probably a small bug.
This page is quite useful to have an instant overview of what's available as core widgets.

@pbugnion
Copy link
Member

This seems to be rendering now. Are you still seeing the same behaviour?

@oscar6echo
Copy link
Contributor Author

Just tested in Firefox and Chrome and still no rendering...
The Chrome console says:

Widget List.html:1633 GET https://platform.twitter.com/widgets.js net::ERR_BLOCKED_BY_CLIENT
(anonymous) @ Widget List.html:1633
(anonymous) @ Widget List.html:1633
require.min.js:1 Uncaught (in promise) Error: Mismatched anonymous define() module: [object Object]
http://requirejs.org/docs/errors.html#mismatch
    at makeError (require.min.js:1)
    at v (require.min.js:1)
    at Object.o [as require] (require.min.js:1)
    at requirejs (require.min.js:1)
    at embed-amd.js:289477
    at new Promise (<anonymous>)
    at requirePromise (embed-amd.js:289471)
    at Object.renderWidgets (embed-amd.js:289497)
    at embed-amd.js:295591
makeError @ require.min.js:1
v @ require.min.js:1
o @ require.min.js:1
requirejs @ require.min.js:1
(anonymous) @ embed-amd.js:289477
requirePromise @ embed-amd.js:289471
renderWidgets @ embed-amd.js:289497
(anonymous) @ embed-amd.js:295591
Promise rejected (async)
renderWidgets @ embed-amd.js:289497
(anonymous) @ embed-amd.js:295591

The Firefox console says:

The resource at “https://platform.twitter.com/widgets.js” was blocked because tracking protection is enabled.[Learn More]
Widget%20List.html
Loading failed for the <script> with source “https://platform.twitter.com/widgets.js”.
Widget%20List.html:1
Error: Mismatched anonymous define() module: [object Object]
http://requirejs.org/docs/errors.html#mismatch
require.min.js:1:1067

@maartenbreddels
Copy link
Member

Same here btw, on Chrome 63:

Uncaught (in promise) Error: Mismatched anonymous define() module: [object Object]
http://requirejs.org/docs/errors.html#mismatch
    at makeError (require.min.js:1)
    at v (require.min.js:1)
    at Object.o [as require] (require.min.js:1)
    at requirejs (require.min.js:1)
    at embed-amd.js:289477
    at new Promise (<anonymous>)
    at requirePromise (embed-amd.js:289471)
    at Object.renderWidgets (embed-amd.js:289497)
    at embed-amd.js:295591

@SylvainCorlay
Copy link
Member

Now fixed for the latest release.

http://ipywidgets.readthedocs.io/en/latest/

@vidartf
Copy link
Member

vidartf commented Feb 2, 2018

ref: #1943 and #1944

@jasongrout jasongrout added this to the Reference milestone Mar 29, 2018
@github-actions github-actions bot added the resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion. label Feb 8, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug critical resolved-locked Closed issues are locked after 30 days inactivity. Please open a new issue for related discussion.
Projects
None yet
Development

No branches or pull requests

6 participants