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

HTML exports from Pluto 0.19.4 do not load (recurrence of #2606) #2707

Closed
holomorphism opened this issue Nov 12, 2023 · 7 comments · May be fixed by #2802
Closed

HTML exports from Pluto 0.19.4 do not load (recurrence of #2606) #2707

holomorphism opened this issue Nov 12, 2023 · 7 comments · May be fixed by #2802
Assignees
Labels
bug Something isn't working publishing Notebooks as static documents on the web

Comments

@holomorphism
Copy link
Contributor

When opening HTML exports from an older version of Pluto, nothing is displayed.
(Similar issue to Issue #2606, seems to be caused by esm.sh and many-keys-weakmap.js)

This phenomenon has been occurring since about 2023-10-23.
The html file that causes the problem (looks almost the same as in #2606):

The following is the chrome DevTools screen shot when opening the Computational Thinking page:
DevTools console

The error message is as follows:

Failed to load resource: the server responded with a status of 500 ()
[https://esm.sh/v64/many-keys-weakmap@1.0.0/es2021/many-keys-weakmap.js]

I then clicked on the many-keys-weakmap.js link, which opened a page with the following content:

/* esm.sh - error */
throw new Error("[esm.sh] " + "could not resolve \"many-keys-weakmap/many-keys-weakmap\"");
export default null;
@pankgeorg pankgeorg self-assigned this Nov 12, 2023
@fonsp fonsp added bug Something isn't working publishing Notebooks as static documents on the web labels Nov 14, 2023
Firionus added a commit to Firionus/logarithmic_smoothing_julia_demo that referenced this issue Nov 16, 2023
@fonsp
Copy link
Owner

fonsp commented Aug 10, 2024

i dont think we can fix this! 😭😭

@pankgeorg should we report it to esm.sh ?

@pankgeorg
Copy link
Collaborator

Yes we should. Just did that!

@BioTurboNick
Copy link
Contributor

It would be really nice to have an archival version that doesn't depend on external sources that can break. PDF has some limitations with certain kinds of information displays being cut off, and some plots render differently.

@fonsp
Copy link
Owner

fonsp commented Sep 17, 2024

Yes! We are working on this in #2802

@fonsp fonsp changed the title HTML exports output in the past are not displayed (recurrence of #2606) HTML exports from Pluto 0.19.4 do not load (recurrence of #2606) Sep 17, 2024
@fonsp
Copy link
Owner

fonsp commented Nov 13, 2024

We opened esm-dev/esm.sh#879 about this, we can't fix this retroactively from our side.

#2802 will prevent this problem in the future.

In the meantime, we stopped using esm.sh and unpkg.com for Pluto imports, we now only rely on jsdelivr.com, which seems like the most reliable. So exports from current Pluto versions are already more stable than 0.19.4.

@fonsp fonsp linked a pull request Nov 13, 2024 that will close this issue
4 tasks
@BioTurboNick
Copy link
Contributor

This appears to be fixed upstream

@holomorphism
Copy link
Contributor Author

I have also confirmed that the issue has been resolved.
@fonsp @pankgeorg If no problem, can you please close this issue?

By the way, I looked at some of my past html files and again found them interesting.
(Many of them were notes in which I tried to run some Julia code that was available on the Internet and added explanations.)
I love Pluto after all. 😊

@fonsp fonsp closed this as completed Nov 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working publishing Notebooks as static documents on the web
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants