-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Failed to load image: Invalid symbol 10, offset 19812. #16330
Comments
Can you please paste your Zed version info into the issue description? |
If that error is coming up, the When I ran the code it produced a valid image though I don't have the font: If I switch to Arial Unicode MS I get: |
Thanks a lot,I used Ver. 0.148.1 for learning last week, I will try it again using the latest version. |
Thanks. The font problems in my code was showed up when I used other editor , such as VSC, Sublime. So I guess that is not the reason. I will using the latest version Zed and test again. |
Sorry, the bug came again. I use Zed Preview 0.151.1 for Mac (Intel). Zed: v0.151.1 (Zed Preview) My code: import matplotlib.pyplot as plt x = np.random.randint(low=2, high=10, size=10) |
I have a similar error in: |
@cthed2 Reported a similar error in dev (0.154.x) in #18086. Reopening here, hopefully we can find some reproduction steps.
Failed to load image: Invalid symbol 10, offset 72
Settings:
|
The error still shows up in Zed Preview 0.156.0, hope you guys can fix it . |
I'm also having a similar problem with Zed preview 0.156.1 |
I am also having the same issue with Zed 0.157.5 |
…9977) Closes #17956 Closes #16330 This fix is for both REPL (released) and notebook (unreleased) <img width="1210" alt="image" src="https://github.com/user-attachments/assets/bd046f0f-3ad1-4c25-b3cb-114e008c2a69"> Release Notes: - Fixed image support in REPL for certain versions of matplotlib that included preceding and/or trailing whitespace in the base64 image data
…9977) Closes #17956 Closes #16330 This fix is for both REPL (released) and notebook (unreleased) <img width="1210" alt="image" src="https://github.com/user-attachments/assets/bd046f0f-3ad1-4c25-b3cb-114e008c2a69"> Release Notes: - Fixed image support in REPL for certain versions of matplotlib that included preceding and/or trailing whitespace in the base64 image data
…d-industries#19977) Closes zed-industries#17956 Closes zed-industries#16330 This fix is for both REPL (released) and notebook (unreleased) <img width="1210" alt="image" src="https://github.com/user-attachments/assets/bd046f0f-3ad1-4c25-b3cb-114e008c2a69"> Release Notes: - Fixed image support in REPL for certain versions of matplotlib that included preceding and/or trailing whitespace in the base64 image data
Check for existing issues
Describe the bug / provide steps to reproduce it
It shows "Failed to load image: Invalid symbol 10, offset 19812." after I run a python program with plotting function using Zed REPL. By the way, the results are all correct except no pictures showed.
Environment
Mac OS 13.6 , Miniconda Python 3.9
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log
The text was updated successfully, but these errors were encountered: