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
  #361  
Old 04-26-2014, 11:54 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Actually, upon further review, this looks like my problem. Give me an hour or so, should have a fix.
__________________
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
  #362  
Old 04-26-2014, 12:22 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
0.0.6.2 released

Fixes issues with lineup registration/unregistration from the webui. See the details for 0.0.6.1 (a few posts back) for further instructions.
__________________
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
  #363  
Old 04-26-2014, 01:20 PM
gdippel gdippel is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Bayside, New York
Posts: 301
Updated plugin, registered lineups, setup video sources. No epg data. I have 4 files in the depg plugin directory: sdjson.epg (17,258kb) stations.txt (6kb), web.menu (1kb) and a temp file (46,895kb). I tried refreshing in the plugin config, still no epg data.
Reply With Quote
  #364  
Old 04-26-2014, 01:37 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
We're getting closer then.

The temp file suggests something crashed while grabbing data from SD. In plugins/sdepg/logs/sdepg.log, are there any exceptions? Any errors? If not, go back to plugin settings, set the "Log Level" setting to debug, try again, zip up all the logs in the logs dir, send them my way.
__________________
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
  #365  
Old 04-26-2014, 01:42 PM
gdippel gdippel is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Bayside, New York
Posts: 301
I deleted the sdjson.epg file and the temp file and refreshed the epg and now the epg is populating with data.
Reply With Quote
  #366  
Old 04-26-2014, 01:44 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Quote:
Originally Posted by gdippel View Post
I deleted the sdjson.epg file and the temp file and refreshed the epg and now the epg is populating with data.
That's good, but I'd still be interested in knowing if there are any errors and/or exceptions logged in the sdepg.log file from the first attempt.
__________________
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
  #367  
Old 04-26-2014, 01:50 PM
gdippel gdippel is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Bayside, New York
Posts: 301
I've attached all the logs from the sdepg plugin directory.
Attached Files
File Type: zip sdjson epg logs.zip (63.0 KB, 113 views)
Reply With Quote
  #368  
Old 04-26-2014, 01:59 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Hmm... interesting:

Code:
2014-04-26 15:12:22,510 ERROR [EpgDownloader]: stderr:
Exception in thread "main" java.nio.file.AccessDeniedException: C:\Program Files\SageTV\SageTV\plugins\sdepg\sdjson.epg
	at sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
	at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
	at sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
	at sun.nio.fs.WindowsFileSystemProvider.checkReadAccess(Unknown Source)
	at sun.nio.fs.WindowsFileSystemProvider.checkAccess(Unknown Source)
	at com.sun.nio.zipfs.ZipFileSystem.<init>(ZipFileSystem.java:124)
	at com.sun.nio.zipfs.ZipFileSystemProvider.newFileSystem(ZipFileSystemProvider.java:117)
	at java.nio.file.FileSystems.newFileSystem(Unknown Source)
	at java.nio.file.FileSystems.newFileSystem(Unknown Source)
	at org.schedulesdirect.grabber.Grabber.updateZip(Grabber.java:423)
	at org.schedulesdirect.grabber.Grabber.execute(Grabber.java:725)
	at org.schedulesdirect.grabber.Grabber.main(Grabber.java:832)
So for some reason, the grabber appeared to create the .epg file, but then the SageTV process could not access it. My guess is maybe you ran the grabber as a user other than the one SageTV runs as and this is why? Or some thing like that. But in either case, there isn't anything for me to fix since if Sage can't open the epg file, I definitely can't process it.

By deleting both the temp file and the epg file, the next forced update would have had the SageTV process call the grabber, creating the epg file, and then reading it from within Sage, which appears to have worked, as expected. I assume your EPG is filled in now?
__________________
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
  #369  
Old 04-26-2014, 02:05 PM
gdippel gdippel is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Bayside, New York
Posts: 301
Yes it's filled.
Reply With Quote
  #370  
Old 04-26-2014, 02:12 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Excellent. Thanks for being the first to upgrade (besides me)!

Not bad, really. Just those web page issues, which I actually had the fix for awhile ago, but forgot to commit them to the git repository.

All in all I'd say a rather smooth start, though you don't want to know how many tries (i.e. painful Sunday mornings over the last 6 weeks or so) it took me to iron out those upgrade steps in that wiki. That upgrade wiki is only necessary when Schedules Direct overhauls the unique lineup ids it generates for the lineups on their end, which was the case this time around, but hopefully won't happen again anytime soon.
__________________
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
  #371  
Old 04-26-2014, 02:21 PM
rnadeau's Avatar
rnadeau rnadeau is offline
Sage Expert
 
Join Date: Jun 2006
Location: Maine
Posts: 500
Updated the plugin using Wiki instructions. Everything is fine. program guide has data. Thanks for you hard work.
__________________
Sage Tv Server-Amd 4200FX quad core, Asus Nvidia EN610 Hdmi out , 8 Gig Ram ,(3) HVR-1800, 3.5 terrabyte storage, Windows 8 Pro on sage 9.09 system . Media Server- 6 Terabytes on 5 drives, Amd x2 6000 8 useable gig ram on win 7 32 bit media server.
Reply With Quote
  #372  
