2024-04-28, 10:10 AM
I am testing out Kodi 21 / LibreElec 12 (Beta 2) on an Intel Linux server using the latest NPVR Kodi server plugin.
The EPG update process fails with (repeated several times):
2024-04-28 02:44:54.729 [DEBUG][32] SD using existing token
2024-04-28 02:44:54.810 [ERROR][32] Unexpected error in SchedulesDirectArtwork: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Newtonsoft.Json.JsonSerializer..ctor()
at Newtonsoft.Json.JsonSerializer.Create(JsonSerializerSettings settings)
at NShared.Metadata.SchedulesDirectArtwork.Refresh(List`1 seriesWithArt)
and a slightly different error a bit later:
024-04-28 02:45:21.676 [DEBUG][32] Got /schedules:
2024-04-28 02:45:21.847 [ERROR][32] Unexpected error processing chunk: System.TypeInitializationException: The type initializer for 'Newtonsoft.Json.JsonWriter' threw an exception.
---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.Serialization.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Runtime.Serialization.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Newtonsoft.Json.Utilities.EnumUtils.InitializeValuesAndNames(StructMultiKey`2 key)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at Newtonsoft.Json.Utilities.ThreadSafeStore`2.Get(TKey key)
at Newtonsoft.Json.Utilities.EnumUtils.GetEnumValuesAndNames(Type enumType)
at Newtonsoft.Json.JsonWriter.BuildStateArray()
at Newtonsoft.Json.JsonWriter..cctor()
--- End of inner exception stack trace ---
at Newtonsoft.Json.JsonWriter..ctor()
at Newtonsoft.Json.JsonTextWriter..ctor(TextWriter textWriter)
at Newtonsoft.Json.Linq.JToken.ToString(Formatting formatting, JsonConverter[] converters)
at Newtonsoft.Json.Linq.JToken.ToString()
at NShared.SchedulesDirectJSONEPGSource.ProcessChunk(List`1 channelsChunk, IEPGUpdateCallback callback)
at NShared.SchedulesDirectJSONEPGSource.UpdateEPG(IEPGUpdateCallback callback, Boolean manuallyInitiated)
This happens with a manual or a scheduled update.
Logs attached
Thanks
Chris
The EPG update process fails with (repeated several times):
2024-04-28 02:44:54.729 [DEBUG][32] SD using existing token
2024-04-28 02:44:54.810 [ERROR][32] Unexpected error in SchedulesDirectArtwork: System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Runtime.Serialization.Formatters, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Newtonsoft.Json.JsonSerializer..ctor()
at Newtonsoft.Json.JsonSerializer.Create(JsonSerializerSettings settings)
at NShared.Metadata.SchedulesDirectArtwork.Refresh(List`1 seriesWithArt)
and a slightly different error a bit later:
024-04-28 02:45:21.676 [DEBUG][32] Got /schedules:
2024-04-28 02:45:21.847 [ERROR][32] Unexpected error processing chunk: System.TypeInitializationException: The type initializer for 'Newtonsoft.Json.JsonWriter' threw an exception.
---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.Serialization.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'System.Runtime.Serialization.Primitives, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at Newtonsoft.Json.Utilities.EnumUtils.InitializeValuesAndNames(StructMultiKey`2 key)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
at Newtonsoft.Json.Utilities.ThreadSafeStore`2.Get(TKey key)
at Newtonsoft.Json.Utilities.EnumUtils.GetEnumValuesAndNames(Type enumType)
at Newtonsoft.Json.JsonWriter.BuildStateArray()
at Newtonsoft.Json.JsonWriter..cctor()
--- End of inner exception stack trace ---
at Newtonsoft.Json.JsonWriter..ctor()
at Newtonsoft.Json.JsonTextWriter..ctor(TextWriter textWriter)
at Newtonsoft.Json.Linq.JToken.ToString(Formatting formatting, JsonConverter[] converters)
at Newtonsoft.Json.Linq.JToken.ToString()
at NShared.SchedulesDirectJSONEPGSource.ProcessChunk(List`1 channelsChunk, IEPGUpdateCallback callback)
at NShared.SchedulesDirectJSONEPGSource.UpdateEPG(IEPGUpdateCallback callback, Boolean manuallyInitiated)
This happens with a manual or a scheduled update.
Logs attached
Thanks
Chris
Server Headless RPi4 4GB, RaspberryPI OS Lite on USB SSD
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to RPi via autofs
Client: Kodi 21/LibreElec 12 (Generric) on Linux PC
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to RPi via autofs
Client: Kodi 21/LibreElec 12 (Generric) on Linux PC