SageTV Community  

Go Back   SageTV Community > SageTV Development and Customizations > SageTV v7 Customizations
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV v7 Customizations This forums is for discussing and sharing user-created modifications for the SageTV version 7 application created by using the SageTV Studio or through the use of external plugins. Use this forum to discuss plugins for SageTV version 7 and newer.

Reply
 
Thread Tools Search this Thread Display Modes
  #621  
Old 10-06-2014, 06:52 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
I have the same issue I just noticed. EPG runs out tomorrow night.

Anyone have any ideas on what is happening?
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #622  
Old 10-07-2014, 04:13 AM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
Hi Slugger, any thoughts on what to check?
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #623  
Old 10-07-2014, 08:34 AM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
Server-side there haven't been any changes, and other users are continuing to download data.

rdefino, it looks like your last download was 2014-09-25. You're still connecting and getting status and the list of subscribed headends, but it doesn't look like the grabber is actually making a request.

slugger, contact me via PM if you need more server-side logs.
Reply With Quote
  #624  
Old 10-07-2014, 08:58 AM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
Quote:
Originally Posted by rkulagow View Post
Server-side there haven't been any changes, and other users are continuing to download data.

rdefino, it looks like your last download was 2014-09-25. You're still connecting and getting status and the list of subscribed headends, but it doesn't look like the grabber is actually making a request.

slugger, contact me via PM if you need more server-side logs.
Thanks for checking. So for me is the issue serve side?
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #625  
Old 10-07-2014, 09:09 AM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
No, I don't believe so. As I said, other users are connecting and pulling data, and your client is connecting and getting status, but not actually requesting data.
Reply With Quote
  #626  
Old 10-07-2014, 09:21 AM
Phydeaux Phydeaux is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 222
Quote:
Originally Posted by rkulagow View Post
No, I don't believe so. As I said, other users are connecting and pulling data, and your client is connecting and getting status, but not actually requesting data.

Is this the case with me as well, Rob?

RLW
Reply With Quote
  #627  
Old 10-07-2014, 09:21 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
@Phydeaux: So the logs suggest a corrupted cache file. There were some recently discovered bugs (41 and 42) that can account for corruption of the cache file. Not 100% convinced these are what you're hitting, but it's definitely a possibility.

I'm out of town on personal matters until at least next week. I won't have any time to look into code, etc. Forum responses are also going to be sparse until I return home.

The temp fix: Delete your cache file and force an epg update. There is a snapshot build of the grabber that you could also test.

Replace plugins/sdepg/tools/sdjson.jar with this one (remember to rename the snapshot file to sdjson.jar before copying it in), but I know that the snapshot only addresses one of the bugs so it may not fix anything, but can't hurt to try.

To the others with issues: I need the sdepg log at the very least. Full debug logs are better. As a data point, I just checked my server back home and it's been happily downloading data non-stop with no issues. So it seems the likely cause of everyone's problems is a corrupted cache file, but, as I say, that's only a guess without log files.

With that said, I can't promise when I'll have time to look at the logs before I return home -- evenings are most likely, but be warned I'm now a few time zones closer to the Pacific Ocean so my evenings are later, and by then I'm not really able to sit and read code/logs/etc. But if there's time, I'll try.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #628  
Old 10-07-2014, 09:43 AM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
Here is my sdlog file. I can get the debug also.

thank you for any help.

I deleted the cache file and it didn't help.
Attached Files
File Type: zip sdepg.zip (173.8 KB, 92 views)
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #629  
Old 10-07-2014, 10:34 AM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
Here is the link to the debug files.

https://www.dropbox.com/sh/np0o8g42q...MGQjZJlDa?dl=0


Thanks
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #630  
Old 10-07-2014, 11:23 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Well the sdepg.log is suggesting there is a problem with the data received from SD:

Code:
2014-10-07 11:19:05,989 ERROR [EpgDownloader]: stderr:
Exception in thread "main" java.lang.RuntimeException: org.json.JSONException: JSONObject["stations"] not found.
	at org.schedulesdirect.grabber.Grabber.execute(Grabber.java:869)
	at org.schedulesdirect.grabber.Grabber.main(Grabber.java:914)
