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