SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV EPG Service

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 07-15-2003, 08:04 AM
Jakebucky Jakebucky is offline
Sage User
 
Join Date: Jul 2003
Posts: 52
xmltv plug in not loading

I cannot get the xmltv plug in to load--I installed the java components, downloaded the plug in, edited the sage.properties, and then I do not see the xmltv listings [ran and successfully populated my epgdata.xml prior]...

Next I actived the debugging and it says the plugin is not loading and references the class files, which I am pretty sure are in the right place.

Any one have some other ideas?
Thanks-
Reply With Quote
  #2  
Old 07-15-2003, 08:56 PM
corykim corykim is offline
Sage Advanced User
 
Join Date: Apr 2003
Posts: 153
what version of xmltv are you runnin?
Reply With Quote
  #3  
Old 07-15-2003, 09:10 PM
Jakebucky Jakebucky is offline
Sage User
 
Join Date: Jul 2003
Posts: 52
I tried 5.14 and 5.15--I also took note to make sure I had the right plug in for each different xmltv.exe
Reply With Quote
  #4  
Old 07-16-2003, 08:08 PM
corykim corykim is offline
Sage Advanced User
 
Join Date: Apr 2003
Posts: 153
Did you install xerces.jar? http://mta.techno.org/epg/
Reply With Quote
  #5  
Old 07-17-2003, 08:39 AM
Jakebucky Jakebucky is offline
Sage User
 
Join Date: Jul 2003
Posts: 52
I believe I did install it correctly...I put the xerces.jar into the \lib\ext folder. I think this is where my problem is though. Should this file also reside in the sage tv subfolder?
Reply With Quote
  #6  
Old 07-17-2003, 01:02 PM
corykim corykim is offline
Sage Advanced User
 
Join Date: Apr 2003
Posts: 153
Mine is in c:\[java root]\jre\lib\ext. I haven't needed to place it anywhere else.
Reply With Quote
  #7  
Old 07-17-2003, 01:08 PM
Jakebucky Jakebucky is offline
Sage User
 
Join Date: Jul 2003
Posts: 52
ok...I'll give it a retry tonight after work. Thanks for the assistance! Once this is working my wife will give me the thumbs up on buying the software.
Reply With Quote
  #8  
Old 07-17-2003, 01:25 PM
justme justme is offline
Moderator
 
Join Date: Mar 2003
Location: Greater Baltimore/Washington Metropolitan area
Posts: 1,479
Weird, when I was using the XMLTV plugin I had to unzip xerces.jar into my SageTV folder to get things working smoothly.
Reply With Quote
  #9  
Old 07-17-2003, 05:15 PM
Jakebucky Jakebucky is offline
Sage User
 
Join Date: Jul 2003
Posts: 52
This is the error I get:

"Thu 7/17 17:57:57.927 Error loading EPG Import Plugin of:java.lang.ClassNotFound
Exception: xmltv/XMLTVImportPlugin"

I have the xerces.jar in the root java ext area, I tried extracting the files to the sage tv root folder.
{C:\Program Files\Java\j2re1.4.1_03\lib\ext}
{C:\Program Files\Frey Technologies\SageTV\}

In my sage.properties I have the plugiin like this:
epg/epg_import_plugin=xmltv.XMLTVImportPlugin

I am using the 5.15 xml plug for sage here: {C:\Program Files\Frey Technologies\SageTV\xmltv}
and I crreated my epgdata.xml using xmltv 5.15
{C:\Program Files\Frey Technologies\SageTV\}

I am running xp pro sp1---java 2 run time environment 1.4.1_03

Any other thoughts? I'm pulling my hair outl.
Reply With Quote
  #10  
Old 07-17-2003, 06:17 PM
corykim corykim is offline
Sage Advanced User
 
Join Date: Apr 2003
Posts: 153
Try this tester

Here's a program to test your plugin. Unzip the attachment to your sagetv directory, then run the following command:

java -cp .;Sage.jar PluginTester
Attached Files
File Type: zip plugintester.zip (2.1 KB, 1141 views)
Reply With Quote
  #11  
Old 07-18-2003, 09:20 AM
Narflex's Avatar
Narflex Narflex is offline
Sage
 
Join Date: Feb 2003
Location: Redondo Beach, CA
Posts: 4,954
Nice. Good work corykim.
__________________
Jeffrey Kardatzke
CTO & Founder
SageTV, LLC
Reply With Quote
  #12  
Old 07-18-2003, 09:51 PM
corykim corykim is offline
Sage Advanced User
 
