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 » Fri Jun 25, 2010 1:31 pm

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 » Fri Jun 25, 2010 5:20 pm

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 » Fri Jun 25, 2010 10:22 pm


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

Re: Unable to open / view data.xml file

Post by alanbirtles » Sat Jun 26, 2010 6:39 am

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 » Sat Jun 26, 2010 11:15 am

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 » Fri Jul 02, 2010 7:43 pm

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 » Fri Jul 09, 2010 10:05 am

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 » Fri Jul 09, 2010 10:10 am

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 » Fri Jul 09, 2010 10:31 am

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 » Fri Jul 09, 2010 10:47 am


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

Re: Unable to open / view data.xml file

Post by meob » Fri Jul 09, 2010 10:54 am


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

Re: Unable to open / view data.xml file

Post by alanbirtles » Fri Jul 09, 2010 11:06 am

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 » Fri Jul 09, 2010 11:15 am

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 » Fri Jul 09, 2010 11:24 am

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