Author |
Message |
stevegoodey
|
Posted: Sun Oct 28, 2007 7:17 am |
|
Joined: Mon May 01, 2006 5:07 am
Posts: 17
Location:
Colchester, England
|
Hello,
Last few days getting error message from mythfilldatabase:-
Quote: http://xmltv.radiotimes.com/xmltv/160.dat: Code point \u0000 is not a valid character in XML at /usr/share/perl5/XMLTV.pm line 1757
Found a fix at:-
http://www.gossamer-threads.com/lists/mythtv/users/228477
Regards, Steve.
|
|
Top |
|
 |
Algenon
|
Posted: Tue Oct 30, 2007 3:43 pm |
|
Joined: Tue Dec 13, 2005 3:13 pm
Posts: 43
Location:
Leicestershire, UK
|
I have only 3 days program data left. I would appear that the server (xmltv.radiotime.com) is not responding to requests. Is any one else suffering this problem?
Algenon.
_________________ Dragon without HDTV card, PVR350, PAL-UK
|
|
Top |
|
 |
stevegoodey
|
Posted: Tue Oct 30, 2007 4:50 pm |
|
Joined: Mon May 01, 2006 5:07 am
Posts: 17
Location:
Colchester, England
|
With the fix at the top of this page an update ran this morning with no problems. Are you getting the same error message? Have you tried the fix mentioned?
Regards, Steve
|
|
Top |
|
 |
Algenon
|
Posted: Wed Oct 31, 2007 12:26 pm |
|
Joined: Tue Dec 13, 2005 3:13 pm
Posts: 43
Location:
Leicestershire, UK
|
Hi Steve,
my error is not the same as yours, see the output of running mythfilldatabase:
Code: root@mythtv2:/usr/bin# mythfilldatabase 2007-10-31 18:29:40.719 Using runtime prefix = /usr 2007-10-31 18:29:40.801 New DB connection, total: 1 2007-10-31 18:29:40.807 Connected to database 'mythconverg' at host: localhost 2007-10-31 18:29:40.813 New DB connection, total: 2 2007-10-31 18:29:40.814 Connected to database 'mythconverg' at host: localhost 2007-10-31 18:29:40.854 Updating source #2 (RadioTimesUK) with grabber tv_grab_uk_rt 2007-10-31 18:29:40.855 Found 121 channels for source 2 which use grabber 2007-10-31 18:29:40.873 Grabber has capabilities: baseline manualconfig cache share preferredmethod 2007-10-31 18:29:40.882 Grabber prefers method: allatonce 2007-10-31 18:29:40.883 New DB connection, total: 3 2007-10-31 18:29:40.884 Connected to database 'mythconverg' at host: localhost 2007-10-31 18:29:40.886 Grabber Command: nice tv_grab_uk_rt --config-file '/root/.mythtv/RadioTimesUK.xmltv' --output /tmp/mythc28xea 2007-10-31 18:29:40.886 ----------------- Start of XMLTV output -----------------
All data is the copyright of the Radio Times website <http://www.radiotimes.com> and the use of this data is restricted to personal use only.
Retrieving channels Use of uninitialized value in hash element at /usr/bin/tv_grab_uk_rt line 224. Use of uninitialized value in pattern match (m//) at /usr/bin/tv_grab_uk_rt line 224. RT id 2047 (Channel 4+1) not known in XMLTV channel_ids file Use of uninitialized value in hash element at /usr/bin/tv_grab_uk_rt line 224. Use of uninitialized value in pattern match (m//) at /usr/bin/tv_grab_uk_rt line 224. RT id 2049 (Virgin 1) not known in XMLTV channel_ids file Use of uninitialized value in hash element at /usr/bin/tv_grab_uk_rt line 224. Use of uninitialized value in pattern match (m//) at /usr/bin/tv_grab_uk_rt line 224. RT id 2050 (Dave) not known in XMLTV channel_ids file Use of uninitialized value in hash element at /usr/bin/tv_grab_uk_rt line 224. Use of uninitialized value in pattern match (m//) at /usr/bin/tv_grab_uk_rt line 224. RT id 2051 (Dave +1) not known in XMLTV channel_ids file Channel plus-1.g2.uktv.flextech.telewest.co.uk (1871) not seen on RT site Channel uk-gold-2.flextech.telewest.co.uk (289) not seen on RT site Channel privateblue.com (1992) not seen on RT site Channel adventure-one.nationalgeographic.co.uk mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel theamp.tv mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel plus-1.uk.cartoonnetwork.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel C1943.radiotimes.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel C1981.radiotimes.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel kids.discoveryeurope.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel wings.discoveryeurope.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel C1961.radiotimes.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel foxkids.co.uk mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel plus-1.foxkids.co.uk mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel C1959.radiotimes.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel C1972.radiotimes.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel C1958.radiotimes.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel C1948.radiotimes.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel C1949.radiotimes.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel mix.skyone.co.uk mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel C1950.radiotimes.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel C1951.radiotimes.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel C1956.radiotimes.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel C1955.radiotimes.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel Toonami.cartoonnetwork.com mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel uk-gold-2.flextech.telewest.co.uk mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Channel plus-1.g2.uktv.flextech.telewest.co.uk mentioned in /root/.mythtv/RadioTimesUK.xmltv but not on RT site Retrieving listings http://xmltv.radiotimes.com/xmltv/160.dat: Code point \u0000 is not a valid character in XML at /usr/share/perl/5.8/XMLTV.pm line 1757 2007-10-31 18:32:42.099 ------------------ End of XMLTV output ------------------ 2007-10-31 18:32:42.100 FAILED: xmltv returned error code 65280. Error in 102021:21: unexpected end of file 2007-10-31 18:32:45.507 Updating icons for sourceid: 2 2007-10-31 18:32:45.694 New DB connection, total: 4 2007-10-31 18:32:45.694 Connected to database 'mythconverg' at host: localhost 2007-10-31 18:32:45.695 No programs found in data. 2007-10-31 18:32:45.848 New DB connection, total: 5 2007-10-31 18:32:45.848 Connected to database 'mythconverg' at host: localhost 2007-10-31 18:32:45.850 Failed to fetch some program info 2007-10-31 18:32:45.850 Adjusting program database end times. 2007-10-31 18:32:45.941 0 replacements made 2007-10-31 18:32:45.941 Marking generic episodes. 2007-10-31 18:32:46.103 Found 0 2007-10-31 18:32:46.104 Marking repeats. 2007-10-31 18:32:46.270 Found 0 2007-10-31 18:32:46.270 Unmarking new episode rebroadcast repeats. 2007-10-31 18:32:46.430 Found 0 2007-10-31 18:32:46.701 Marking episode first showings. 2007-10-31 18:32:49.263 Found 3236 2007-10-31 18:32:49.263 Marking episode last showings. 2007-10-31 18:32:51.829 Found 3236 2007-10-31 18:32:51.864 =============================================================== | Attempting to contact the master backend for rescheduling. | | If the master is not running, rescheduling will happen when | | the master backend is restarted. | =============================================================== 2007-10-31 18:32:51.867 Connecting to backend server: 127.0.0.1:6543 (try 1 of 5) 2007-10-31 18:32:51.868 Using protocol version 31 2007-10-31 18:32:52.034 mythfilldatabase run complete. 2007-10-31 18:32:52.046 DataDirect: Deleting temporary files root@mythtv2:/usr/bin#
Any thoughts?
_________________ Dragon without HDTV card, PVR350, PAL-UK
|
|
Top |
|
 |
slowtolearn
|
Posted: Wed Oct 31, 2007 12:41 pm |
|
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location:
Farmington, MI USA
|
Algenon wrote: Hi Steve,
my error is not the same as yours, see the output of running mythfilldatabase: I'm no expert on RadioTimes, but Algenon wrote: Code: ... http://xmltv.radiotimes.com/xmltv/160.dat: Code point \u0000 is not a valid character in XML at /usr/share/perl/5.8/XMLTV.pm line 1757 ... seems like the same error to me...
|
|
Top |
|
 |
stevegoodey
|
Posted: Wed Oct 31, 2007 1:00 pm |
|
Joined: Mon May 01, 2006 5:07 am
Posts: 17
Location:
Colchester, England
|
Algenon,
From your output:-
Quote: Retrieving listings http://xmltv.radiotimes.com/xmltv/160.dat: Code point \u0000 is not a valid character in XML at /usr/share/perl/5.8/XMLTV.pm line 1757 2007-10-31 18:32:42.099 ------------------ End of XMLTV output ------------------
Error message looks the same as from my original post.
I can only suggest you try the fix in my first post. I have done this and listing are now being retrieved OK.
Afraid you're going to have to get your hands dirty on the command line, else wait for the problem to drop out of the listings.
Steve
Last edited by stevegoodey on Wed Oct 31, 2007 2:15 pm, edited 1 time in total.
|
|
Top |
|
 |
Algenon
|
Posted: Wed Oct 31, 2007 1:32 pm |
|
Joined: Tue Dec 13, 2005 3:13 pm
Posts: 43
Location:
Leicestershire, UK
|
Ok guys, your are right. Now how to change this file? Do I just insert the following lines:
Code: s/—/--/g; s/…/.../g; >>ADD s/\000\000/../g; decode_entities $_;
after line 351 in /usr/bin/tv_grab_uk_rt?
Algenon
_________________ Dragon without HDTV card, PVR350, PAL-UK
|
|
Top |
|
 |
stevegoodey
|
Posted: Wed Oct 31, 2007 2:13 pm |
|
Joined: Mon May 01, 2006 5:07 am
Posts: 17
Location:
Colchester, England
|
Just the line marked ADD, the line numbers maybe slightly different
>>ADD s/\000\000/../g;
so the file should read
s/—/--/g;
s/…/.../g;
s/\000\000/../g;
decode_entities $_;
MAKE SURE YOU BACKUP THE ORIGINAL FILE
change directory into /usr/bin make sure you're root
cp tv_grab_uk_rt tv_grab_uk_rt_original
then edit tv_grab_uk_rt to add the above line.
Treat the above with caution, I'm no expert
Steve
|
|
Top |
|
 |
Algenon
|
Posted: Wed Oct 31, 2007 3:06 pm |
|
Joined: Tue Dec 13, 2005 3:13 pm
Posts: 43
Location:
Leicestershire, UK
|
Thanks Steve,
I've added the third line down i.e. s/\000\000/../g;
Code: s/—/--/g; s/…/.../g; s/\000\000/../g; decode_entities $_; tr/\207\211\200\224/\347\311\055\055/; # bad characters
The error code has gone now, but I think xmltv have locked me out the site for today, probably tried running mythfilldatabase too many times! I'll try again tomorrow and feedback.
Algenon.
_________________ Dragon without HDTV card, PVR350, PAL-UK
|
|
Top |
|
 |
stevegoodey
|
Posted: Wed Oct 31, 2007 3:39 pm |
|
Joined: Mon May 01, 2006 5:07 am
Posts: 17
Location:
Colchester, England
|
Hope it works, let us know.
Steve
|
|
Top |
|
 |
Algenon
|
Posted: Thu Nov 01, 2007 12:18 pm |
|
Joined: Tue Dec 13, 2005 3:13 pm
Posts: 43
Location:
Leicestershire, UK
|
Hi Steve,
The fixed worked. Thanks very much.
Algenon.
_________________ Dragon without HDTV card, PVR350, PAL-UK
|
|
Top |
|
 |
stevegoodey
|
Posted: Thu Nov 01, 2007 2:31 pm |
|
Joined: Mon May 01, 2006 5:07 am
Posts: 17
Location:
Colchester, England
|
Excellent, glad it worked.
Now, according to the post that contained the fix:-
Quote: Now, all of that said, there may very well be a legitimate use of a sequence of two nulls in Unicode (eg, for 3 or 4 byte wide characters), so this kludge can't stay in - it replaces the nulls without regard for their context in the file.
OK that goes straight over my head  So, I suppose we should wait a few days then try running the grab without the fix in.
Steve
|
|
Top |
|
 |