NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Kodi / XBMC v
« Previous 1 2 3 4 5 6 … 44 Next »
Kodi Server Plugin - EPG Update Failure

 
  • 0 Vote(s) - 0 Average
Kodi Server Plugin - EPG Update Failure
ceejayemm
Offline

Member

UK
Posts: 156
Threads: 31
Joined: Sep 2019
#1
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


Attached Files
.zip   logs-20240428-1009.zip (Size: 686.23 KB / Downloads: 4)
Servers: NextPVR Linux Docker latest official rel. Docker Linux JellyFin (Production v10.11.11, testing 12.0-RC4), NextPVR addon  (v13.0.0). Client: Amazon Firestick via  Jellyfin Addon and browser based JellyFin web client, 
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,691
Threads: 996
Joined: May 2006
#2
2024-04-28, 01:42 PM
Could you run dotnet --info to check where 6.0.29 is installed and append /6.0.29 and look for those missing files. I checked the tar file LE downloads and they were there.

I decided to test on my VM test install x64 for the server and SD worked fine and the folder was ls /storage/.kodi/addons/tools.dotnet-runtime/bin/shared/Microsoft.NETCore.App/6.0.29/

Code:
2024-04-28 09:55:26.567 [DEBUG][23] Requesting artwork for chunk of 500 shows 2024-04-28 09:55:26.577 [DEBUG][23] Refresh@start 2024-04-28 09:55:26.578 [DEBUG][23] SD using existing token 2024-04-28 09:55:26.631 [DEBUG][23] Requesting artwork for chunk of 398 shows 2024-04-28 09:55:26.631 [DEBUG][23] Refresh@start 2024-04-28 09:55:26.631 [DEBUG][23] SD using existing token 2024-04-28 09:55:26.632 [DEBUG][23] - (4) CBOT-DT: has 401 listings 2024-04-28 09:55:26.632 [DEBUG][23] - (6) CIII-HD: has 278 listings 2024-04-28 09:55:26.632 [DEBUG][23] - (9) CBOFT-D: has 429 listings 2024-04-28 09:55:26.632 [DEBUG][23] - (11) CHCH-DT: has 265 listings 2024-04-28 09:55:26.632 [DEBUG][23] - (13) CJOH: has 313 listings 2024-04-28 09:55:26.632 [DEBUG][23] - (14) OMNI2: has 406 listings 2024-04-28 09:55:26.632 [DEBUG][23] - (15) CTS-HD: has 355 listings 2024-04-28 09:55:26.632 [DEBUG][23] - (24) TVO: has 832 listings 2024-04-28 09:55:26.632 [DEBUG][23] - (30) CIVO-HD: has 536 listings 2024-04-28 09:55:26.632 [DEBUG][23] - (32) CHOT HD: has 216 listings 2024-04-28 09:55:26.632 [DEBUG][23] SD using existing token 2024-04-28 09:55:26.633 [DEBUG][23] Requesting /schedules 2024-04-28 09:55:26.633 [DEBUG][23] SD(https://json.schedulesdirect.org/20141201/schedules) 2024-04-28 09:55:27.153 [DEBUG][23] Got /schedules:

For others that read this note it is a LibreELEC package not Kodi addon.

Martin
ceejayemm
Offline

Member

UK
Posts: 156
Threads: 31
Joined: Sep 2019
#3
2024-04-28, 05:14 PM
Martin

It turns out that although I had updated all the addons in my system, which included the NextPVR Client addon, I had forgotten that the Server installation does not update automatically through this process.  I downloaded the latest NextPVR Server zip file through its addon and let it update.  After this completed I was able to to successfully update the EPG.

Thanks for your help.

Chris
Servers: NextPVR Linux Docker latest official rel. Docker Linux JellyFin (Production v10.11.11, testing 12.0-RC4), NextPVR addon  (v13.0.0). Client: Amazon Firestick via  Jellyfin Addon and browser based JellyFin web client, 
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,691
Threads: 996
Joined: May 2006
#4
2024-04-28, 05:23 PM
Glad it works but there is something odd there for sure,

- the server does automatically update, once the updated PR is approved and distributed.
- you were already running 6.1.5.231022 so it wouldn't need to update.
- I tested with the basic zip file, I didn't need to manually pull anything.
- those missing files were part of the dotnet install that is managed by LE not the addon.

It probably was a corrupt dotnet install but maybe with something for the NextTool work too?

Martin
ceejayemm
Offline

Member

UK
Posts: 156
Threads: 31
Joined: Sep 2019
#5
2024-04-28, 06:38 PM
My LE system was originally build as an 11.x installation and then upgraded via the various release candidate and beta releases to reach v12 Beta 2 so it might have been part of that process.  Once the release v12 is available I will rebuild this server to get the full release version.

Thanks

Chris
Servers: NextPVR Linux Docker latest official rel. Docker Linux JellyFin (Production v10.11.11, testing 12.0-RC4), NextPVR addon  (v13.0.0). Client: Amazon Firestick via  Jellyfin Addon and browser based JellyFin web client, 
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,691
Threads: 996
Joined: May 2006
#6
2024-04-28, 08:25 PM
No the service addon is python so it will install on 11 or 12 and, RPi, various ARM and X64. Dotnet might need aarch version though but that would have been ARM.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  SSL working everywhere but in Kodi MrOrange 7 112 2026-08-07, 01:48 PM
Last Post: mvallevand
  NextPVR V5 client connection to KODI gone on 4 different TV's bass_gas 7 457 2026-07-26, 03:14 PM
Last Post: mvallevand
  Kodi Piers Not ready for NPVR yet? Lao Pan 9 960 2026-05-24, 01:11 PM
Last Post: mvallevand
  How to activate https for NextPVR Plugin in Kodi Beksultan 1 490 2026-04-24, 01:44 AM
Last Post: mvallevand
  Setting http proxy with kodi doesn’t work with nextpvr araset 16 1,933 2026-03-05, 05:19 PM
Last Post: araset
  Kodi and NextPVR playback limited to 720p only araset 1 621 2026-03-02, 08:17 PM
Last Post: mvallevand
  Kodi playback - repeating/looping jzk 2 696 2026-02-25, 07:05 PM
Last Post: mvallevand
  [Wishlist] Customisable timer default in Kodi hmc 5 1,037 2026-01-19, 07:46 AM
Last Post: hmc
  Automated Updates of IPTV Channels in NPVR and Kodi via APIs taylormia 2 3,693 2025-11-04, 06:38 PM
Last Post: sub
  Kodi Recurring Recordings (Default Type) Fillimerica 2 1,116 2025-10-21, 07:34 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode