Discussion:
[Xmltv-devel] [ xmltv-Bugs-3386337 ] tv_grav_fi xmltv returned error code 65280
SourceForge.net
2011-08-04 18:46:33 UTC
Permalink
Bugs item #3386337, was opened at 2011-08-04 21:46
Message generated for change (Tracker Item Submitted) made by jorkki22
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3386337&group_id=39046

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv_grab_fi
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jorkki22 (jorkki22)
Assigned to: Ville Ahonen (va1210)
Summary: tv_grav_fi xmltv returned error code 65280

Initial Comment:
tv_grab_fi seems to be failing due to bad data from telvis.fi

XMLTV config file has this channel defined: channel tvviisi.telvis.fi TV Viisi

Here is the error from mythfilldatabase:

2011-08-04 21:36:00.618 Refreshing data for Sat Aug 13 2011
2011-08-04 21:36:00.620 XMLTV config file is: /home/jonne/.mythtv/DVB.xmltv
Unmatched ( in regex; marked by <-- HERE in m/^Hale ja Pace ÂHauskat pojat ( <-- HERE klassikkosa\s+/ at /usr/bin/tv_grab_fi line 1072.
2011-08-04 21:36:23.361 FillData, Error: xmltv returned error code 65280
2011-08-04 21:36:23.363 Error in 34:13: unexpected end of file

The actual data from telvis seems to have an extra bracket sign in the header of the show data:
"18:30 Hale ja Pace –Hauskat pojat (klassikkosa"

~$ tv_grab_fi --version
XMLTV module version 0.5.59
This program version generated from
tv_grab_fi.pl 2.00 2011/03/10 21:20:11
common.pm 2.00 2011/03/10 21:20:11
day.pm 2.00 2011/03/10 21:20:11
programme.pm 2.00 2011/03/10 21:20:11
programmeStartOnly.pm 2.00 2011/03/10 21:20:11
mtv3.pm 2.00 2011/03/10 21:20:11
telkku.pm 2.00 2011/03/10 21:20:11
telvis.pm 2.00 2011/03/10 21:20:11
tvnyt.pm 2.01 2011/03/11 08:20:05
yle.pm 2.00 2011/03/10 21:20:11


I know the error is caused by the bad data, but could the tv_grab_fi be fixed to allow using brackets?


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3386337&group_id=39046
SourceForge.net
2011-08-06 00:10:16 UTC
Permalink
Bugs item #3386337, was opened at 2011-08-04 21:46
Message generated for change (Comment added) made by stefanb2
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3386337&group_id=39046

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv_grab_fi
Group: None
Status: Closed
Resolution: Fixed
Priority: 5
Private: No
Submitted By: Jorkki22 (jorkki22)
Assigned to: Stefan Becker (stefanb2)
Summary: tv_grav_fi xmltv returned error code 65280

Initial Comment:
tv_grab_fi seems to be failing due to bad data from telvis.fi

XMLTV config file has this channel defined: channel tvviisi.telvis.fi TV Viisi

Here is the error from mythfilldatabase:

2011-08-04 21:36:00.618 Refreshing data for Sat Aug 13 2011
2011-08-04 21:36:00.620 XMLTV config file is: /home/jonne/.mythtv/DVB.xmltv
Unmatched ( in regex; marked by <-- HERE in m/^Hale ja Pace ÂHauskat pojat ( <-- HERE klassikkosa\s+/ at /usr/bin/tv_grab_fi line 1072.
2011-08-04 21:36:23.361 FillData, Error: xmltv returned error code 65280
2011-08-04 21:36:23.363 Error in 34:13: unexpected end of file

The actual data from telvis seems to have an extra bracket sign in the header of the show data:
"18:30 Hale ja Pace –Hauskat pojat (klassikkosa"

~$ tv_grab_fi --version
XMLTV module version 0.5.59
This program version generated from
tv_grab_fi.pl 2.00 2011/03/10 21:20:11
common.pm 2.00 2011/03/10 21:20:11
day.pm 2.00 2011/03/10 21:20:11
programme.pm 2.00 2011/03/10 21:20:11
programmeStartOnly.pm 2.00 2011/03/10 21:20:11
mtv3.pm 2.00 2011/03/10 21:20:11
telkku.pm 2.00 2011/03/10 21:20:11
telvis.pm 2.00 2011/03/10 21:20:11
tvnyt.pm 2.01 2011/03/11 08:20:05
yle.pm 2.00 2011/03/10 21:20:11


I know the error is caused by the bad data, but could the tv_grab_fi be fixed to allow using brackets?


----------------------------------------------------------------------
Comment By: Stefan Becker (stefanb2)
Date: 2011-08-06 03:10

Message:
Fixed by patchset 4023

telvis.pm was using the extracted title string inside a substitution regex
without quoting.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3386337&group_id=39046
Loading...