Menu

#526 tv_grab_uk_tvguide DateTime::from_epoch(.., .., undef) throws exception

none
closed-fixed
Geoff
uk_tvguide (1)
5
2018-10-31
2018-10-20
emused
No

I'm seeing grabs fail for more and more channels when an exception is thrown. Channels that failed today: 601, 605, 993. The page for 605, https://my.tvguide.co.uk/channellisting.asp?ch=605 is attached. --debug output

...
Fetching https://www.tvguide.co.uk/detail/2823232/143502338/journey-back-to-christmas from server.
Validation failed for type named Num declared in package Specio::Library::Builtins (/usr/share/perl5/Specio/Library/Builtins.pm) at line 139 in sub named (eval) with value undef

Trace begun at Specio::Exception->new line 57
Specio::Exception::throw('Specio::Exception', 'message', 'Validation failed for type named Num declared in package Specio::Library::Builtins (/usr/share/perl5/Specio/Library/Builtins.pm) at line 139 in sub named (eval) with value undef', 'type', 'Specio::Constraint::Simple=HASH(0x5592a1fd3c28)', 'value', undef) called at (eval 219) line 88
DateTime::_check_from_epoch_params('epoch', undef) called at /usr/lib/x86_64-linux-gnu/perl5/5.26/DateTime.pm line 481
DateTime::from_epoch('DateTime', 'epoch', undef) called at /usr/bin/tv_grab_uk_tvguide line 395
main::fetch_listings at /usr/bin/tv_grab_uk_tvguide line 130

1 Attachments

Discussion

  • Geoff

    Geoff - 2018-10-31

    Thanks for the report.

    The issue was with the rebranding of channels to include "Christmas" e.g. Christmas 24, True Christmas.

    This is now fixed on github:
    https://github.com/XMLTV/xmltv/blob/master/grab/uk_tvguide/tv_grab_uk_tvguide

    Please can you raise any future issues on GH as the repository is maintained there now rather that on SF.

    Thanks.

     
  • Geoff

    Geoff - 2018-10-31
    • labels: --> uk_tvguide
    • status: open --> closed-fixed
    • assigned_to: Geoff
     

Log in to post a comment.