![]() |
|
|||||||
| 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. |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
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- |
|
#2
|
|||
|
|||
|
what version of xmltv are you runnin?
|
|
#3
|
|||
|
|||
|
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
|
|
#4
|
|||
|
|||
|
Did you install xerces.jar? http://mta.techno.org/epg/
|
|
#5
|
|||
|
|||
|
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?
|
|
#6
|
|||
|
|||
|
Mine is in c:\[java root]\jre\lib\ext. I haven't needed to place it anywhere else.
|
|
#7
|
|||
|
|||
|
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.
|
|
#8
|
|||
|
|||
|
Weird, when I was using the XMLTV plugin I had to unzip xerces.jar into my SageTV folder to get things working smoothly.
|
|
#9
|
|||
|
|||
|
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. |
|
#10
|
|||
|
|||
|
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 |
|
#11
|
||||
|
||||
|
Nice.
Good work corykim.
__________________
Jeffrey Kardatzke CTO & Founder SageTV, LLC |
|
#12
|
|||
|
|||
|
Thanks, Narflex. Your clean, well-documented interfaces made it effortless.
|
|
#13
|
|||
|
|||
|
Thanks Corykim---I rebuilt my pc from scratch and then the plug in worked the first time.
|
|
#14
|
|||
|
|||
|
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. |
|
#15
|
||||
|
||||
|
> 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" |
|
#16
|
|||
|
|||
|
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. |
|
#17
|
||||
|
||||
|
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 Then in the top-level, you can try: java PluginTester This should at least test your XMLTV data... |
|
#18
|
|||
|
|||
|
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. |
|
#19
|
||||
|
||||
|
New! Improved! With Attachment!
|
|
#20
|
|||
|
|||
|
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. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|