Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Updating from 3 year old version causes registry corruption (not related to old version or registry) #4212

Closed
1 task done
Hornsoup opened this issue Sep 30, 2024 · 1 comment
Labels
Duplicate Duplicate of another issue

Comments

@Hornsoup
Copy link

Hornsoup commented Sep 30, 2024

Is there an existing issue for this?

  • I have checked the existing issues for an existing issue. I even actually looked at the ones that are pinned to the top!

Operating System

Windows 11

CKAN Version

Latest

Games

KSP 1

Game Version

1.12

Did you make any manual changes to your game folder (i.e., not via CKAN)?

No response

Describe the bug

Updated CKAN from a version about 3 years old. After updating, the newer version corrupted the registry and now I can't use any version. I've deleted the entire CKAN folder but it still has the issue.

Steps to reproduce

  1. Use CKAN version from Sept 2021
  2. Download latest version.
  3. Registry entries are corrupted.

Relevant log output

Unhandled Exception: ValveKeyValue.KeyValueException: Found end of file when another token type was expected. ---> System.InvalidOperationException: Attempted to finalize object while in state InObjectBetweenKeyAndValue.
   at ValveKeyValue.Deserialization.KV1TextReader.FinalizeCurrentObject(Boolean explicit)
   at ValveKeyValue.Deserialization.KV1TextReader.FinalizeDocument()
   at ValveKeyValue.Deserialization.KV1TextReader.ReadObject()
   --- End of inner exception stack trace ---
   at ValveKeyValue.Deserialization.KV1TextReader.ReadObject()
   at ValveKeyValue.KVSerializer.Deserialize(Stream stream, KVSerializerOptions options)
   at CKAN.SteamLibrary.<>c__DisplayClass3_0.<LibraryPathGames>b__0(String acfFile)
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   at System.Linq.Enumerable.<SelectManyIterator>d__17`2.MoveNext()
   at System.Linq.Enumerable.<ConcatIterator>d__59`1.MoveNext()
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at CKAN.SteamLibrary..ctor()
   at CKAN.GameInstanceManager..ctor(IUser user, IConfiguration configuration)
   at CKAN.CmdLine.MainClass.Execute(GameInstanceManager manager, CommonOptions opts, String[] args)
   at CKAN.CmdLine.MainClass.Main(String[] args)
@HebaruSan
Copy link
Member

Duplicate of #4197

@HebaruSan HebaruSan marked this as a duplicate of #4197 Sep 30, 2024
@HebaruSan HebaruSan closed this as not planned Won't fix, can't repro, duplicate, stale Sep 30, 2024
@HebaruSan HebaruSan changed the title [Bug]: Updating from 3 year old version causes registry corruption [Bug]: Updating from 3 year old version causes registry corruption (not related to old version or registry) Sep 30, 2024
@HebaruSan HebaruSan added the Duplicate Duplicate of another issue label Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Duplicate Duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants