random loss of data in .pro file

If you think you've found a bug post it here.

random loss of data in .pro file

Postby girogiri » Thu Dec 02, 2021 10:55 am

Hello,

sometimes we open the UCCNC program and discover that the .pro file has lost the whole [UserTextfields] section of data.
variables range from 20009 to 20030.

attached the .pro with correct data, sometimes all those variables are set to 0 (zero)

cheers
Giorgio

Default.pro
(54.52 KiB) Downloaded 369 times
girogiri
 
Posts: 35
Joined: Fri Jun 19, 2020 2:50 pm

Re: random loss of data in .pro file

Postby cncdrive » Thu Dec 02, 2021 2:13 pm

The data is simply written into the profile on software closing, so maybe you closing the software before the writting could finish?!
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm

Re: random loss of data in .pro file

Postby girogiri » Thu Dec 02, 2021 2:51 pm

We close the UCCNC software using the X button on top rigth and answering yes to the next popup.
What is strange is that now it loses only that specific section of the profile while in the past it was loosing the configuration of slave motors Y/A and then coupling the A with the X axis.. you can immagine the result.
Can it be related to the M6 macro that saves profile during execution? To do this we stop the Gcode execution, change and save setup and restart execution of Gcode.
This issue only happens on this machine that has this kind of M6 macro.
Find attached the M6.

rgds Giorgio

M6.txt
(21.26 KiB) Downloaded 364 times
girogiri
 
Posts: 35
Joined: Fri Jun 19, 2020 2:50 pm

Re: random loss of data in .pro file

Postby mattsshop » Sun Jan 30, 2022 3:49 pm

Giorgio,

Did you ever find the issue? I am having the same issue and it is quite persistent, it has happened to me twice this morning at what seems like random times. I am new to UCCNC and am extremely frustrated with all the glitches I am seeing, I know that it is not perfect but I am yet to make a part after rebuilding my machine to run on UCCNC.

Thanks,
Matt
mattsshop
 
Posts: 5
Joined: Sun Jan 30, 2022 12:51 am
Location: Powder Springs, GA

Re: random loss of data in .pro file

Postby mattsshop » Mon Jan 31, 2022 2:26 pm

Giorgio,

I am having the same issue, it seems to be at random times, it has even happened while using the program. Did you ever find what the problem was? I keep having to reload a copy of my profile.

Thanks,
Matt
mattsshop
 
Posts: 5
Joined: Sun Jan 30, 2022 12:51 am
Location: Powder Springs, GA

Re: random loss of data in .pro file

Postby girogiri » Tue Feb 15, 2022 2:25 pm

Hi Matt,

sorry for the late reply,
I have a lot of macros and macroloops running in my system, I found that in some cases, one of the macros was saving the .pro file before the M9998 macro had run.
So I believe in my case it was just a programming issue.

cheers
Giorgio
girogiri
 
Posts: 35
Joined: Fri Jun 19, 2020 2:50 pm

Re: random loss of data in .pro file

Postby cncdrive » Wed Feb 16, 2022 5:20 am

The profile file could also get corrupted if the UCCNC is saving into the file and it gets interrupted. (computer gets unpowered) then the file is not fully written and gets corrupted.
So, make sure to do not switch off the computer while the UCCNC is still closing.
And you can use the autobackup profile plugin, it creates backup copies of the profile, so you can use it to restore the profile file if it gets corrupted.
cncdrive
Site Admin
 
Posts: 4887
Joined: Tue Aug 12, 2014 11:17 pm


Return to Report a bug

Who is online

Users browsing this forum: No registered users and 9 guests