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

Corrupted registry #2566

Closed
BobTheKerbal opened this issue Nov 4, 2018 · 7 comments
Closed

Corrupted registry #2566

BobTheKerbal opened this issue Nov 4, 2018 · 7 comments
Labels
Support Issues that are support requests

Comments

@BobTheKerbal
Copy link

BobTheKerbal commented Nov 4, 2018

Background

CKAN Version:
1.2.5.3

KSP Version:
1.3.1

Operating System:
Windows 10

Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
downloading mods manually since CKAN stopped working

Problem

What steps did you take in CKAN?
I downloaded the program like anyone else would.

What did you expect to happen?
The screen to download mods to show up.

What happened instead?
I got a big black screen with white letters saying the following: Unhandled exception:

Newtonsoft.Json.JsonReaderException: Unterminated string. Expected delimiter: ". Path 'installed_files['GameData/000_FilterExtensions/Icons/Autoloaded_PatchIcon/EngineMethane_selected.dds']', line 727159, position 36.
   at Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote)
   at Newtonsoft.Json.JsonTextReader.ParseProperty()
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at CKAN.RegistryManager.Load()
   at CKAN.RegistryManager.LoadOrCreate()
   at CKAN.RegistryManager..ctor(String path, KSP ksp)
   at CKAN.RegistryManager.Instance(KSP ksp)
   at CKAN.Main..ctor(String[] cmdlineArgs, KSPManager mgr, GUIUser user, Boolean showConsole)
   at CKAN.GUI.Main_(String[] args, KSPManager manager, Boolean showConsole)
   at CKAN.CmdLine.MainClass.RunSimpleAction(Options cmdline, CommonOptions options, String[] args, IUser user, KSPManager manager)
   at CKAN.CmdLine.MainClass.Execute(KSPManager manager, CommonOptions opts, String[] args)
   at CKAN.CmdLine.MainClass.Main(String[] args) 

Screenshots:

screenshot1

screenshot2

@HebaruSan HebaruSan changed the title The Comprehensive Kerbal Archive Network (CKAN) dosent work at all. Corrupted registry Nov 4, 2018
@HebaruSan HebaruSan added the Support Issues that are support requests label Nov 4, 2018
@HebaruSan
Copy link
Member

Your registry got corrupted. If you don't have any information about how it happened, the best we can do is advise you to delete it to start over.

  1. Open your KSP folder
  2. Open the CKAN folder
  3. Delete registry.json

All your installed mods will switch to "AD"; this is unavoidable because the data is gone. You may wish to reset your GameData to a stock-only state and re-install mods.

Sorry, something went wrong.

@BobTheKerbal
Copy link
Author

So It is mandatory to delete everything?

Sorry, something went wrong.

@HebaruSan
Copy link
Member

I don't know what you mean by "everything". I specified the exact file to delete.

Sorry, something went wrong.

@BobTheKerbal
Copy link
Author

nvm. I deleted the file you told me to, anything else?

Sorry, something went wrong.

@HebaruSan
Copy link
Member

Try starting CKAN.

@BobTheKerbal
Copy link
Author

Ok.

@BobTheKerbal
Copy link
Author

Thankyou so much. It worked! I didn't even have to reset the game to stock 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Issues that are support requests
Projects
None yet
Development

No branches or pull requests

2 participants