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
  #641  
Old 10-07-2014, 02:17 PM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
OK, I have to see why the lineup isn't being generated. The lineup is valid (in that it exists), so the "invalid lineup" will let me know where to start looking.
Reply With Quote
  #642  
Old 10-07-2014, 03:23 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
Quote:
Originally Posted by rkulagow View Post
OK, I have to see why the lineup isn't being generated. The lineup is valid (in that it exists), so the "invalid lineup" will let me know where to start looking.
Thanks. Let me know if you need anything for me on this.
__________________
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
  #643  
Old 10-07-2014, 04:41 PM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
Try now please.
Reply With Quote
  #644  
Old 10-07-2014, 04:47 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
I get this from the sagetv UI when adding:
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 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 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 org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
	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 SimpleTemplateScript15.run(SimpleTemplateScript15.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)
	... 38 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 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 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 org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
	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 SimpleTemplateScript15.run(SimpleTemplateScript15.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
  #645  
Old 10-07-2014, 04:50 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
I went to the SD site and re added the lineup, then went to the sagetv UI and tried to add it again and got:

ineups/USA-MA20419-X: FAILED [Error registering lineup! [Exceeded maximum number of lineup changes for today.]]
__________________
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
  #646  
Old 10-07-2014, 04:50 PM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
OK, I know what happened. Gracenote said that your lineup was deleted, even though it hasn't been. I set the status back to "Active", but I need to rebuild the mapping because that was deleted when the lineup was made "deleted". Hold on.
Reply With Quote
  #647  
Old 10-07-2014, 04:52 PM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
I just reset your change counter. Try adding again.
Reply With Quote
  #648  
Old 10-07-2014, 04:55 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
I readded and got this:
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 SimpleTemplateScript19.run(SimpleTemplateScript19.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 SimpleTemplateScript19.run(SimpleTemplateScript19.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
  #649  
Old 10-07-2014, 04:56 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
just so i'm correct, am I re adding in sagetv UI, or at SD's site?
__________________
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
  #650  
Old 10-07-2014, 04:57 PM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
Sage.

I can see where the next issue is; standby.
Reply With Quote
  #651  
Old 10-07-2014, 05:02 PM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
OK, I need to get into the correct server to rebuild the mapping, but in about 5m I'm going to be in a car so it's going to be about 1h before I can do what needs to be done. I'll let you know when it's complete.
Reply With Quote
  #652  
Old 10-07-2014, 05:04 PM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
ok, thank you!
__________________
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
  #653  
Old 10-07-2014, 06:06 PM
Phydeaux Phydeaux is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 222
Increased the logging level to Debug...

sdepg.log.txt
Reply With Quote
  #654  
Old 10-07-2014, 07:13 PM
Phydeaux Phydeaux is offline
Sage Advanced User
 
Join Date: Aug 2008
Posts: 222
I have no clue what I did. Basically nothing. I added and removed a couple channels from my Video Source in Sage so that the EPG would be generated again. That's all. I didn't even delete the cache file which, according to my previous log file was suspected of being corrupt. Anyway, it seems my EPG is back. What the heck? I'm attaching the log file again since it still shows some errors which I don't understand.... Slugger - any ideas?

sdepg.log.txt
Reply With Quote
  #655  
Old 10-07-2014, 10:49 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by Phydeaux View Post
I have no clue what I did. Basically nothing. I added and removed a couple channels from my Video Source in Sage so that the EPG would be generated again. That's all. I didn't even delete the cache file which, according to my previous log file was suspected of being corrupt. Anyway, it seems my EPG is back. What the heck? I'm attaching the log file again since it still shows some errors which I don't understand.... Slugger - any ideas?

Attachment 14557
Cache is corrupted (first error in this last log file); plugin identified the cache as corrupted and deleted it (second warning logged) and did a full download, which succeeded.
__________________
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
  #656  
Old 10-08-2014, 02:30 AM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
Quote:
Originally Posted by rkulagow View Post
OK, I need to get into the correct server to rebuild the mapping, but in about 5m I'm going to be in a car so it's going to be about 1h before I can do what needs to be done. I'll let you know when it's complete.
Hi Robert, Just checking if I should try it again.

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
  #657  
Old 10-08-2014, 05:37 AM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
Yes, please let me know if it continues to fail and I will troubleshoot more.
Reply With Quote
  #658  
Old 10-08-2014, 06:59 AM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
Just tried adding the line up in sagetv UI and got this:
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 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 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 org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
	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 SimpleTemplateScript25.run(SimpleTemplateScript25.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)
	... 38 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 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 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 org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
	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 SimpleTemplateScript25.run(SimpleTemplateScript25.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)
__________________
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
  #659  
Old 10-08-2014, 08:03 AM
rkulagow's Avatar
rkulagow rkulagow is offline
Sage Advanced User
 
Join Date: Feb 2013
Posts: 157
OK, I'm not sure what the function is called in Sage, but the lineup was reactivated as of 2014-10-08 04:46:07 GMT. The problem is that when I look at the logs, I don't see your client make a "get lineups" request after that point, (which will make the server generate a map and send it to you.) So there are a few attempts to retrieve the lineup while it was still in flux, then you hit your limit, then I reset your limit, but again your grabber hasn't done the

GET /lineups/USA-MA20419-X

call to the server.

So it's using a stale headend file (which doesn't have the map). Can you force a refresh of the lineup?
Reply With Quote
  #660  
Old 10-08-2014, 08:08 AM
rdefino rdefino is offline
Sage Fanatic
 
Join Date: Aug 2006
Posts: 771
I see this in the sdepg.log file:
Code:
	... 42 more
2014-10-08 10:05:24,329 WARN  [Plugin]: Failed to dispatch button event for: sdepg/refresh to method refreshEpgData in class sagex.epg.schedulesdirect.plugin.Plugin
java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sagex.plugin.AbstractPlugin.fireButtonClick(AbstractPlugin.java:442)
	at sagex.plugin.AbstractPlugin.setConfigValue(AbstractPlugin.java:412)
	at sage.e.w$49.void(Unknown Source)
	at sage.az.a(Unknown Source)
	at sage.e.a(Unknown Source)
	at sage.SageTV.apiUI(Unknown Source)
	at gkusnick.sagetv.api.API.Call(API.java:165)
	at gkusnick.sagetv.api.PluginAPI$Plugin.SetPluginConfigValue(PluginAPI.java:721)
	at gkusnick.sagetv.STVIConfig.SetPluginConfigValue(STVIConfig.java:187)
	at gkusnick.sagetv.STVIConfig.SetPluginConfigValue(STVIConfig.java:191)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at sage.e$e.a(Unknown Source)
	at sage.a.m$b.a(Unknown Source)
	at sage.a.m.a(Unknown Source)
	at sage.e.a(Unknown Source)
	at sage.be.a(Unknown Source)
	at sage.be.a(Unknown Source)
	at sage.be.null(Unknown Source)
	at sage.be.for(Unknown Source)
	at sage.cb.char(Unknown Source)
	at sage.EventRouter.a(Unknown Source)
	at sage.EventRouter.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)
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 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 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 org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
	at sagex.epg.schedulesdirect.plugin.Plugin.forceEpgRefresh(Plugin.groovy:123)
	at sagex.epg.schedulesdirect.plugin.Plugin.refreshEpgData(Plugin.groovy:155)
	... 30 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)
	... 42 more
