Skip to content

CKAN crashes on launch #2117

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
OpticalAlgorithm opened this issue Sep 28, 2017 · 6 comments
Closed

CKAN crashes on launch #2117

OpticalAlgorithm opened this issue Sep 28, 2017 · 6 comments
Labels
Support Issues that are support requests

Comments

@OpticalAlgorithm
Copy link

OpticalAlgorithm commented Sep 28, 2017

CKAN Version: v1.22.3

Operating System: Windows 7

Whenever I run CKAN.exe I get an error window. When I click dismiss the program stops working.

How to recreate this issue: Whenever I run ckan.exe

CKAN error codes (if applicable):

Unhandled exception:
System.TypeInitializationException: The type initializer for 'Newtonsoft.Json.JsonWriter' threw an exception. ---> System.ArgumentException: Value does not fall within the expected range.
   at System.Runtime.CompilerServices.RuntimeHelpers.InitializeArray(Array array, RuntimeFieldHandle fldHandle)
   at Newtonsoft.Json.JsonWriter..cctor()
   --- End of inner exception stack trace ---
   at Newtonsoft.Json.JsonWriter..ctor()
   at Newtonsoft.Json.JsonTextWriter..ctor(TextWriter textWriter)
   at CKAN.RegistryManager.Serialize()
   at CKAN.RegistryManager.Save(Boolean enforce_consistency, Boolean recommmends, Boolean with_versions)
   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.CmdLine.MainClass.Gui(GuiOptions options, String[] args)
   at CKAN.CmdLine.MainClass.Main(String[] args) 
@ayan4m1
Copy link
Contributor

ayan4m1 commented Sep 28, 2017

Try going into the CKAN directory (in your game install directory) and remove registry.json, then launch CKAN again.

@ayan4m1 ayan4m1 added the Support Issues that are support requests label Sep 28, 2017
@OpticalAlgorithm
Copy link
Author

That file does not exist in the folder. I tried deleting the entire folder instead to no effect.

@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!

@ofahrni
Copy link

ofahrni commented Mar 20, 2018

I suggest that you reopen this ticket as I am still having this issue. Whenever I want to start ckan, it basically crashes at launch and I get an error message. Please find the content of said error message in the attached file:

Error.txt

Sorry, something went wrong.

@HebaruSan
Copy link
Member

Hi @fahloi , your issue is different. See #2298, just click Continue and then Refresh.

Sorry, something went wrong.

@ofahrni
Copy link

ofahrni commented Mar 20, 2018

Thank you for the fast response @HebaruSan and please excuse my request as I wasn't aware of the other issue you mentioned.

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

5 participants