Page 1 of 1

Unable to open / view data.xml file

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

Re: Unable to open / view data.xml file

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

Re: Unable to open / view data.xml file

Posted: Fri Jun 25, 2010 10:22 pm
by meob

Re: Unable to open / view data.xml file

Posted: Sat Jun 26, 2010 6:39 am
by alanbirtles
I have found the problem and will try and fix it

Re: Unable to open / view data.xml file

Posted: Sat Jun 26, 2010 11:15 am
by meob
sounds good, thanks!

Re: Unable to open / view data.xml file

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

Re: Unable to open / view data.xml file

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

Re: Unable to open / view data.xml file

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

Re: Unable to open / view data.xml file

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

Re: Unable to open / view data.xml file

Posted: Fri Jul 09, 2010 10:47 am
by alanbirtles

Re: Unable to open / view data.xml file

Posted: Fri Jul 09, 2010 10:54 am
by meob

Re: Unable to open / view data.xml file

Posted: Fri Jul 09, 2010 11:06 am
by alanbirtles
those files are empty. If you go to "view source" from the browser does it show any data??

Re: Unable to open / view data.xml file

Posted: Fri Jul 09, 2010 11:15 am
by alanbirtles
i've found the stupid mistake. try downloading https://www.birtles.org.uk/svn/xmltv/co ... tities.lua again

Re: Unable to open / view data.xml file

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