Hi,
with the CVS version of XMLTV (0.5.45) I am getting
Code point \u0017 is not a valid character in XML at /usr/lib/perl5/site_perl/5.8.8/XMLTV.pm line 1757
error for checking day @ offset 6, date: Thu Jan 4 2007. A similar error occurs on
offset 2, date: Sun Dec 31 2006 as
Code point \u0008 is not a valid character in XML at /usr/lib/perl5/site_perl/5.8.8/XMLTV.pm line 1162
I thought that a similar problem used to happen a couple of months ago and that it got already fixed...
Thanks for any help
D
Logged In: NO
I also have this problem using version 2006.12.20.9!
credits element: not writing empty content for guest at /PerlApp/XMLTV.pm line 2090.
Code point \u0008 is not a valid character in XML at /PerlApp/XMLTV.pm line 1163
Can anyone tell me what to do??? Has it something to do with TV-Today ("tv_grab_de_tvtoday")???
Greetz,
Michael
Logged In: NO
addition: here is the part of the xml that seems to make trouble... Bye, Michael!
<programme start="20061231130000 +0100" stop="20061231142500 +0100" showview="2-047-677" channel="zdf.de">
<title lang="de">Didi auf vollen Touren</title>
<credits>
<director>Wigbert Wicker</director>
<actor>Bernard Menez</actor>
<actor>Dieter Hallervorden</actor>
Code point \u0008 is not a valid character in XML at /PerlApp/XMLTV.pm line 1163
<actor>
Logged In: NO
another addition:
http://programm.tvtoday.de/tv/programm/_popup/popup.php?key=20061231Ax1300xHSxfilxZDFx&sparte=fil
>> "...en, Evel..."
Logged In: YES
user_id=1679893
Originator: NO
Hi,
a quick and dirty workaround:
Index: XMLTV.pm.in
RCS file: /cvsroot/xmltv/xmltv/lib/XMLTV.pm.in,v
retrieving revision 1.126
diff -r1.126 XMLTV.pm.in
1162c1162,1170
< $w->dataElement($_, $person) if $w;
---
> # $w->dataElement($_, $person) if $w;
> if ($w) {
> eval { $w->dataElement($_, $person) };
> if ($@) {
> warn $@;
> $w->characters("Invalid text replaced");
> $w->endTag($_);
> }
> }
1758c1766,1773
< $w->dataElement($e, $text, lang => $lang) if $w;
---
> if ($w) {
> eval { $w->dataElement($e, $text, lang => $lang) };
> if ($@) {
> warn $@;
> $w->characters("Invalid text replaced");
> $w->endTag($e);
> }
> }
1761c1776,1783
< $w->dataElement($e, $text) if $w;
---
> if ($w) {
> eval { $w->dataElement($e, $text) };
> if ($@) {
> warn $@;
> $w->characters("Invalid text replaced");
> $w->endTag($e);
> }
> }
Logged In: YES
user_id=1583968
Originator: NO
First, it appears to me that everyone seeing this problem is using de_tvtoday.
This appears to be as a result of bad data in the program descriptions.
The following popup page has a Ctrl-H character in this text "Internet
serviert. ^H Obwohl der Film mit Edward":
http://programm.tvtoday.de/tv/programm/_popup/popup.php?key=20070120Ax2345xHSxfilxZDFx&sparte=fil
I made the following change:
*** tv_grab_de_tvtoday.in.orig 2006-08-01 18:38:25.000000000 +0200
--- tv_grab_de_tvtoday.in 2007-01-16 21:11:30.000000000 +0100
***************
*** 482,487 ****
--- 482,488 ----
$$str =~ s/\225/*/g; # Bullet
$$str =~ s/\226/-/g; # En Dash
$$str =~ s/\227/-/g; # Em Dash
+ $$str =~ s/.\010//g; # Backspace
return $str;
}
Logged In: YES
user_id=1602878
Originator: NO
tv_grab_de_tvtoday was removed from the XMLTV distribution on 2007-06-27 due to legal issues surrounding its use, and is no longer supported.
Folks have recommend a Prisma grabber: http://sfr.mythwiki.de/