Menu

#412 _it: be more robust on wrong data (cannot parse absurd date)

closed-accepted
tv_grab_it (2)
5
2010-10-25
2010-09-01
A Mennucc
No

hi,

sometimes some data that comes from the web is broken; for example in these days the command 'tv_grab_it' dies and prints
#cannot parse date '20109010004500' at /usr/share/perl/5.10/Memoize.pm line 247

We all agree that '20109010004500' is an absurd date , so there is no sensible way to parse it.

What I am asking is for a little change in the way these errors are managed: it would be better if xmltv , instead of dying ,would skip the wrong program, and go on, and produce a listing.

a.

Discussion

  • A Mennucc

    A Mennucc - 2010-09-01

    patch for tv_grab_it

     
  • A Mennucc

    A Mennucc - 2010-09-01

    hi, here is a patch for tv_grab_it . a.

     
  • Karl Dietz

    Karl Dietz - 2010-09-26
    • labels: 1140167 --> tv_grab_it
    • assigned_to: nobody --> mnbjhguyt
     
  • Karl Dietz

    Karl Dietz - 2010-10-25
    • summary: be more robust on wrong data, do not bail out abruptly --> _it: be more robust on wrong data
     
  • Karl Dietz

    Karl Dietz - 2010-10-25
    • summary: _it: be more robust on wrong data --> _it: be more robust on wrong data (cannot parse absurd date)
     
  • Davide Chiarini

    Davide Chiarini - 2010-10-25

    thanks, commited

     
  • Davide Chiarini

    Davide Chiarini - 2010-10-25
    • status: open --> closed-accepted
     

Log in to post a comment.

MongoDB Logo MongoDB