Unable to open / view data.xml file

Discussion of Version 3 and developing lua grabbers
Post Reply
meob
Posts: 7
Joined: Fri Jun 25, 2010 1:22 pm

Unable to open / view data.xml file

Post by meob »

Hi Alan,

I have been successfully using DG2XML.exe for ages now, I have the skin installed on digiguide - happy days it works well.

I'd like to get a scheduled task sorted to pull the epg info from digiguide.

I have xmltv GUI 3.12 installed & digiguide grabber setup.

I can grab listings & outputs to c:\data.xml

however, when I try view the data.xml in XMLTV EPG viewer I get error:

"The file data.xml does not appear to be a Radio Times XMLTV file"

I know this is a error from XMLTV EPG viewer, but I can successfully view the .xml file I manually generated using DG2XML.exe (all works well with BSE)

Another thing i noticed was the file sizes.

the data.xml generated by xmltv GUI is 148MB
the epgdata.xml generated by Dg2XML.exe is 85MB

am i possibly doing something wrong in XMLTv GUI?

Thanks

Dave
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Re: Unable to open / view data.xml file

Post by alanbirtles »

The difference in size is probably due to formatting. Could you try zipping up the file and see if its small enough to post here.
meob
Posts: 7
Joined: Fri Jun 25, 2010 1:22 pm

Re: Unable to open / view data.xml file

Post by meob »

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

Re: Unable to open / view data.xml file

Post by alanbirtles »

I have found the problem and will try and fix it
meob
Posts: 7
Joined: Fri Jun 25, 2010 1:22 pm

Re: Unable to open / view data.xml file

Post by meob »

sounds good, thanks!
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Re: Unable to open / view data.xml file

Post by alanbirtles »

Hopefully the following two files should fix the problem. I can't test it as I don't have a digiguide subscription at the moment.
Access details are in the sticky post at the top of this forum
https://www.birtles.org.uk/svn/xmltv/co ... tities.lua
https://www.birtles.org.uk/svn/xmltv/co ... k_digi.lua
theater
Posts: 1
Joined: Fri Jul 09, 2010 10:01 am

Re: Unable to open / view data.xml file

Post by theater »

alanbirtles wrote:Hopefully the following two files should fix the problem. I can't test it as I don't have a digiguide subscription at the moment.
Access details are in the sticky post at the top of this forum
https://www.birtles.org.uk/svn/xmltv/co ... tities.lua
https://www.birtles.org.uk/svn/xmltv/co ... uk_digi.lua
I have the same problem , fix .
meob
Posts: 7
Joined: Fri Jun 25, 2010 1:22 pm

Re: Unable to open / view data.xml file

Post by meob »

alanbirtles wrote:Hopefully the following two files should fix the problem. I can't test it as I don't have a digiguide subscription at the moment.
Access details are in the sticky post at the top of this forum
https://www.birtles.org.uk/svn/xmltv/co ... tities.lua
https://www.birtles.org.uk/svn/xmltv/co ... k_digi.lua
Hi Alan, thanks for the update.

i'll give them a try!
meob
Posts: 7
Joined: Fri Jun 25, 2010 1:22 pm

Re: Unable to open / view data.xml file

Post by meob »

10:29:10 - Starting pass 1 of grabber UK_Digi
10:29:10 - Logging In
10:29:11 - Getting start date
10:29:11 - Downloading http://localhost:2402/skin-DG2XML/sid-C ... hi=0&noc=5
10:29:35 - Finished pass 1 of grabber UK_Digi
10:29:35 - 0 programs found
10:29:35 - Combining Grabber Programs
10:29:35 - Finished Combining Grabber Programs
10:29:35 - Sorting Programs
10:29:35 - Programs Sorted
10:29:35 - Writing XML
10:29:35 - No programs found, aborting xml writing


I put "uk_digi.lua" into C:\Program Files (x86)\XMLTV GUI\scripts\uk_digi

i put "htmlentities.lua" into C:\Program Files (x86)\XMLTV GUI\lib

Digiduide / DG2XMl working as normal...

I'm assuming the .lua location is correct?

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

Re: Unable to open / view data.xml file

Post by alanbirtles »

meob
Posts: 7
Joined: Fri Jun 25, 2010 1:22 pm

Re: Unable to open / view data.xml file

Post by meob »

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

Re: Unable to open / view data.xml file

Post by alanbirtles »

those files are empty. If you go to "view source" from the browser does it show any data??
alanbirtles
Site Admin
Posts: 495
Joined: Mon Sep 06, 2004 4:44 pm

Re: Unable to open / view data.xml file

Post by alanbirtles »

i've found the stupid mistake. try downloading https://www.birtles.org.uk/svn/xmltv/co ... tities.lua again
meob
Posts: 7
Joined: Fri Jun 25, 2010 1:22 pm

Re: Unable to open / view data.xml file

Post by meob »

alanbirtles wrote:i've found the stupid mistake. try downloading https://www.birtles.org.uk/svn/xmltv/co ... tities.lua again
same again i'm afraid:

11:18:49 - Starting pass 1 of grabber UK_Digi
11:18:49 - Logging In
11:18:49 - Getting start date
11:18:49 - Downloading http://localhost:2402/skin-DG2XML/sid-D ... hi=0&noc=5
11:19:11 - Finished pass 1 of grabber UK_Digi
11:19:11 - 0 programs found
11:19:11 - Combining Grabber Programs
11:19:11 - Finished Combining Grabber Programs
11:19:11 - Sorting Programs
11:19:11 - Programs Sorted
11:19:11 - Writing XML
11:19:11 - No programs found, aborting xml writing


yes, i did think it was odd that those files didn't show much,

Image
Post Reply