2014-10-08 10:05:24,329 WARN  [Plugin]: Failed to handle ButtonClickHandler: 'sdepg/refresh' in class: sagex.epg.schedulesdirect.plugin.Plugin
2014-10-08 10:06:07,642 INFO  [Plugin]: EPG refresh forced by user!
2014-10-08 10:06:18,763 INFO  [ProgramGenerator]: Processed show generators in 6ms
2014-10-08 10:06:18,793 INFO  [EpgDownloader]: Requesting 330 channels
2014-10-08 10:06:18,794 INFO  [EpgDownloader]: --force-download flag inserted via user refresh request!
2014-10-08 10:06:18,794 INFO  [EpgDownloader]: [C:\Program Files (x86)\Java\jre7\bin\java, -Xmx512m, -Dsdjson.fs.capture=C:\Program Files (x86)\SageTV\SageTV\plugins\sdepg\capture\grabber, -Dsdjson.capture.json-errors, -Dsdjson.capture.encode-errors, -Dsdjson.capture.http, -Dsdjson.capture.http.content, -jar, C:\Program Files (x86)\SageTV\SageTV\plugins\sdepg\tools\sdjson.jar, --username, rdefino, --password, *****, --user-agent, sagetv-sdepg/0.0.6.8 (Windows 7 x86 6.1), --max-threads, 200, --url, https://json.schedulesdirect.org, --grabber-log-level, INFO, grab, --target, C:\Program Files (x86)\SageTV\SageTV\plugins\sdepg\sdjson.epg, --max-prog-chunk, 50000, --max-sched-chunk, 1000, --stations, C:\Program Files (x86)\SageTV\SageTV\plugins\sdepg\stations.txt, --purge-cache, --force-download]
2014-10-08 10:07:40,594 INFO  [EPGImportPluginSchedulesDirect]: Performed EPG download in 81830ms
2014-10-08 10:07:45,734 INFO  [ChannelGenerator]: Processed channel generators in 9ms
2014-10-08 10:07:45,735 INFO  [EPGImportPluginSchedulesDirect]: Performed channel processing in 5140ms
2014-10-08 10:07:55,502 INFO  [EPGImportPluginSchedulesDirect]: Performed lineup map configuration in 9766ms
2014-10-08 10:08:00,219 INFO  [EPGImportPluginSchedulesDirect]: Performed EPG data load in 4717ms
2014-10-08 10:08:00,223 INFO  [AiringGenerator]: Processed airing generators in 2ms
2014-10-08 10:08:00,235 INFO  [SeriesInfoLoader]: Generated series info entries for 0 objects in 10ms!
__________________
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 06:59 PM.


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