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

Images, Export, ExportString and ExportForm do not work on version 14.0 #12

Open
s4m13337 opened this issue Jul 23, 2024 · 1 comment
Open

Comments

@s4m13337
Copy link

s4m13337 commented Jul 23, 2024

On Wolfram Engine version 14.0, when trying to return an Image or its Base64 encoded version using ExportString/ExportForm, the kernel keeps evaluating the request forever.

For example, this one keeps evaluating indefinitely:

ExportString[
 Histogram[RandomVariate[NormalDistribution[0, 1], 200]], 
  ColorFunction -> "Pastel"], {"Base64", "PNG"}
 ]
@DavidSchonfeld
Copy link

DavidSchonfeld commented Jan 27, 2025

I have the same issue specifically on a linux machine. A local windows prototype functions, as does for example the cellular automata demo. Running the same programs in the other environment hangs for any 'visual' output.
As an obvious example python3 -m wolframwebengine --demo ca hangs.
Wolframscript is being run, for example the following will print the log 8 before hanging on ExportForm.
Print[2^3]; ExportForm[Graphics[Disk[]], "GIF"]

Update
Moving to wolframscript gave me error messages for the above simple cases, which I used to debug library omissions on the system. Installing these fixed the issue for me.

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