Menu

#399 _ch_search: date problem with --slow

closed-fixed
5
2010-10-25
2010-03-23
Anonymous
No

Just upgraded to Ubuntu 10.04 beta and I have problems with grabbers tv_grab_fr and tv_grab_ch_search... both crash with an error involving date:

tv_grab_fr : "date_to_local() expects a Date::Manip object as first argument at /usr/share/perl/5.10/Memoize.pm line 247"

tv_grab_ch_search : "cannot parse date '03. 23.2010 09:00' at /usr/share/perl/5.10/Memoize.pm line 247"

My libdate-manip-perl is 6.05

Discussion

  • Francois Gouget

    Francois Gouget - 2010-03-23

    > tv_grab_fr : "date_to_local() expects a Date::Manip object as first
    > argument at /usr/share/perl/5.10/Memoize.pm line 247"

    I also get this error but I have not figured it out yet. So if someone has an idea...

     
  • Francois Gouget

    Francois Gouget - 2010-03-23

    I figured it out. One of the programs that cause trouble is this one:
    http://telepoche.guidetele.com/programmes-tv/emission/32404484/telepoche/nuit/2010-03-27

    According to that page it starts at 1h30 am and lasts 50 minutes so we compute an end time of 2h20. This differs from the time on the grid page (3h20) so we override it. However that's the day we move the clocks forward by one hour at 2am, so 2h20 am does not exist. This causes
    DST::parse_local_date() to fail and thus DST::date_to_local() to get a bad value.

    Not sure how to fix it though.

     
  • Nick Morrott

    Nick Morrott - 2010-03-28
    • assigned_to: nobody --> knowledgejunkie
    • status: open --> open-fixed
     
  • Nick Morrott

    Nick Morrott - 2010-03-28

    These issues should be resolved by the patches just committed to update DST handling with newer versions of Date::Manip.

    The _fr grabber now outputs the following for the problematic episode of Law and Order you mentioned:

    <programme start="20100328013000 +0100" stop="20100328032000 +0200" channel="C1.telepoche.com">
    <title>New York, police judiciaire</title>

    Please retest with current CVS and report back. I'll mark this issue as fixed (as both grabbers now pass validation) but will leave the ticket open for the timebeing.

    A new release of XMLTV is likely within the next week.

     
  • Nick Morrott

    Nick Morrott - 2010-03-28
    • labels: --> 1107023
     
  • Nick Morrott

    Nick Morrott - 2010-03-28
    • labels: 1107023 --> 1368304
     
  • Anonymous

    Anonymous - 2010-04-12

    Thanks for fixing tv_grab_fr (which works well now) but tv_grab_ch_search still doesn't work, I keep getting the same error...

     
  • Andreas Baumann

    Andreas Baumann - 2010-04-12

    tv_grab_search_ch started to work again yesterday for me.
    I suspect the wrong date/time entry causing Date::Manip to croak went away after some weeks
    of causing problems.

     
  • Nobody/Anonymous

    I'm still getting the error now... What is the latest version of the grabber?

     
  • Anonymous

    Anonymous - 2010-04-12

    @andreas_baumann:

    can you test the grabber using the --slow option? Without it it runs fine for me too...

     
  • Andreas Baumann

    Andreas Baumann - 2010-04-14

    I'm using xmltv 0.5.56-1 on arch:

    Calling it without arguments works ok.

    Calling it with --slow:

    /usr/bin/perlbin/vendor/tv_grab_ch_search --slow > slow.xml
    using config filename /home/vdr/.xmltv/tv_grab_ch_search.conf
    getting list of channels: ##################################################
    grabbing channels : cannot parse date '04. 14.2010 09:00' at /usr/share/perl5/core_perl/Memoize.pm line 247

     
  • Nick Morrott

    Nick Morrott - 2010-04-23
    • labels: 1368304 --> tv_grab_ch_search
    • assigned_to: knowledgejunkie --> betlit
    • summary: Date problem with tv_grab_fr and tv_grab_ch_search --> Date problem with tv_grab_ch_search --slow
    • status: open-fixed --> open-accepted
     
  • Nobody/Anonymous

    Using CSV with xmltv 0.6.57 and calling tv_grab_ch_search --slow gives still the following error:

    <channel id="prosieben.ch">
    <display-name lang="de">Pro7</display-name>
    grabbing channels : cannot parse date '08. 14.2010 06:20' at /usr/lib/perl5/5.12.1/Memoize.pm line 247

    Is the additional withe space after the month "08." and befor the rest of the date "14.2010" maybe the reason?

    When running without the --slow options the output is without a withe space between month and day:
    <channel id="prosieben.ch">
    <display-name lang="de">Pro7</display-name>
    grabbing channels : </channel>
    <programme start="20100814062000 +0200" channel="ard.de">

    I upgraded Date::Manip to the newest version but it did not change the outcome.
    Without the "--slow" options it runs flawless.

     
  • Karl Dietz

    Karl Dietz - 2010-10-25

    closing as fixed as
    _fr has been fixed in march
    _ch_search has been rebuilt last week, --slow is no more

     
  • Karl Dietz

    Karl Dietz - 2010-10-25
    • summary: Date problem with tv_grab_ch_search --slow --> _ch_search: date problem with --slow
    • status: open-accepted --> closed-fixed
     

Log in to post a comment.