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 … 43 Next »
Kodi Server Plugin - EPG Update Failure

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

Member

UK
Posts: 150
Threads: 27
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)
Server          NextPVR Official Docker
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to Docker container
Client:         Docker JellyFin, NextPVR addon, Amazon Firestick, Jellyfin Addon
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,001
Threads: 956
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: 150
Threads: 27
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
Server          NextPVR Official Docker
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to Docker container
Client:         Docker JellyFin, NextPVR addon, Amazon Firestick, Jellyfin Addon
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,001
Threads: 956
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: 150
Threads: 27
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
Server          NextPVR Official Docker
Recordings: OpenMediaVault (v7.x) NAS, NFS share, mounted to Docker container
Client:         Docker JellyFin, NextPVR addon, Amazon Firestick, Jellyfin Addon
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 53,001
Threads: 956
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
  Kodi Channel not updating aTF6i 2 531 2025-03-09, 12:26 AM
Last Post: aTF6i
  EPG not loading in Kodi? membball84 3 513 2025-02-13, 01:24 AM
Last Post: membball84
  Automated Updates of IPTV Channels in NPVR and Kodi via APIs taylormia 1 944 2025-02-04, 03:13 AM
Last Post: lustfulmacaw
  Kodi 22 (Piers) and library thumbnails mvallevand 8 1,345 2025-01-15, 06:32 PM
Last Post: mvallevand
  Kodo plugin seems to be shutting down backend Allan 4 616 2024-12-20, 11:04 PM
Last Post: Allan
  Suggestions for the KODI Add-on Escape7 38 9,638 2024-12-20, 05:31 AM
Last Post: sub
  Kodi Channel Icons wrong and can't be corrected wapkaplet 11 1,354 2024-10-23, 02:11 PM
Last Post: mvallevand
  Kodi PVR Client Not Working trongod 8 1,659 2024-09-11, 10:20 PM
Last Post: trongod
  Kodi 21.0 Omega/NextPVR 21.1.0 PVR & Live TV Group Manager bouilliabai 28 4,620 2024-08-06, 10:00 PM
Last Post: sub
  Kodi-V5 WiFi Problem? kerryball 0 411 2024-06-26, 06:49 AM
Last Post: kerryball

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

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

Linear Mode
Threaded Mode