Join Date: Apr 2003
Posts: 153
Thanks, Narflex. Your clean, well-documented interfaces made it effortless.
Reply With Quote
  #13  
Old 07-21-2003, 08:05 AM
Jakebucky Jakebucky is offline
Sage User
 
Join Date: Jul 2003
Posts: 52
Thanks Corykim---I rebuilt my pc from scratch and then the plug in worked the first time.
Reply With Quote
  #14  
Old 02-26-2004, 05:08 AM
johandm johandm is offline
Sage User
 
Join Date: Jan 2004
Location: Belgium
Posts: 32
plugin tester

Hi,

I downloaded the plugin tester and unzipped the 3 files into the directory:

c:\program files\frey technologies\sagetv


I open a command prompt, then goto that directory:

cd c:\program files\frey technologies\sagetv

Then start the tester:

java -cp .;Sage.jar PluginTester


The output is:

Exception in thread "main" java.lang.NoClassDefFoundError: sage/EPGDBPublic


I am using:
xmltv 0.5.25.0
xmltv plugin: dated 24/04/2003 12:06
xerces.jar: size = 1.812.019 bytes



The reason I am trying to run the tester is: I have about 10 days old setup, I did get my "epgdata.xml" imported, but SageTV is not getting the updated "epgdata.xml". The setup shows that it is daily going to get the EPG update, but again, the SageGuide does not reflect the updated shedule.

Yesterday, I even tried to manually invoke an update by removing & adding channels, removing & adding tuner cards, etc. I even downgraded xmltv to 0.5.15, tried different versions of the plugin; nothing worked. In the end, I restored my original xmltv and plugin, and suddenly I had the new shedule in SageGuide.

Is there anyway to get a logfile from SageTV and or the xmltv plugin to find out where it is having problems ?


Any suggestions are very appreciated...

Thanks,
Johan.
Reply With Quote
  #15  
Old 03-04-2004, 08:04 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
> Exception in thread "main" java.lang.NoClassDefFoundError: sage/EPGDBPublic

This suggests that you are not running the command as shown (-cp defines the java class path -- ie where to find the EPGDBPublic class you are not finding, which is in Sage.jar!)

Note: after the -cp is "dot semicolon"
Reply With Quote
  #16  
Old 03-04-2004, 06:36 PM
johandm johandm is offline
Sage User
 
Join Date: Jan 2004
Location: Belgium
Posts: 32
Hi Niel,

thanks for the information. I am confident that I typed in:

java -cp .;Sage.jar PluginTester

(including the dot semicolon)


Could there be anything else wrong ?

Thanks,
Johan.
Reply With Quote
  #17  
Old 03-05-2004, 07:37 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
Very very odd -- there should be 2 files in your Sage.jar file (which is just a renamed zip file):
sage\EPGDBPublic.class
sage\EPGImportPlugin.class
These 2 class definition files are needed by the plugin tester...

I have attached a zip with my own versions of these files, create a new directory tree somewhere other than the SageTV directory with:
Code:
\epgdata.xml
\PluginTester.class
\TestEPGDB.class
\xmltv\Channel.class
\xmltv\Show.class
\xmltv\XMLTVImportPlugin.class
\sage\EPGDBPublic.class
\sage\EPGImportPlugin.class
(any .java files can be ignored -- they are just the source code to the .class files.)

Then in the top-level, you can try:
java PluginTester
This should at least test your XMLTV data...
Reply With Quote
  #18  
Old 03-05-2004, 08:14 AM
johandm johandm is offline
Sage User
 
Join Date: Jan 2004
Location: Belgium
Posts: 32
Hi Niel,

thanks - it does look like the attachement did not make it though.
Please post it (or email to me) and I will try this out tonight.

Thanks again,
Johan.
Reply With Quote
  #19  
Old 03-05-2004, 08:36 AM
nielm's Avatar
nielm nielm is offline
SageTVaholic
 
Join Date: Oct 2003
Location: Belgium
Posts: 4,496
New! Improved! With Attachment!
Attached Files
File Type: zip plugintester_sage_classes.zip (3.6 KB, 546 views)
Reply With Quote
  #20  
Old 03-08-2004, 01:48 AM
johandm johandm is offline
Sage User
 
Join Date: Jan 2004
Location: Belgium
Posts: 32
Thanks Niel,

I downloaded the file, for some reason (so far) the updates seem to work on my system now. Next time they fail, I will try this out.

Regards,
Johan.
Reply With Quote
Reply


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

Advanced Search
Display Modes

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


All times are GMT -6. The time now is 09:45 PM.


Powered by vBulletin® Version 3.7.6
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 2003-2005 SageTV, LLC. All rights reserved.