Page 1 of 1

Lists lost on upgrade

Posted: 12 Aug 2010 16:26
by aurumdigitus
Today upgraded from 9.30 to 9.40.0100. To my shock and great consternation both the carefully crafted Visual Filter list and Selection Filter list were blown away! Does anyone know why this may have happened and more importantly where that data is stored so that it can be backed to preclude this from happening again.

Note: all other Lists are intact.

Re: Lists lost on upgrade

Posted: 12 Aug 2010 16:46
by SkyFrontier
Sorry for what happened, Aurumdigitus. I know the feeling.
Now and then, File > Settings > Save All Settings...
Also, keep your XYplorer\Data\lastini.dat intact. It could be retrieved to work with a 9.30 version so you could have a way to keep note and paste your settings back into 9.4x, but I can't say how to do that (makes sense deleting xyplorer.ini, but - not tested!).
Will try to locate correct sections of .ini where the info you want is stored and report them to you asap.

EDIT: No, lastini.dat will not help...

Re: Lists lost on upgrade

Posted: 12 Aug 2010 16:50
by SkyFrontier
This is probably what you want (in case you retrieve what you had or make them again and keep them at a safe place):

Code: Select all

[mruSelectionFilter]
Count="X"
1=...
2=...

[mruVisualFilter]
Count="Y"
1=...
2=...

Re: Lists lost on upgrade

Posted: 12 Aug 2010 17:31
by admin
aurumdigitus wrote:Today upgraded from 9.30 to 9.40.0100. To my shock and great consternation both the carefully crafted Visual Filter list and Selection Filter list were blown away! Does anyone know why this may have happened and more importantly where that data is stored so that it can be backed to preclude this from happening again.

Note: all other Lists are intact.
I don't see why this could have happened due to an upgrade.

So you don't make backups. There's even a command for this: menu File | Settings | Backup All Settings.

Generally: Whenever you see something like this you should immediately close the app without saving. This will ensure that no data is lost (because no disk file is written) and it gives me a chance to find a bug if there is any.

Re: Lists lost on upgrade

Posted: 12 Aug 2010 19:32
by aurumdigitus
admin wrote:So you don't make backups. There's even a command for this: menu File | Settings | Backup All Settings.
Trying to put a positive spin on this, maybe the other users can learn a valuable lesson from this unfortunate incident. :cry:

Re: Lists lost on upgrade

Posted: 13 Aug 2010 00:20
by SkyFrontier
Aurumdigitus:
Trying to put a positive spin on this, maybe the other users can learn a valuable lesson from this unfortunate incident. :cry:
...a more positive spin could be this turning into an auto-backup feature, doing back-ups whether "save on exit" is enabled or not, and hardcoded or not to: 1) last session's ini; 2) past 3 days; 3) past a week/month. Due to the portable nature of XY, I'd expect this as a built-in feature rather than have to rely on 3rd party backup tools.
:!: Script to backup THEN close with/wthout save, and assign it to a CTB/CKS...? This could calculate the age of previously backup-ed items (.ini and/or .dats, user-defined) thus keeping stuff up to date while providing some fail-safe...

Re: Lists lost on upgrade

Posted: 13 Aug 2010 13:07
by aurumdigitus
SkyFrontier wrote:...a more positive spin could be this turning into an auto-backup feature,
Or at least some command line switches that could be implemented via Tasks scheduler.

Re: Lists lost on upgrade

Posted: 13 Aug 2010 13:17
by zer0
It is already possible to use scripting in XYplorer to copy certain files to specified locations at pre-determined intervals (create an infinite loop with a wait command and some copyto functions). I envisage that, when Custom Event Actions (CEA) land, this ability would become more powerful.

Re: Lists lost on upgrade

Posted: 13 Aug 2010 13:58
by aurumdigitus
It is already possible to use scripting in XYplorer to...
Those of us who are "scripting impaired" do not find that so easy. It is daunting enough keeping up with the changes in each new version increment. :oops:

Re: Lists lost on upgrade

Posted: 14 Aug 2010 13:30
by zer0
aurumdigitus wrote:
It is already possible to use scripting in XYplorer to...
Those of us who are "scripting impaired" do not find that so easy. It is daunting enough keeping up with the changes in each new version increment. :oops:
No argument here. That's why I am hoping that CEAs would be of help here. In the meantime, we are here to assist if you do feel like relieving yourself of that "impairment" ;)