Error on RT script

Discussion of Version 3 and developing lua grabbers
Post Reply
Mr Incredible
Posts: 3
Joined: Tue Aug 10, 2010 11:39 am

Error on RT script

Post by Mr Incredible » Tue Aug 10, 2010 11:46 am

On both 3.12 and 3.13 I get the following:

11:35:31 - C:\Program Files (x86)\XMLTV GUI\lib/compat-5.1.lua:162: package `htmlentities' not found
11:35:33 - Starting pass 1 of grabber UK_Bleb
11:35:33 - Please refresh your channel list
11:35:33 - Grab failed on channel "south.bbc1.bbc.co.uk"
11:35:33 - Finished pass 1 of grabber UK_Bleb
11:35:33 - 0 programs found
11:35:33 - Starting pass 1 of grabber UK_RT
11:35:33 - Please note that all data downloaded with this grabber is copyright of the Radio Times website (http://www.radiotimes.com) and the use of the data is restricted to personal use only. Also be aware that this service may not remain free and in future may become a paid-for service
11:35:49 - Clearing cache
11:35:49 - Finished pass 1 of grabber UK_RT
11:35:49 - 9282 programs found
11:35:49 - Starting pass 1 of processor UK_RT_Plus_One
11:35:52 - Finished pass 1 of processor UK_RT_Plus_One
11:35:52 - Starting pass 1 of processor UK_RT_ALT_Text
11:35:52 - ...(x86)\XMLTV GUI\scripts/uk_rt/ukrt_altchids_text.lua:14: bad argument #1 to `lines' (No such file or directory)
11:35:52 - Finished pass 1 of processor UK_RT_ALT_Text
11:35:52 - Starting pass 1 of processor UK_RT_Alt_Cat
11:35:55 - Finished pass 1 of processor UK_RT_Alt_Cat
11:35:55 - Starting pass 1 of processor UK_RT_ALT_XMLTV
11:35:55 - ...x86)\XMLTV GUI\scripts/uk_rt/ukrt_altchids_xmltv.lua:224: bad argument #2 to `format' (number expected, got nil)
11:35:55 - Process failed on channel "1959+1"
11:35:55 - Finished pass 1 of processor UK_RT_ALT_XMLTV
11:35:55 - Combining Grabber Programs
11:35:55 - Finished Combining Grabber Programs
11:35:55 - Sorting Programs
11:35:55 - Programs Sorted
11:35:55 - Writing XML
11:35:56 - XML Written

I use the output in my TVScheduler Pro which is now showing no entries whatsoever.

Many thanks.

Great utility BTW!

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

Re: Error on RT script

Post by alanbirtles » Tue Aug 10, 2010 11:51 am

sorry i missed a file from the packaging you can download it from https://www.birtles.org.uk/svn/xmltv/co ... tities.lua and save it to the lib directory. Version 3.12 should be unaffected

Mr Incredible
Posts: 3
Joined: Tue Aug 10, 2010 11:39 am

Re: Error on RT script

Post by Mr Incredible » Tue Aug 10, 2010 12:41 pm

I managed to find the username and password for the download..... :oops:

Anyway, I downloaded and saved the file to the Lib directory. That has resolved the first issue, but the others remain....

12:37:15 - Starting pass 1 of grabber UK_RT
12:37:15 - Please note that all data downloaded with this grabber is copyright of the Radio Times website (http://www.radiotimes.com) and the use of the data is restricted to personal use only. Also be aware that this service may not remain free and in future may become a paid-for service
12:37:37 - Clearing cache
12:37:37 - Finished pass 1 of grabber UK_RT
12:37:37 - 9282 programs found
12:37:37 - Starting pass 1 of processor UK_RT_Plus_One
12:37:40 - Finished pass 1 of processor UK_RT_Plus_One
12:37:40 - Starting pass 1 of processor UK_RT_ALT_Text
12:37:40 - ...(x86)\XMLTV GUI\scripts/uk_rt/ukrt_altchids_text.lua:14: bad argument #1 to `lines' (No such file or directory)
12:37:40 - Finished pass 1 of processor UK_RT_ALT_Text
12:37:40 - Starting pass 1 of processor UK_RT_Alt_Cat
12:37:43 - Finished pass 1 of processor UK_RT_Alt_Cat
12:37:43 - Starting pass 1 of processor UK_RT_ALT_XMLTV
12:37:43 - ...x86)\XMLTV GUI\scripts/uk_rt/ukrt_altchids_xmltv.lua:224: bad argument #2 to `format' (number expected, got nil)
12:37:43 - Process failed on channel "1959+1"
12:37:43 - Finished pass 1 of processor UK_RT_ALT_XMLTV
12:37:43 - Combining Grabber Programs
12:37:43 - Finished Combining Grabber Programs
12:37:43 - Sorting Programs
12:37:43 - Programs Sorted
12:37:43 - Writing XML
12:37:44 - XML Written

TV Scheduler Pro is still blank.

Thanks

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

Re: Error on RT script

Post by alanbirtles » Tue Aug 10, 2010 12:47 pm

do you need all those post processors active?
ukrt_altchids_text is complaining that it cant find the mapping file specified

Mr Incredible
Posts: 3
Joined: Tue Aug 10, 2010 11:39 am

Re: Error on RT script

Post by Mr Incredible » Tue Aug 10, 2010 2:12 pm

Don't know whether I need them or not; I'll have a look. Even so, I've been running those for a number of years without any problem. It's just recently happened which coincided with the zero sized message from RT. But as RT appears to be up today, these errors appear to be not related to that. It all worked hunky-dory until recently.

Anyway:........ I unchecked all the post-processors and it ran through fine. Thanks! All back to normal!

Post Reply