Old 04-26-2014, 03:17 PM
gdippel gdippel is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Bayside, New York
Posts: 301
Quote:
Originally Posted by Slugger View Post
Excellent. Thanks for being the first to upgrade (besides me)!
Thanks for the update and your other plugins, SJQ and SRE the major reason I'm still using Sage.
Reply With Quote
  #373  
Old 04-27-2014, 05:15 AM
gdippel gdippel is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Bayside, New York
Posts: 301
There are several Broadcast Network sub-channels that are not populating with guide data, e.g. 2-2, 5-2, 9-2. They did have data before the epg upgrade. Should I send a email to Schedules Direct or is this a plugin issue?
Reply With Quote
  #374  
Old 04-27-2014, 06:40 AM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
I do believe that was the last bug fixed by SD late last week so I'd say open an issue at Schedules Direct. You can confirm it's an SD issue by taking a peak inside the sdjson.epg file (it's just a plain zip file) and looking for schedule files for the station ids that are missing. If they don't exist or they exist and are empty, it's an SD issue. If they exist and have meaningful schedule data inside then it's likely my issue.
__________________
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...

Last edited by Slugger; 04-27-2014 at 06:44 AM.
Reply With Quote
  #375  
Old 04-27-2014, 08:59 AM
gdippel gdippel is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Bayside, New York
Posts: 301
The station IDs are missing in the schedules directory of the epg file so I'll send Schedules Direct a message.
Reply With Quote
  #376  
Old 04-27-2014, 12:02 PM
JerryB JerryB is offline
Sage Aficionado
 
Join Date: Aug 2008
Posts: 273
I downloaded and installed the SDepg update following the instructions you posted for upgrading. I registered my lineups, added my video sources and attached them to the SD lineups, and forced a manual download of the epg. The download of the epg went fine but I'm not seeing any program listings in SageTV. I've attached the log files and hopefully they'll help figure out what the problem is.
Attached Files
File Type: zip sdepg_logs.zip (20.3 KB, 112 views)
Reply With Quote
  #377  
Old 04-27-2014, 12:29 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Hmm... well this isn't good:

Code:
java.lang.NullPointerException
	at java.io.RandomAccessFile.writeBytes0(Native Method)
	at java.io.RandomAccessFile.writeBytes(Unknown Source)
	at java.io.RandomAccessFile.write(Unknown Source)
	at sage.au.cd(Unknown Source)
	at sage.aw.cd(Unknown Source)
	at sage.av.if(Unknown Source)
	at sage.cd.l(Unknown Source)
	at sage.av.a(Unknown Source)
	at sage.av.a(Unknown Source)
	at sage.av.a(Unknown Source)
	at sage.z$a$0.call(Unknown Source)
	at sagex.epg.schedulesdirect.sagetv.helpers.EPGDBPublicAdvancedImpl.addAiringPublic2(EPGDBPublicAdvancedImpl.groovy:216)
	at sagex.epg.schedulesdirect.sagetv.helpers.IEPGDBPublicAdvanced$addAiringPublic2.call(Unknown Source)
	at sagex.epg.schedulesdirect.EPGImportPluginSchedulesDirect.addAiring(EPGImportPluginSchedulesDirect.groovy:415)
	at sagex.epg.schedulesdirect.EPGImportPluginSchedulesDirect.this$2$addAiring(EPGImportPluginSchedulesDirect.groovy)
The problem appears to be Sage core is failing to write to wiz.bin. Unfortunately, you need Sage support to answer the "why is there an NPE?" I can't do anything other than venture a guess as to the cause when it's Sage core calls throwing the exceptions. The best that I can deduce here is that I'm submitting a new airing to be written to wiz.bin, Sage core accepted the request and tried to write it to wiz.bin, and something failed during the write to wiz.bin.

The best we can hope for is that there's a specific airing in the epg feed that's causing it. I would have to generate a special debug jar for you to try in order to generate the output needed to track it down. Send me an email or if you don't have my address then PM for more details.
__________________
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
  #378  
Old 04-27-2014, 12:46 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Do you happen to be using any of the airing or program generator features (i.e. do you have any generator groovy scripts installed and executing)? I see a bug in that section of the code that needs to be addressed and if you're using these features then it could maybe explain what you're seeing.
__________________
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
  #379  
Old 04-27-2014, 12:49 PM
JerryB JerryB is offline
Sage Aficionado
 
Join Date: Aug 2008
Posts: 273
The program guide appears to be slowly filling with data, at least I have listings for some channels now. What I suggest doing is to give it a day and see if all the channels eventually fill with data and, if not, which ones don't have data. If the problem doesn't resolve itself, then I'll email you and you can send me the special jar to try and track this down.

Edit: I just saw your other message. No, I'm not using any generator scripts.

Last edited by JerryB; 04-27-2014 at 12:52 PM. Reason: Add information
Reply With Quote
  #380  
Old 04-27-2014, 01:03 PM
Slugger Slugger is offline
SageTVaholic
 
Join Date: Mar 2007
Location: Kingston, ON
Posts: 4,008
Sounds good. Please upgrade to 0.0.6.3 when Sage tells you it's available. If you run generators then this might just fix you up, if you don't then this fix is unrelated, but still need you on the latest version so we're in sync when we start to try and track this down.
__________________
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
Reply


Currently Active Users Viewing This Thread: 2 (0 members and 2 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 08:36 AM.


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