Caused by: org.json.JSONException: JSONObject["stations"] not found.
	at org.json.JSONObject.get(JSONObject.java:473)
	at org.json.JSONObject.getJSONArray(JSONObject.java:555)
	at org.schedulesdirect.grabber.Grabber.updateZip(Grabber.java:519)
	at org.schedulesdirect.grabber.Grabber.execute(Grabber.java:807)
	... 1 more
Looks like a lineup map is missing the expected stations field in the response. Hopefully Robert can use that timestamp to search serverside logs? I've downloaded the full debug logs, but can't look at them now. Maybe this evening but no promises. But my initial investigation suggestions a problem upstream.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #631  
Old 10-07-2014, 11:38 AM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
Thanks for the update!
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #632  
Old 10-07-2014, 11:55 AM
Phydeaux Phydeaux is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 222
Thanks Slugger. Unfortunately deletion of the cache file and forcing another update made no difference. I also tried replacing the sdjson.jar file as suggested to no avail. Here's the log file from the most recent attempt.

RLW


sdepg.log.txt
Reply With Quote
  #633  
Old 10-07-2014, 12:02 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Only because the log was so exact at pinpointing this, I'm able to quickly respond:

Code:
{"response":"LINEUP_DELETED","code":2106,"serverID":"AWS-SD-web.1","message":"The lineup you requested has been deleted from the server.","datetime":"2014-10-07T15:20:36Z"}
This is the response that is causing rdefino's problem. The lineup you are using has been deleted on the SD side. Not sure why, but that's an issue Robert will need to answer. It's probably just a renamed lineup or something? If you readd your lineups via the web ui it will probably fix the issue.

If someone wanted to open a ticket for me at the sourceforge project site, I could probably better identify this error and alert the Sage user that their lineup has been deleted.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #634  
Old 10-07-2014, 01:51 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
I went into the Sagetv web UI and removed the line up and re-added it and got the error below immediately.

Code:
HTTP ERROR 500

Problem accessing /sage/sdjson/index.gsp. Reason:

    Lineup[USA-MA20419-X]: JSONObject["map"] not found.
Caused by:

org.schedulesdirect.api.exception.JsonEncodingException: Lineup[USA-MA20419-X]: JSONObject["map"] not found.
	at org.schedulesdirect.api.Lineup.fetchDetails(Lineup.java:128)
	at org.schedulesdirect.api.ZipEpgClient.getLineups(ZipEpgClient.java:357)
	at org.schedulesdirect.api.ZipEpgClient$getLineups.call(Unknown Source)
	at sagex.epg.schedulesdirect.EPGImportPluginSchedulesDirect.getProviders(EPGImportPluginSchedulesDirect.groovy:125)
	at sage.EPGImportPlugin$getProviders.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
	at sage.EPGImportPlugin$getProviders.call(Unknown Source)
	at sagex.epg.schedulesdirect.plugin.Plugin.forceEpgRefresh(Plugin.groovy:123)
	at sagex.epg.schedulesdirect.plugin.Plugin$forceEpgRefresh.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
	at SimpleTemplateScript5.run(SimpleTemplateScript5.groovy:138)
	at net.sf.sageplugins.webserver.groovy.templates.IncludeTemplateEngine$SimpleTemplate$1.writeTo(IncludeTemplateEngine.java:120)
	at net.sf.sageplugins.webserver.groovy.servlets.SageTemplateServlet.service(SageTemplateServlet.java:99)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Caused by: org.json.JSONException: JSONObject["map"] not found.
	at org.json.JSONObject.get(JSONObject.java:423)
	at org.json.JSONObject.getJSONArray(JSONObject.java:499)
	at org.schedulesdirect.api.Lineup.fetchDetails(Lineup.java:119)
	... 34 more
Caused by:

