WolframResearch / WolframLanguageForJupyter

Wolfram Language kernel for Jupyter notebooks
MIT License
1.05k stars 126 forks source link

No output if the number of terms is too large #43

Closed vsht closed 5 years ago

vsht commented 5 years ago

It seems that toOutText can handle only a limited number of terms. While this works

Sum[c[i],{i,1,5984}]

the following

Sum[c[i],{i,1,5985}]

returns $Failed. The expression is correctly processed by the kernel, it is just that the notebook interface cannot show that many terms. As a workaround I would suggest using Shallow since e.g.

Shallow[Sum[c[i],{i,1,10000}]]

evaluates just fine.

I'm using the latest master branch version of WolframLanguageForJupyter with the Free Wolfram Engine 12.0.0 for Linux (May 19, 2019) on Fedora 29.

cc-wr commented 5 years ago

Is the problem resolved if you try the pull request #53?

vsht commented 5 years ago

Yes, with the bugfix/rasterization-failure branch the problem seems to be gone.

cc-wr commented 5 years ago

A review for this will be created soon for merging this into master.

cc-wr commented 5 years ago

The pull request for this should be in master.

(No request for comments was made for this fix, but they will be present for future pull requests.)