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
Cannot import data as PNG format #119
Comments
So I just tried replacing the export formats with "JPEG" instead of "PNG" and this works. I presume this is an indicator that there is some problem with my installation of the wolfram engine and/or its dependencies rather than with the |
I also find this problem on raspberry os, $Version -> "12.2.0 for Linux arm (32-bit)" To anyone want to know the "JPG" fix, it's changing Format from "PNG" to "JPG" in call to |
I just posted this as a question to the wolfram community.
do you get the same error message? |
@FlyingSamson @benfre Thanks for identifying this issue. I'm told that it's been reproduced and is under investigation. |
This is now fixed with the latest update to Mathematica 13.0.1 |
What I observe
When I run, e.g.,
in the Wolfram Language kernel I get no output and the following error messages in the jupyter log:
What I expect:
To see the formula as embedded picture.
What I already tried/figured out:
The latter one
is due to a typo at this line where it should read failedInBase64 (capital "I").
The other ones
are produces at this call to ExportByteArray, but I was unable to figure out what the problem was. If I run above code in
wolfram
within the command line of the same docker container (in fact I used a terminal provided by the very same JupyterLab instance) I get the expected resultMoreover all inputs resulting in plaintext output like
Print["Hello"]
or1+1
do work as expected in the notebook displaying "Hello" and "2", respectively, so apparently something goes wrong with results that are returned as images.How can I debug this issue? For a start how can I print/log what is actually passed to the
ExportByteArray
call? Is there some logging functionality build into the kernel that would allow to append messages to the jupyter log?My environment:
$Version
gives12.2.0 for Linux ARM (32-bit) (April 7, 2021)
jupyter version
givesuname -a
givesLinux aafe17fa30e2 5.4.0-1046-raspi #50-Ubuntu SMP PREEMPT Thu Oct 28 05:32:10 UTC 2021 aarch64 GNU/Linux
The text was updated successfully, but these errors were encountered: