[GH-ISSUE #139] All Python scrips where crippled #40

Closed
opened 2026-05-06 13:14:44 +02:00 by BreizhHardware · 5 comments

Originally created by @L0rdS474n on GitHub (Feb 1, 2022).
Original GitHub issue: https://github.com/UpsilonNumworks/Upsilon/issues/139

Describe the bug
Not sure if I did something wrong or it's in the Upsilon update.
I got my Numworks today and it had 15.5 so I just updated with Upsilon and noted that every Python script was damaged.
Almost all had missing characters in the beginning of the file. Mandelbrot missed the comment # and the other files missed fr in from math import *

Other than that it seems to work as it should.

To Reproduce
Steps to reproduce the behavior:
Use a new Numworks Calculator with 15.5 OS
Just go in and upgrade the calculator to Upsilon and all Python scripts are broken.

Expected behavior
All Python scripts should work after the upgrade if you choose to remove the scripts etc.

Screenshots
If applicable, add screenshots to help explain your problem.

Device (please complete the following information):

  • The device on which you're running Upsilon (computer, n0110, n0100, etc...) n0110
  • Upsilon Version: [go to settings > about > Upsilon Version and type the version here] 1.0.0.0-dev
  • Upsilon commit: [settings > about > click one time on epsilon version] 1a546e0
Originally created by @L0rdS474n on GitHub (Feb 1, 2022). Original GitHub issue: https://github.com/UpsilonNumworks/Upsilon/issues/139 **Describe the bug** Not sure if I did something wrong or it's in the Upsilon update. I got my Numworks today and it had 15.5 so I just updated with Upsilon and noted that every Python script was damaged. Almost all had missing characters in the beginning of the file. Mandelbrot missed the comment # and the other files missed fr in from math import * Other than that it seems to work as it should. **To Reproduce** Steps to reproduce the behavior: Use a new Numworks Calculator with 15.5 OS Just go in and upgrade the calculator to Upsilon and all Python scripts are broken. **Expected behavior** All Python scripts should work after the upgrade if you choose to remove the scripts etc. **Screenshots** If applicable, add screenshots to help explain your problem. **Device (please complete the following information):** - The device on which you're running Upsilon (computer, n0110, n0100, etc...) n0110 - Upsilon Version: [go to settings > about > Upsilon Version and type the version here] 1.0.0.0-dev - Upsilon commit: [settings > about > click one time on epsilon version] 1a546e0
BreizhHardware 2026-05-06 13:14:44 +02:00
  • closed this issue
  • added the
    fixed
    label
Author
Owner

@Lauryy06 commented on GitHub (Feb 1, 2022):

I think that's "normal". Now we store the cursor location in the python file, and it takes 2 bytes at the beginning of each file, so all your pre-existing files were truncated by two characters.
So this is not supposed to happen again, but sorry for the inconvenience.

<!-- gh-comment-id:1027314237 --> @Lauryy06 commented on GitHub (Feb 1, 2022): I think that's "normal". Now we store the cursor location in the python file, and it takes 2 bytes at the beginning of each file, so all your pre-existing files were truncated by two characters. So this is not supposed to happen again, but sorry for the inconvenience.
Author
Owner

@L0rdS474n commented on GitHub (Feb 1, 2022):

Second time it killed all scripts so now I don't have the nice mandelbrot anymore :(
But I don't have the crippled original at least.

<!-- gh-comment-id:1027368153 --> @L0rdS474n commented on GitHub (Feb 1, 2022): Second time it killed all scripts so now I don't have the nice mandelbrot anymore :( But I don't have the crippled original at least.
Author
Owner

@Yaya-Cout commented on GitHub (Feb 2, 2022):

This bug will be fixed by this pull request, but it isn't merged at this time : M4xi1m3/Numworks.js#4

<!-- gh-comment-id:1027641820 --> @Yaya-Cout commented on GitHub (Feb 2, 2022): This bug will be fixed by this pull request, but it isn't merged at this time : M4xi1m3/Numworks.js#4
Author
Owner

@L0rdS474n commented on GitHub (Feb 2, 2022):

Nice work, looking forward to this new release.
Will it be a normal update from the website?

<!-- gh-comment-id:1027741900 --> @L0rdS474n commented on GitHub (Feb 2, 2022): Nice work, looking forward to this new release. Will it be a normal update from the website?
Author
Owner

@Yaya-Cout commented on GitHub (Feb 2, 2022):

Yes

<!-- gh-comment-id:1027816725 --> @Yaya-Cout commented on GitHub (Feb 2, 2022): Yes
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Upsilon#40
No description provided.