msarilar / EDEngineer

An overlay to track Elite Dangerous blueprints progress in real time
MIT License
510 stars 173 forks source link

Can't Open EDEngineer #726

Closed rbradh53 closed 1 year ago

rbradh53 commented 1 year ago

I get this message when I try to open EDEngineer:


`LogEntry = {
 "timestamp":2023-03-17T01:40:41Z",
 "event":"Synthesis",
 "Name":"AX Dumbfire Ammo Premium",
 "Materials":[
  {
   "Name":"tungsten",
   "count":5
  },
  {
   "Name":"mercury",
   "count":4
  },
  {
   "Name":"polonium",
   "count":2
  },
  {
   "Name":"tg_biomechanicalsconduits",
   "Name_Localised":"Bio-Mechanical Conduits",
   "count":5
  },
  {
   "Name":"tg_shipflightdata",
   "Name_Localised":"Ship Flight Data",
   "count":6
  }
 ]
}
Error:System.InvalidOperationException:Sequence contains no                                         
matching element                                                                                       
  at System.Linq.Enumerable.First[TSource](IEnumerable`1 source,                                                                                                      Func`2 predicate)
  at
EdEngineer.Modules.Utils.Collections.SortedObservableDictionary`2.get
_Item(TKey key)
   at EDEngineer.Utils.JournalEntryConverter.ExtractSynthesis(JObject
data)
   at EDEngineer.Utils.JournalEntryConverter.ExtractOperation(JObject
data, JournalEvent journalevent)
   at EDEngineer.Utils.JournalEntryConverter.ReadJson(JsonReader
reader, Type objectType, Object existingValue, JsonSerializer serializer)` ```
msarilar commented 1 year ago

thanks for the report, should be fixed after update