tr4wzified/KnowYourArmorPatcher

error on patching

mcleod777 opened this issue · 11 comments

System.InvalidCastException: Unable to cast object of type 'Newtonsoft.Json.Linq.JObject' to type 'Newtonsoft.Json.Linq.JArray'.
at KnowYourArmorPatcher.Program.RunPatch(IPatcherState2 state) in C:\Users\Bob\AppData\Local\Temp\Synthesis\czbbgtdi.hm0\Git\cab4xis5.v5m\Runner\KnowYourArmorPatcher\Program.cs:line 287 at Mutagen.Bethesda.Synthesis.SynthesisPipeline.<>c__DisplayClass12_02.<b__0>d.MoveNext() in D:\a\Synthesis\Synthesis\Mutagen.Bethesda.Synthesis\SynthesisPipeline.cs:line 94
--- End of stack trace from previous location ---
at Mutagen.Bethesda.Synthesis.SynthesisPipeline.Run(RunSynthesisMutagenPatcher args, ModKey exportKey) in D:\a\Synthesis\Synthesis\Mutagen.Bethesda.Synthesis\SynthesisPipeline.cs:line 456
at Mutagen.Bethesda.Synthesis.SynthesisPipeline.Run(RunSynthesisMutagenPatcher args) in D:\a\Synthesis\Synthesis\Mutagen.Bethesda.Synthesis\SynthesisPipeline.cs:line 404
at Mutagen.Bethesda.Synthesis.SynthesisPipeline.<>c__DisplayClass36_0.<b__1>d.MoveNext() in D:\a\Synthesis\Synthesis\Mutagen.Bethesda.Synthesis\SynthesisPipeline.cs:line 378
Synthesis.Bethesda.Execution.CliUnsuccessfulRunException: Error running solution patcher
at Synthesis.Bethesda.Execution.Patchers.SolutionPatcherRun.Run(RunSynthesisPatcher settings, CancellationToken cancel)
at Synthesis.Bethesda.Execution.Runner.Run[TKey](String workingDirectory, ModPath outputPath, String dataFolder, IEnumerable1 loadOrder, GameRelease release, IEnumerable1 patchers, IRunReporter`1 reporter, CancellationToken cancellation, ModPath sourcePath, PersistenceMode persistenceMode, String persistencePath)

Try deleting C:\Users\Bob\AppData\Local\Temp\Synthesis\ and redownload the patcher.

No, the Synthesis patcher is standalone and replaces the zEdit patcher.

thanks again............ sounds like I need the .esp from know your armor mod. But I don't need to run the zedit patcher? Is that correct?

https://puu.sh/Ie7je/f902cf41f3.jpg

I just tried to run the patcher again and failed. Can you see the snapshot in the link above and tell me If you see something i did wrong? Thanks
caleb

right............. thank you

same error

See #21 for a fix