VidCoder icon indicating copy to clipboard operation
VidCoder copied to clipboard

Settings not copied from 8.25 Stable to new install of 9.9 Beta

Open JNavas2 opened this issue 2 years ago • 9 comments
trafficstars

Problem Description

With 8.25 Stable installed, installing 9.9 Beta did not copy my custom Settings. I uninstalled 9.9 Beta, cleaned APPDATA Local and Roaming, and then reinstalled just to be sure. My work-around was to copy VidCoder.sqlite from Stable to Beta. Thank you for VidCoder!

What version of VidCoder are you running?

9.9 Beta

Encode Log

No response

JNavas2 avatar Jul 02 '23 14:07 JNavas2

It should copy the settings over from stable when the entire %appdata%\VidCoder-Beta folder is missing. I just tested and it seemed to do just that. In your case was the whole folder deleted?

RandomEngy avatar Jul 03 '23 21:07 RandomEngy

It should copy the settings over from stable when the entire %appdata%\VidCoder-Beta folder is missing. I just tested and it seemed to do just that. In your case was the whole folder deleted?

Thank you. I can't say for sure from memory, and I can't recreate the problem, so that's probably it. My new install did copy the Settings, but not other things, like window size and columns. Is there any harm if I copy the entire database so I don't have to go through that setup? Thanks again.

JNavas2 avatar Jul 03 '23 22:07 JNavas2

The copy operation from Stable -> Beta just copies the whole folder. The configured columns and window size are also part of the sqlite file, so I'm not sure how you got into a situation where it left those out. Copying the whole VidCoder.sqlite file should be safe. I do that when testing all the time.

RandomEngy avatar Jul 03 '23 23:07 RandomEngy

  1. Uninstalled VidCoder Beta
  2. Deleted VidCoder Beta directories from both APPDATA Local and Roaming
  3. Installed VidCoder Beta

As you can see, nothing was copied. I'm running Windows 10 Pro X64. LMK if I made a mistake, or if there's anything more that you need.

VidCoder_no346WRwgd VidCoder_Y73chj7ugc

JNavas2 avatar Jul 04 '23 00:07 JNavas2

It does seem to be a real problem here at least. Did it again with a reboot after uninstall, double-checked Beta directories deleted, and still no copy when Beta is installed. I'll copy the database as a work-around, so no urgency on my account.

JNavas2 avatar Jul 04 '23 00:07 JNavas2

That part is early enough in initialization that the logger wasn't available, so VidCoder wasn't logging anything if that copy failed. In the next version it will log the error so it's visible in the General log.

RandomEngy avatar Jul 14 '23 05:07 RandomEngy

Logging added in 9.10 Beta.

RandomEngy avatar Aug 01 '23 05:08 RandomEngy

I uninstalled 9.9 Beta, removed Beta directories from AppData and Beta keys from the Registry, rebooted, and installed 9.10 Beta. My custom Settings were not copied, and I don't see any issue in the Logs. Is there anything more I need to do? Logs.zip

JNavas2 avatar Aug 01 '23 16:08 JNavas2

Thanks for the logs. It appears that it did not attempt to do the copy. Some bit of code may have run earlier and created the Beta folder before it got there, though I can't reproduce on my end. Someday when I have time I'll try and add more logging to track this down.

RandomEngy avatar Aug 05 '23 16:08 RandomEngy