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

jQuery Error executing docs examples in live shell #199

Open
ivanistheone opened this issue Apr 8, 2022 · 2 comments
Open

jQuery Error executing docs examples in live shell #199

ivanistheone opened this issue Apr 8, 2022 · 2 comments

Comments

@ivanistheone
Copy link
Contributor

Clicking on the second example in https://docs.sympy.org/latest/tutorial/calculus.html
>>> diff(cos(x), x)
opens the live shell sidebar with a spining indicator running, and never return the answer due to:

live-core.js:943 Uncaught TypeError: Cannot read properties of undefined (reading 'Queue')
    at g.done (live-core.js:943:29)
    at g.done (live-sphinx.js:146:14)
    at g.done (classy.js:8:507)
    at g.<anonymous> (live-core.js:904:26)
    at Object.i [as success] (jquery.js:2:88736)
    at c (jquery.js:2:28294)
    at Object.fireWith [as resolveWith] (jquery.js:2:29039)
    at l (jquery.js:2:79800)
    at XMLHttpRequest.<anonymous> (jquery.js:2:82254)

Screen Shot 2022-04-08 at 2 02 43 PM

Looking in the network tab I see the POST to evaluate succeeded and returned the correct ans:
Screen Shot 2022-04-08 at 2 06 39 PM

so the live-shell backend is working.

it must be some frontend thing on the docs page

@asmeurer asmeurer transferred this issue from sympy/sympy_doc Apr 8, 2022
@asmeurer
Copy link
Member

asmeurer commented Apr 8, 2022

Looks like the Live extension is broken in the docs. The main Live site still works. Maybe the jquery that Sphinx uses is not compatible with the version expected by Live?

@asmeurer
Copy link
Member

asmeurer commented Apr 8, 2022

Note that the dev version of the docs has removed the Live extension, and this will also be the case in the next release. However, if we can easily hotfix the current "latest" version to fix this, we should.

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

No branches or pull requests

2 participants