XMLTV Error 6400 And XMLTV Error 2304

My MythTV had a problem with the getting the T.V schedule (guide) and all the channels just displayed “No Data”. I ran mythfilldatabase manually and it reported Error 6400.

I shutdown Myth Backend and started it back up and ran the T.V grabber again but this time it reported Error 2304. Luckily someone else had the same problem and it had been solved on the Ubuntu Forums.

According to the `Zidane the problem is the script used to get the T.V schedule found invalid characters in the T.V schedule file and fell over and died. To fix it you:

Allow read and write access to the script:

sudo chmod a+w /usr/bin/tv_grab_uk_rt

Find the line:

/^(\d+)\|(.+)/ or die “Bad channel entry seen in RT channels.dat: $_”;

Comment it out with a #:

#/^(\d+)\|(.+)/ or die “Bad channel entry seen in RT channels.dat: $_”;

Add a new line below it which detects less “illegal” characters:

#/^(\d+)\|(.+)/ or die “Bad channel entry seen in RT channels.dat: $_”;
^(\d+)\|(.+)/ or next;

Save and exit the from editing the file and re-apply the file permission:
sudo chmod a-w /usr/bin/tv_grab_uk_rt

Re-run the fill database command and it should go back to normal.

XMLTV Error 2304 Ubuntu Forum Post

About Danny

I.T software professional always studying and applying the knowledge gained and one way of doing this is to blog. Danny also has participates in a part time project called Energy@Home [http://code.google.com/p/energyathome/] for monitoring energy usage on a premise. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny Tsang working in the field that he has aimed for since leaving school. View all posts by Danny → This entry was posted in Linux and tagged , . Bookmark the permalink.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.