PDA

View Full Version : Errors in XMLTV Update


rickgillyon
12-04-2007, 09:46 AM
I'm getting errors when Sage tries to epand my lineup XML. I'm using nielm's multi-lineup XML plugin with Birty's RT Grabber. In my log I see these:
Tue 12/4 15:26:56.766 EPG needs an update in 0 minutes
Tue 12/4 15:26:56.895 EPG attempting to expand Lineup in 2.xml
Tue 12/4 15:26:56.896 expand called on Lineup in 2.xml at Tue 12/4 15:26:56.896 expandedUntil=Tue 12/4 15:26:40.953 scannedUntil=Thu 1/1 1:00:00.000
Tue 12/4 15:26:56.896 EPG Expanding Lineup in 2.xml at Tue 12/4 15:26:56.896
Tue 12/4 15:26:57.501 WarlockRipper logged in OK.
Tue 12/4 15:26:58.525 failed to set http://xml.org/sax/features/nonvalidating/load-external-dtd=false on com.sun.org.apache.xerces.internal.parsers.SAXParser@471925
: org.xml.sax.SAXNotRecognizedException: Feature 'http://xml.org/sax/features/nonvalidating/load-external-dtd' is not recognized.
Tue 12/4 15:27:00.999 EPG attempting to expand Lineup in 4.xml
Tue 12/4 15:27:00.999 expand called on Lineup in 4.xml at Tue 12/4 15:27:00.999 expandedUntil=Tue 12/4 15:26:47.745 scannedUntil=Thu 1/1 1:00:00.000
Tue 12/4 15:27:00.999 EPG Expanding Lineup in 4.xml at Tue 12/4 15:27:00.999
Tue 12/4 15:27:01.532 WarlockRipper logged in OK.
Tue 12/4 15:27:02.537 failed to set http://xml.org/sax/features/nonvalidating/load-external-dtd=false on com.sun.org.apache.xerces.internal.parsers.SAXParser@c5fb12
: org.xml.sax.SAXNotRecognizedException: Feature 'http://xml.org/sax/features/nonvalidating/load-external-dtd' is not recognized.

Anybody have any ideas what all that means?

Thanks!

agitate
12-05-2007, 03:55 AM
As far as I can tell these are just messages, not errors. In the source code for nielm's "multiple lineup importer" at XMLTVImportPlugin.java:73


try {
r.setFeature("http://apache.org/xml/features/nonvalidating/load-external-dtd", false);
}catch (org.xml.sax.SAXNotRecognizedException e) {
System.out.println("failed to set http://apache.org/xml/features/nonvalidating/load-external-dtd=false on "+r+"\n: "+e);
}
try {
r.setFeature("http://xml.org/sax/features/nonvalidating/load-external-dtd", false);
} catch (org.xml.sax.SAXNotRecognizedException e) {
System.out.println("failed to set http://xml.org/sax/features/nonvalidating/load-external-dtd=false on "+r+"\n: "+e);
}


it doesn't actually return or exit if it fails to setFeature, it just outputs a message and continues on its merry way. Is the actual import not working?

rickgillyon
12-05-2007, 04:19 AM
Sorry, I double-posted this and only updated elsewhere, it does still work - there just weren't any RT updates yesterday when I tried. :blush:

My guess is that it's been erroring for ages, unnoticed, only the lack of updates yesterday sent me looking...

Thanks for checking it out! :goodjob: