Need help restoring programs - Programs were wiped after closing pybricks #2167
-
|
Hi! I've been working on some stuff on pybricks, and when I closed the pybricks app, all the programs that I previously had saved were wiped out. I tried searching all the files on my pc and on my browser data to try and find the files but nothing showed up. I have the program still saved on my Inventor Hub, is there a way to potentially restore the programs by loading the programs from the hub to my computer? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Sorry to hear that. Unfortunately, there probably isn't a way to restore them. Web apps like Pybricks Code don't have permission to access the file system, so can't actually save files on your computer. Instead, they are saved in a database in the browser. If the browser decided to clear the page data for Pybricks Code for whatever reason (e.g. your hard drive is nearly full), then it can do that without asking you. This is why it is important to make regular backups by clicking the backup button in Pybricks Code. And the program on the hub is a compiled version of the program, so it can't be turned back into a .py file even if there way a way to get it off of the hub. |
Beta Was this translation helpful? Give feedback.
Sorry to hear that. Unfortunately, there probably isn't a way to restore them. Web apps like Pybricks Code don't have permission to access the file system, so can't actually save files on your computer. Instead, they are saved in a database in the browser. If the browser decided to clear the page data for Pybricks Code for whatever reason (e.g. your hard drive is nearly full), then it can do that without asking you. This is why it is important to make regular backups by clicking the backup button in Pybricks Code. And the program on the hub is a compiled version of the program, so it can't be turned back into a .py file even if there way a way to get it off of the hub.