SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV EPG Service
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV EPG Service Discussion related to the SageTV EPG Service used within SageTV. Questions about service area coverage, channel lineups, EPG listings, XMLTV, or anything else related to the service or programming guide data for SageTV should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-15-2019, 03:46 PM
pendragonsound pendragonsound is offline
Sage User
 
Join Date: Sep 2008
Posts: 44
9.2.1 upgrade no longer updates EPG for some FTA channels

Back in 2017 I was helping SD populate a FTA lineup (ZZZ-FTA.NORTHAMERICA-DEFAULT). There are quirks with this because this lineup is not location or provider specific and it contains fields not normally filled for the usual lineup providers. The applicable thread is here:

https://forums.sagetv.com/forums/showthread.php?t=64669

EnterNoEscape was kind enough to fix the SageTV code so this lineup could be added to Sage for EPG purposes, and sent me a Sage.jar for win32 to be tested. Because it worked so well I simply continued using it since verifying it worked as of October 2017.

A couple of weeks ago I upgraded Sage to 9.2.1, still on win32, as a step towards migrating my Sage system to Linux. Everything appeared to be working fine, but yesterday I noticed some of the FTA channels (mostly PBS related) were no longer updating in the EPG and had less than a week of guide data left, presumably from before my 9.2.1 upgrade. However other FTA channels in the same lineup appear to have been updating, because they now have data that goes into November that likely was not there at the time of my Sage upgrade.

I filed a problem report with SD, and they confirmed their servers had guide data for at least one channel (NHKWRLD) that was failing to update on my Sage system. I manually tried forcing guide updates on this channel by deleting the channel in Sage and later adding it back in, but nothing new was added.

Out of curiosity and after backing up the critical files, I restored the files necessary to run the 'test' version of Sage from October 2017. The EPG immediately was extended for all the channels that had not been updating, including NHKWRLD and all of the PBS channels. Is there something that I am missing, and/or is there anything I can do to help get this fixed? Thanks!
Reply With Quote
  #2  
Old 10-15-2019, 05:56 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
I'm fairly sure any changes in the jar I gave you were merged with the main project. If you can enable JSON logging and post the resultant logs (including the SageTV logs) along with a few station ID's that aren't coming in, I'll see if I can determine where the issue is.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #3  
Old 10-15-2019, 09:37 PM
pendragonsound pendragonsound is offline
Sage User
 
Join Date: Sep 2008
Posts: 44
My recollection was the change you made in 2017 was to allow me to add this lineup to Sage, which is a different problem than I'm now experiencing. I'll plan to switch back to 9.2.1 tomorrow and turn on the JSON logging as you suggest, but it might take a few days before it becomes apparent if any channels are not updating. I'll get back as soon as I have something. Thanks!
Reply With Quote
  #4  
Old 10-16-2019, 10:09 PM
pendragonsound pendragonsound is offline
Sage User
 
Join Date: Sep 2008
Posts: 44
When I switched over to 9.2.1 today I figured I'd wait a couple of days before turning on the JSON debugging, because by then I would know which channels were populating new EPG entries and which ones weren't. However I just looked at the regular Sage log and noticed the following:

Code:
Wed 10/16 21:56:03.159 [EPG@13a9407] EPG Expanding FTA - North America -
North America (sdepg) at Wed 10/16 21:56:03.159
Wed 10/16 21:56:03.586 [EPG@13a9407] SDEPG Exception thrown:
java.lang.NumberFormatException: For input string: "11916500000"
Wed 10/16 21:56:03.587 [EPG@13a9407]
sage.epg.sd.gson.JsonSyntaxException: java.lang.NumberFormatException:
For input string: "11916500000"
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:245)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:235)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.gson.internal.bind.ReflectiveTypeAdapterFactory$1.read(ReflectiveTypeAdapterFactory.java:130)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.gson.internal.bind.ReflectiveTypeAdapterFactory$Adapter.read(ReflectiveTypeAdapterFactory.java:221)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.gson.internal.bind.TypeAdapterRuntimeTypeWrapper.read(TypeAdapterRuntimeTypeWrapper.java:41)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.gson.internal.bind.ArrayTypeAdapter.read(ArrayTypeAdapter.java:72)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.gson.Gson.fromJson(Gson.java:889)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.gson.Gson.fromJson(Gson.java:954)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.gson.internal.bind.TreeTypeAdapter$GsonContextImpl.deserialize(TreeTypeAdapter.java:163)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.json.map.SDLineupMapDeserializer.deserialize(SDLineupMapDeserializer.java:58)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.json.map.SDLineupMapDeserializer.deserialize(SDLineupMapDeserializer.java:30)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.gson.internal.bind.TreeTypeAdapter.read(TreeTypeAdapter.java:70)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.gson.Gson.fromJson(Gson.java:889)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.gson.Gson.fromJson(Gson.java:827)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.SDSession.getAuthJson(SDSession.java:692)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.SDSession.getLineup(SDSession.java:866)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.epg.sd.SDRipper.extractGuide(SDRipper.java:1259)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
sage.EPGDataSource.expand(EPGDataSource.java:709)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at sage.EPG.run(EPG.java:773)
Wed 10/16 21:56:03.587 [EPG@13a9407]     at java.lang.Thread.run(Unknown
Source)
Wed 10/16 21:56:03.587 [EPG@13a9407] Caused by:
java.lang.NumberFormatException: For input string: "11916500000"
Wed 10/16 21:56:03.587 [EPG@13a9407]     at
java.lang.NumberFormatException.forInputString(Unknown Source)
Wed 10/16 21:56:03.588 [EPG@13a9407]     at
java.lang.Integer.parseInt(Unknown Source)
Wed 10/16 21:56:03.588 [EPG@13a9407]     at
java.lang.Integer.parseInt(Unknown Source)
Wed 10/16 21:56:03.588 [EPG@13a9407]     at
sage.epg.sd.gson.JsonPrimitive.getAsInt(JsonPrimitive.java:260)
Wed 10/16 21:56:03.588 [EPG@13a9407]     at
sage.epg.sd.gson.internal.bind.JsonTreeReader.nextInt(JsonTreeReader.java:244)
Wed 10/16 21:56:03.588 [EPG@13a9407]     at
sage.epg.sd.gson.internal.bind.TypeAdapters$7.read(TypeAdapters.java:243)
Wed 10/16 21:56:03.588 [EPG@13a9407]     ... 19 more
Wed 10/16 21:56:03.588 [EPG@13a9407] ERROR Updating EPG Source FTA -
North America - North America (sdepg)
Wed 10/16 21:56:03.588 [EPG@13a9407] ErrorText:expand called on FTA -
North America - North America (sdepg) at Wed 10/16 21:56:03.158
expandedUntil=Wed 10/16 21:55:02.712 scannedUntil=Sun 8/17 0:12:55.807
EPG Expanding FTA - North America - North America (sdepg) at Wed 10/16
21:56:03.159
This may be a related problem to what happened before, because that field looks like the frequency (in Hz) of a satellite transponder for one of the channels in the lineup. I'll turn on the JSON logging once people here stop watching TV, but that will likely be tomorrow.

Last edited by pendragonsound; 10-17-2019 at 09:13 PM.
Reply With Quote
  #5  
Old 10-17-2019, 02:44 PM
pendragonsound pendragonsound is offline
Sage User
 
Join Date: Sep 2008
Posts: 44
Sent you a PM with the logs you requested, along with a partial list of FTA channels that do not update and some that don't.

Last edited by pendragonsound; 10-17-2019 at 05:24 PM.
Reply With Quote
  #6  
Old 10-20-2019, 06:59 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
From a first look, it seems we have the issue from the previous thread happening. I'll try to dive into it a little more tonight and have something for you to test out this week.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #7  
Old 10-20-2019, 07:22 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
The issue is that the frequency is a signed integer (deja vu) and that number exceeds the max value for a signed integer. I guess the change never made it into the code base which is kind of surprising to me, but not impossible. I want to verify how/if SageTV cares about this number and if being changed to a long type would be a problem (I think the answer is no) before I submit anything to the main project.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #8  
Old 10-21-2019, 11:07 AM
pendragonsound pendragonsound is offline
Sage User
 
Join Date: Sep 2008
Posts: 44
Thanks for the initial look! There's no rush because it appears I can fall back to the 2017 test version in the meantime. Once I have things stabilized on my ancient win32 server I'll be also testing its Linux replacement in parallel, so I may need a few pointers on how to get a Sage jar for that.
Reply With Quote
  #9  
Old 10-21-2019, 03:28 PM
wnjj wnjj is online now
Sage Icon
 
Join Date: Jan 2009
Posts: 1,514
Quote:
Originally Posted by pendragonsound View Post
Thanks for the initial look! There's no rush because it appears I can fall back to the 2017 test version in the meantime. Once I have things stabilized on my ancient win32 server I'll be also testing its Linux replacement in parallel, so I may need a few pointers on how to get a Sage jar for that.
The jar is the same across OS's.
Reply With Quote
  #10  
Old 11-09-2019, 07:56 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,657
If anyone is interested, nothing currently depends on the variable mentioned above. I've compiled a fixed copy of Sage.jar and pendragonsound will be testing it before I commit the fix to the main project.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HRHR no longer tunes channels tmiranda Hardware Support 11 09-26-2013 02:08 PM
No longer able to change channels via USB-UIRT? Lostinpvr Hardware Support 1 04-27-2011 09:16 PM
HVR 2250 cards no longer see any of the QAM channels macsupergeek SageTV Beta Test Software 2 10-01-2010 01:16 PM
Menu navigation no longer smooth after Server upgrade valnar SageTV Media Extender 3 12-25-2009 07:51 AM
Most HD channels no longer work (Firewire) rob.sfo Hardware Support 8 11-30-2005 06:03 PM


All times are GMT -6. The time now is 12:07 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.