Giter Club home page Giter Club logo

Comments (4)

SHWotever avatar SHWotever commented on July 30, 2024

Hi ! Seeing where it get stuck, the following file got corrupted :
C:\Program Files (x86)\SimHub\PluginsData\Common\ResolveCache.json
Hopefully it's just a cache file and it can be deleted.
That said this specific file is rarely written, if it got corrupted it's likely some other settings files are too.
It's worth a try, but I doubt you won't hit another wall after it.

from simhub.

Galloant avatar Galloant commented on July 30, 2024

Damn, I didn't expect a reply this fast. Appreciate it a lot!

It worked, but now I'm stuck in the first startup menu and can't select anything. Screenshot 2023-10-28 163301

[2023-10-28 16:29:19,821] INFO - Administrator privileges : False 
[2023-10-28 16:29:19,821] INFO - OS version : Microsoft Windows NT 10.0.22621.0, Windows 10.0.22621
[2023-10-28 16:29:19,821] INFO - License status : Free
[2023-10-28 16:29:19,821] INFO - Process priority : Normal
[2023-10-28 16:29:23,678] INFO - 86 game readers loaded
[2023-10-28 16:29:23,882] ERROR - Error while loading file PluginsData\PluginsActivation.json, version 0, attempting previous version.
[2023-10-28 16:29:23,882] ERROR - Error while loading file PluginsData\PluginsActivation.json, version 1, attempting previous version.
[2023-10-28 16:29:23,882] ERROR - Error while loading file PluginsData\PluginsActivation.json, version 2, attempting previous version.
[2023-10-28 16:29:23,882] ERROR - Error while loading file PluginsData\PluginsActivation.json, version 3, attempting previous version.
[2023-10-28 16:29:23,882] ERROR - Error while loading file PluginsData\PluginsActivation.json, version 4, attempting previous version.
[2023-10-28 16:29:23,882] ERROR - Error while loading file PluginsData\PluginsActivation.json, version 5, attempting previous version.
[2023-10-28 16:29:23,898] INFO - (Re)Starting IRacing Game Manager and plugin manager
[2023-10-28 16:29:23,898] INFO - Creating IRacing game manager (IRacingReader.IRacingManager)
[2023-10-28 16:29:23,898] ERROR - Error while loading game manager
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: A. Path '', line 0, position 0.
   at Newtonsoft.Json.JsonTextReader.ParseValue()
   at Newtonsoft.Json.JsonTextReader.Read()
   at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at WoteverCommon.JsonExtensions.FromJsonFile[T](String path)
   at IRacingReader.IRacingManager..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at SimHubWPF.MainWindow.CreateGameManager(SupportedGameManager game, Action`1 status)
   at SimHubWPF.MainWindow.<ChangeGame>d__42.MoveNext()
[2023-10-28 16:29:23,898] ERROR - Error while loading game manager
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: A. Path '', line 0, position 0.
   at Newtonsoft.Json.JsonTextReader.ParseValue()
   at Newtonsoft.Json.JsonTextReader.Read()
   at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at WoteverCommon.JsonExtensions.FromJsonFile[T](String path)
   at IRacingReader.IRacingManager..ctor()
   --- End of inner exception stack trace ---
   at System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandleInternal& ctor, Boolean& bNeedSecurityCheck)
   at System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean skipCheckThis, Boolean fillCache, StackCrawlMark& stackMark)
   at System.Activator.CreateInstance(Type type, Boolean nonPublic)
   at System.Activator.CreateInstance(Type type)
   at SimHubWPF.MainWindow.CreateGameManager(SupportedGameManager game, Action`1 status)
   at SimHubWPF.MainWindow.<ChangeGame>d__42.MoveNext()
[2023-10-28 16:29:23,898] WARN - Monitor Device Driver is null

from simhub.

SHWotever avatar SHWotever commented on July 30, 2024

I fear most of your settings files looks corrupted. As I was fearing it has been hitting the next 2 loaded settings files.

At this point I fear your hard drive crash wasted most if not all settings files. Some settings files have "anti corruption" measures , and I can see in the log that on one of the next settings files loaded is using it, but all the 5 previous versions were also corrupted.

The only solution at this point it to start back from a clean install i'm sorry. If most settings files are corrupted I see no good solutions to recover the few which might still be viable. Simhub uses many of them (as an anti-corruption measure too quite ironically), it would take days to sort them one by one :(

from simhub.

Galloant avatar Galloant commented on July 30, 2024

Thanks @SHWotever for the reply. I feared that would be the case.
It's slightly annoying, but nothing we can do about. Thanks for the very kind and quick help though. I really appreciate it! :)

Thanks also to @luahan77m for offering help. However, I consider this issue to be closed at this point.

from simhub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.