Reset of PB IDE settings when drive is full?

Working on new editor enhancements?
es_91
Enthusiast
Enthusiast
Posts: 242
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Reset of PB IDE settings when drive is full?

Post by es_91 »

Dear forum(s)

I put the old post in the quotes below. My hard drive got filled during an extraction of a background installation (7z). Propably due to that my IDE has lost all user data and was relaunching in preset mode.

How can i recover my personal data?
[s]I recently used Windows 10 x86 to disabled animations (ease of access). To do this i quickly closed my PB IDE and did the switch.[/s] Now restarting the IDE has reset all user preferences - the IDE starts as like in mode first install.

I closed the IDE to prevent from more damage. How can i recover the old settings?

Here a little more detail: it seems all data has been erased or disabled. The PB version starting is the same as before (6.0 x86). [s]Nothing done on the OS by the user would consent such data loss, however compatibility issues (screen DPI zoom) can be affected (but that should not do anything to the IDE).[/s] /edit2: Install of Opera was running.

Could some Windows user settings do anything there? What should i do next? I wonder if my data still exists and could be restored, do not want to accidentially erase it.

/edit: this topic could be part of a different sub forums

/edit2: Propably caused by full hard drive!!! I now got aware that the hard drive was lacking free space and a background install of Opera browser was running. But i still got no clue how to rejoin my previous data. :|
User avatar
mk-soft
Always Here
Always Here
Posts: 5333
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

Re: Reset of PB IDE settings when drive is full?

Post by mk-soft »

Started under another user ?

Otherwise see when the file purebaisc.pref is from.

See Explorer Path %appdata%
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
es_91
Enthusiast
Enthusiast
Posts: 242
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Re: Reset of PB IDE settings when drive is full?

Post by es_91 »

mk-soft wrote: Sat Dec 03, 2022 5:31 pm Started under another user ?
No.
see when the file purebaisc.pref is from.

See Explorer Path %appdata%
It was last changed today 17:25, just 7 minutes from now - written propably after i closed the reset IDE.

/edit:
Image
User avatar
blueb
Addict
Addict
Posts: 1041
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: Reset of PB IDE settings when drive is full?

Post by blueb »

Probably won't help today, but might in the future... :|

viewtopic.php?p=536572#p536572
- It was too lonely at the top.

System : PB 6.10 Beta 9 (x64) and Win Pro 11 (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
Fred
Administrator
Administrator
Posts: 16616
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Reset of PB IDE settings when drive is full?

Post by Fred »

I think moving the current pref to a '.bak' or something before writing the new one can be a good idea for sure. Or improving the preference lib to be resilient if the disk is full or if the pref file can't be created could be even better. I agree it's not great to loose your pref for such cases (even if it's rare).
es_91
Enthusiast
Enthusiast
Posts: 242
Joined: Thu Jan 27, 2011 12:00 pm
Location: DE

Re: Reset of PB IDE settings when drive is full?

Post by es_91 »

The theory is easy.

But had you known this is something to take care of? I guessed a disk-full-error would skip the latest changes. I still wonder how it eats everything (though the history still seems to keep something... ;)
Fred
Administrator
Administrator
Posts: 16616
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Reset of PB IDE settings when drive is full?

Post by Fred »

The history use sqlite which is resilient to such errors, while the prefs are a flat file.
Post Reply