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

sagecell eval examples no longer load #220

Open
haraldschilly opened this issue Aug 24, 2021 · 5 comments
Open

sagecell eval examples no longer load #220

haraldschilly opened this issue Aug 24, 2021 · 5 comments
Labels

Comments

@haraldschilly
Copy link
Member

this page did work in the past. something must have changed with the sagecell embedding script.

https://www.sagemath.org/eval.html and in particular

https://github.com/sagemath/website/blob/master/src/eval/eval.js

error:


S.Deferred.exceptionHook @ embedded_sagecell.js:2834
embedded_sagecell.js:2834 jQuery.Deferred exception: jQuery.getJSON(...).error is not a function TypeError: jQuery.getJSON(...).error is not a function
    at HTMLDocument.<anonymous> (https://www.sagemath.org/eval/eval.js:73:5)
    at e (https://sagecell.sagemath.org/embedded_sagecell.js:2834:30005)
    at t (https://sagecell.sagemath.org/embedded_sagecell.js:2834:30307) undefined
S.Deferred.exceptionHook @ embedded_sagecell.js:2834
ssl.google-analytics.com/ga.js:1 Failed to load resource: net::ERR_BLOCKED_BY_CLIENT
embedded_sagecell.js:2834 Uncaught TypeError: sagecell.init is not a function
    at initSageCell (eval.js:19)
    at HTMLDocument.<anonymous> (eval.js:36)
    at e (embedded_sagecell.js:2834)
    at t (embedded_sagecell.js:2834)
@kcrisman
Copy link
Member

kcrisman commented Aug 24, 2021 via email

@slel
Copy link
Member

slel commented Aug 24, 2021

@novoselt

@haraldschilly
Copy link
Member Author

it's definitely very old code. I don't even know if the bug is in the website's script or the embedding code from sagecell. Maybe it's just a tiny fix. 🤷🏻

@novoselt
Copy link
Member

As I recall, you had to pick items in the menu and THEN some SageCell will be populated and processed. At the moment it seems that the menu is not populated. My random guess also is that most of the code will not work because of print issue. This page existed before interact website was up and the latter was shut down quite a while ago too. It is awesome to have a big and organized collection of interacts, but so far we have failed to maintain it properly.

As far as sagecell embedding script, I was always trying to make sure that changes are backwards compatible and while there are some exotic situations with LMS where things change, the rest was working fine on the JavaScript side, as far as I am aware.

@kcrisman
Copy link
Member

kcrisman commented Aug 24, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants