Skip to content

Error when launching ckan #2448

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

Closed
kevanacker opened this issue May 17, 2018 · 2 comments
Closed

Error when launching ckan #2448

kevanacker opened this issue May 17, 2018 · 2 comments
Labels
Support Issues that are support requests

Comments

@kevanacker
Copy link

Background

CKAN Version:
1.25.0

KSP Version:
1.4.3.2152

Operating System:
Win 10

Have you made any manual changes to your GameData folder (i.e., not via CKAN)?
No

Problem

What steps did you take in CKAN?
I double clicked the .exe (which is placed on the same drive as KSP)

What did you expect to happen?
Launching ckan

What happened instead?
I got an error that read:

Unhandled exception:
Newtonsoft.Json.JsonReaderException: Unterminated string. Expected delimiter: ". Path 'installed_files['GameData/CommunityResourcePack/ResourceConfigs/Hydrates.cfg']', line 631420, position 23.
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, GUIUser user, Boolean showConsole)
at CKAN.GUI.Main_(String[] args, Boolean showConsole)
at CKAN.CmdLine.MainClass.Main(String[] args)

Screenshots:

image

CKAN error codes (if applicable):
Unhandled Exception: Newtonsoft.Json.JsonReaderException: Unterminated string. Expected delimiter: ". Path 'installed_files['GameData/CommunityResourcePack/ResourceConfigs/Hydrates.cfg']', line 631420, position 23.
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, GUIUser user, Boolean showConsole)
at CKAN.GUI.Main_(String[] args, Boolean showConsole)
at CKAN.CmdLine.MainClass.Main(String[] args)

@HebaruSan
Copy link
Member

Looks like your KSP\CKAN\registry.json file got corrupted. Can you upload it to a paste-bin site somewhere and post the link?

Sorry, something went wrong.

@HebaruSan HebaruSan added the Support Issues that are support requests label May 20, 2018
@netkan-bot
Copy link
Member

Hey there! I'm a fun-loving automated bot who's responsible for making sure old support tickets get closed out. As we haven't seen any activity on this ticket for a while, we're hoping the problem has been resolved and I'm closing out the ticket automaically. If I'm doing this in error, please add a comment to this ticket to let us know, and we'll re-open it!

Sorry, something went wrong.

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

3 participants