org.json.JSONException: JSONObject["map"] not found.
	at org.json.JSONObject.get(JSONObject.java:423)
	at org.json.JSONObject.getJSONArray(JSONObject.java:499)
	at org.schedulesdirect.api.Lineup.fetchDetails(Lineup.java:119)
	at org.schedulesdirect.api.ZipEpgClient.getLineups(ZipEpgClient.java:357)
	at org.schedulesdirect.api.ZipEpgClient$getLineups.call(Unknown Source)
	at sagex.epg.schedulesdirect.EPGImportPluginSchedulesDirect.getProviders(EPGImportPluginSchedulesDirect.groovy:125)
	at sage.EPGImportPlugin$getProviders.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
	at sage.EPGImportPlugin$getProviders.call(Unknown Source)
	at sagex.epg.schedulesdirect.plugin.Plugin.forceEpgRefresh(Plugin.groovy:123)
	at sagex.epg.schedulesdirect.plugin.Plugin$forceEpgRefresh.call(Unknown Source)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:45)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:112)
	at SimpleTemplateScript5.run(SimpleTemplateScript5.groovy:138)
	at net.sf.sageplugins.webserver.groovy.templates.IncludeTemplateEngine$SimpleTemplate$1.writeTo(IncludeTemplateEngine.java:120)
	at net.sf.sageplugins.webserver.groovy.servlets.SageTemplateServlet.service(SageTemplateServlet.java:99)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:502)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:389)
	at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
	at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181)
	at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
	at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:417)
	at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)
	at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.handler.rewrite.RewriteHandler.handle(RewriteHandler.java:230)
	at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
	at org.mortbay.jetty.Server.handle(Server.java:326)
	at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:534)
	at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:879)
	at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:747)
	at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
	at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
	at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:409)
	at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:520)
Powered by Jetty://
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #635  
Old 10-07-2014, 01:58 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Robert will have to have a look server side. You can produce the full debug logs again but I suspect all it's going to tell me is that the SD response is not conforming to spec (the "map" field is not in the response as expected). The debug logs would be able to tell us exactly what is in the response, but I'm hoping Robert can tell that using his server side logs. Again, this looks to be an upstream problem on the SD side.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #636  
Old 10-07-2014, 01:59 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Actually that stack says it's using the local cache. So delete the sdjson.epg file first, then go back thru the web ui and try to mod/edit/update your registered lineups.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #637  
Old 10-07-2014, 02:07 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
You mean the sagetv UI, not the SD ui...right?
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #638  
Old 10-07-2014, 02:09 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
I just removed and added the linue up in the sagetv ui and got this "invalid user" error.


HTTP ERROR 500

Problem accessing /sage/sdjson/index.gsp. Reason:

Error getting lineups! [Invalid user.]
Caused by:

java.io.IOException: Error getting lineups! [Invalid user.]
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
Reply With Quote
  #639  
Old 10-07-2014, 02:11 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Yes, the sage webui. There seems to be some issues upstream. Robert's going to need to help from the other end. I think he gets notified of this thread, but you may want to open a support ticket at SD, which will definitely grab his attention.
__________________
Twitter: @ddb_db
Server: Intel i5-4570 Quad Core, 16GB RAM, 1 x 128GB OS SSD (Win7 Pro x64 SP1), 1 x 2TB media drive
Capture: 2 x Colossus
STB Controller: 1 x USB-UIRT
Software:Java 1.7.0_71; SageTV 7.1.9
Clients: 1 x HD300, 2 x HD200, 1 x SageClient, 1 x PlaceShifter
Plugins: Too many to list now...
Reply With Quote
  #640  
Old 10-07-2014, 02:16 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
thanks, just opened the ticket. Hopefully it gets fix before prime time tonight.

thanks for the help
__________________
SageTv server: 2008 64 BIT R2, Asus MN2-E, AMD dual core 4200, 4gb ram, Promise raid 5 8TB, 80gb Sata boot drive w/OS, 2/ dual tuner HDhomeruns, HD-PVR

3/HD-100's, 1/HD-200
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
Plugin: Schedules Direct EPG Source for SageTV OSS Slugger SageTV v9 Customizations 89 10-11-2016 07:31 AM
Schedules Direct Plugin Issue rickgillyon SageTV v9 Customizations 20 09-25-2016 12:03 PM
Schedules Direct plugin not compatible Damstas SageTV Github Development 20 09-21-2015 05:10 AM
Schedules Direct EPG Plugin: Call for private beta testers Slugger SageTV v7 Customizations 11 01-19-2013 11:59 AM
Schedules Direct EPG Plugin PoC Completed Slugger SageTV EPG Service 71 12-04-2011 12:12 PM


All times are GMT -6. The time now is 03:22 AM.


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