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

Jupyter kernel always dies and restarts for any mcall(MExpr("xxx")) #41

Open
sunnsi opened this issue May 11, 2019 · 4 comments
Open

Jupyter kernel always dies and restarts for any mcall(MExpr("xxx")) #41

sunnsi opened this issue May 11, 2019 · 4 comments

Comments

@sunnsi
Copy link

sunnsi commented May 11, 2019

I am trying to use the package in jupyter.
The package can be successfully loaded by using "using Maxima".
However, any maxima operation will lead to jupyter kernel dying and then restating.
For example: m"diff(sin(x))" and mcall(m"plot(sin(x),[x,-30,30])")

@nsmith5
Copy link
Owner

nsmith5 commented May 12, 2019

Thanks for reporting this. It seems that Latex display is broken. Things like
trigsimp(:(sin(x)^2 + cos(x)^2))
still work as they return a Julia expression, but anything that returns a Maxima expression (MExpr) will try to use the Latex display and kill the kernel. Perhaps the method to do this has changed in IJulia...

@nsmith5
Copy link
Owner

nsmith5 commented May 12, 2019

A bit more information:

This just seems to hang forever in JupyterLab. Also, I can confirm that Maxima code for displaying latex is still working as expected so something must have moved upsteam. I'll file an issue there.

@nsmith5
Copy link
Owner

nsmith5 commented May 12, 2019

In the near-term, it appears that display("text/latex", m::MExpr) is still working so you could switch to that while I work on this. For example, instead of

m"sin(x)/x"

at the end of your Jupyter cell, use

display("text/latex", m"sin(x)/x")

@nsmith5
Copy link
Owner

nsmith5 commented May 13, 2019

Upstream issues files here: #839

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