Radio Times Data

Discussion of Version 3 and developing lua grabbers
Tudor
Posts: 5
Joined: Wed Jan 02, 2008 8:07 pm

Radio Times Data

Post by Tudor »

I have another problem with the Radio Times Data yesterday and today. I get this message from XMLTV EPG Viewer "The file "data.xml" does not appear to be a Radio Times XMLTV file". Also Web Scheduler gives the following:

Loading Data Please Wait...
About to load XMLTV Data from D:\TV Guide Data

Loading XMLTV data from D:\TV Guide Data\data.xml

There was an error loading the XMLTV Data!


org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x0) was found in the element content of the document.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(Unknown Source)
at GuideStore.loadXMLdata(GuideStore.java:662)
at GuideStore.loadXMLTV(GuideStore.java:386)
at EpgDataRes.reloadXMLTVdata(EpgDataRes.java:1842)
at EpgDataRes.getResponse(EpgDataRes.java:36)
at HTTPRequest.sendResponseData(HTTPRequest.java:83)
at RequestObject.run(RequestObject.java:135)
at java.lang.Thread.run(Unknown Source)

I do not know where the error lies, but the data has been very 'flakey" this year.
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Post by alanbirtles »

it would help if you could narrow down which channel the error occurs in. i should then be able to work around the problem
Tudor
Posts: 5
Joined: Wed Jan 02, 2008 8:07 pm

Post by Tudor »

I've had a look today. Will spend more time tomorrow. There seem to be a lot of characters with accents on them within the data, is this allowed? I've never seen them before in my screen display.
Tudor
Posts: 5
Joined: Wed Jan 02, 2008 8:07 pm

Post by Tudor »

Have found where it is. It's in the Film4 data:
Programme 2008 0306151000
In the <desc data right at the end of the line
at colunm 710 my editor shows 2 blank characters. Data in line is with 'B' for blank character:

.BB</desc>

Web Scheduler says the character is 0x00. MS Word will not load the data, neither will XMLTV GUI Viewer.
doveman
Posts: 3
Joined: Sat Mar 01, 2008 5:39 am

Post by doveman »

I can confirm that if I don't grab the Film4 listings, the data loads into WS fine.
SFX Group
Posts: 11
Joined: Tue Jan 24, 2006 11:53 am

Post by SFX Group »

Hi

I removed FILM4 and mine is working ok as well now, however looking at the Radio Times forum, there seems to be some service issues that are creating bugs.... have been for a good few weeks (8-10 weeks).

Many Thanks
Ashley
Many Thanks
Ashley
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Post by alanbirtles »

the latest svn build should fix all problems with invalid characters in the xml.
https://www.birtles.org.uk/svn/xmltv/co ... ltvGUI.exe
see http://www.birtles.org.uk/phpbb2/viewtopic.php?t=193 for login details
let me know if this fixes your problems
SFX Group
Posts: 11
Joined: Tue Jan 24, 2006 11:53 am

Post by SFX Group »

Hi

Downloaded, ran program get error "lua50.dll" could not be found.

Windows 2000 SP4.

Many Thanks
Ashley
alanbirtles wrote:the latest svn build should fix all problems with invalid characters in the xml.
https://www.birtles.org.uk/svn/xmltv/co ... ltvGUI.exe
see http://www.birtles.org.uk/phpbb2/viewtopic.php?t=193 for login details
let me know if this fixes your problems
Many Thanks
Ashley
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Post by alanbirtles »

you will need to put it in your xmltv directory
SFX Group
Posts: 11
Joined: Tue Jan 24, 2006 11:53 am

Post by SFX Group »

alanbirtles wrote:you will need to put it in your xmltv directory
Hi

Ive not fully tested this yet, however it does work, Radio Times site seems to have connection issues this morning as well.

Will keep you posted....

Many Thanks
Ashley
Many Thanks
Ashley
doveman
Posts: 3
Joined: Sat Mar 01, 2008 5:39 am

Post by doveman »

Happy to report everything's working fine here now.

Thanks for fixing it Alan.
SFX Group
Posts: 11
Joined: Tue Jan 24, 2006 11:53 am

Re: Radio Times Data

Post by SFX Group »

Hi

Looks good with the new version, however theres a very minor issue, on Radio Times, one or more of the Sky Movies channels has illegal characters in them.

I use GBPVR which is .NET based, this means it tends to load the XML file then dump the rest after an illegal part, as you will see "SKY ONE" is after movies, results in no listings and no recordings.

Is there a way to replace illegal stuff with say a "#" in the file so at least it loads????

Many Thanks
Ashley
Many Thanks
Ashley
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Re: Radio Times Data

Post by alanbirtles »

try the latest build and let me know if it fixes the issue
SFX Group
Posts: 11
Joined: Tue Jan 24, 2006 11:53 am

Re: Radio Times Data

Post by SFX Group »

Hi

I'm using v3.09.04, latest on site is v3.09.03...?
alanbirtles wrote:try the latest build and let me know if it fixes the issue
Many Thanks
Ashley
mickwall
Posts: 1
Joined: Fri Apr 11, 2008 6:18 pm

Re: Radio Times Data

Post by mickwall »

I was also having problems with invalid charecters but this build has fixed it for me. Thanks. Will the console version get updated also?


Mick
Post Reply