Discussion

Important bug report: Overwritten Programs

2

SP4CEBAR 2021-06-08 09:01 (Edited)

I currently have 153 NX programs stored in iCloud drive, for the last 3 programs I made the default generated name was the same as the name of a previous program:
For example it generated "Unnamed Program 11", even though that program already existed, this program later got overwritten by the code of the previous "unnamed program 11". Changing the name of the newly created program doesn't seem to help too much either.
Immediately after I discovered this I backed up my programs, Luckily no important code was lost


was8bit 2021-06-08 09:07

Do you have an app called FILES... if so then you can fix fhis via fhe FILES app


SP4CEBAR 2021-06-08 09:11 (Edited)

I do have the IOS files app, but what do you mean with fixing it?
you mean there is a never-overwrite setting or a restore-overwritten-files button or something similar?


was8bit 2021-06-08 09:14

No...

I have IOS 11.4.1 and i have an app called FILES.... it has a white background with a picture of a blue folder on it....


was8bit 2021-06-08 09:15 (Edited)

Open up this app, and pull up your LOWRES NX folder, and search for Unnamed Program....

.... under the ICLOUD ....


SP4CEBAR 2021-06-08 09:17

Did you have the same problem?


was8bit 2021-06-08 09:18

Yes, i had Unnamed programs to a much hjgher number that i could not even find.... using the FILES app helped me delete them all :)


SP4CEBAR 2021-06-08 09:19 (Edited)

You mean that NX can't handle too much unnamed programs?


was8bit 2021-06-08 09:22

You must be sure to try and use only ONE device to edit a program.... if you try using multiple devices to edit the same program without giving ICLOUD to keep up, you can end up losing your entire progam.... you get an "unable to resolve" error message, and your program wont even open up, and if you get that error across alll devices and it doesnt clear over time then you lost your program forever ..l.


was8bit 2021-06-08 09:23

NX can probably handle hundreds of unnamed programs... this is an ICLOUD issue....


SP4CEBAR 2021-06-08 09:24

I did open some programs on another device, but I did give it time for the changes to refresh, the overwritten programs I talked about were opened on one device only


was8bit 2021-06-08 09:25

Also, what is your IOS level... i have several devices, and my older device is the one that often causes me a lot of problems.... it doesnt have the folder app...


was8bit 2021-06-08 09:28 (Edited)

BEST PRACTICE is to use your FILE app to search thru and delete all Unnamed Programs off of ICLOUD... you may discover several copies with the same #.... it is an ICLOUD issue...

Once you have verified with the FILES app that there are NO more Unnamed Programss on ICLOUD, make sure you IMMEDIATELY either name a newly created program, or IMMEDIATELY delete it.... if you persistenty do this, you will NEVER have this problem again :)


was8bit 2021-06-08 09:34 (Edited)

Also, if you are like me and have started something wiith just images, no code, add this code ...

FOR Y=0 TO 11
FOR X=0 TO 15
CELL X,Y,X+Y*16
NEXT X
NEXT Y

And do an image capture.... blank files, even when named, can be hard to find if you get hundreds of files built up.... capturing some kind of image is very helpful when scrolling thru looking for a specific program :)


was8bit 2021-06-08 09:38 (Edited)

According to my FILES app, i have over 3,000 entries, which means i have over 1,500 Programs (a pic file and a code file for each program).... that is a LOT to scroll thru when trying to find a specific one....


SP4CEBAR 2021-06-08 09:39

@was8bit okay, thanks a lot


was8bit 2021-06-08 09:40

Hope u get it all fixed :)


SP4CEBAR 2021-06-08 09:52

I think the easiest way for @Timo to fix it is to prompt the user to name the program whenever the user creates one, so that it doesn't become an unnamed program


SP4CEBAR 2021-06-08 10:04

Yay my experimental program which disappeared isn't lost


SP4CEBAR 2021-06-08 10:05

I'm trying to make a sine from triangle waves so that I can play wav files or mp3 files


SP4CEBAR 2021-06-08 10:16

I successfully restored my programs


SP4CEBAR 2021-06-08 10:20

@was8bit the code:
FOR Y=0 TO 11
FOR X=0 TO 15
CELL X,Y,X+Y*16
NEXT X
NEXT Y
Was inside my unnamed programs 6 and 7


SP4CEBAR 2021-06-08 10:20

I used it for my drawing program


was8bit 2021-06-08 12:49

Yey!

Yes, and the code will splash any existing greaphics to the screen for s screen cspture..... i rarely use it in that i rarely make graphics without code, but it does happen...


Timo 2021-06-08 19:50

Synchronization with iCloud was much more complicated than I expected at the beginning. I kind of gave up fixing it. The best thing is probably to always give names to your programs.
In theory the app should increase the number for Unnamed Programs, but sometimes it doesn't know, which files already exist in iCloud, so it repeats numbers and the trouble begins...


SP4CEBAR 2021-06-09 06:38

Okay


Log in to reply.