XMLTV / xmltv

Utilities to obtain, generate, and post-process TV listings data in XMLTV format
GNU General Public License v2.0
269 stars 93 forks source link

tv_grab_fr : Can't call method "look_down" #176

Closed Media38 closed 2 years ago

Media38 commented 2 years ago

XMLTV Version? 1.1.1

XMLTV Component? tv_grab_fr

What happened? C:\Datas\XMLTv>xmltv.exe tv_grab_fr --config-file c:\datas\XMLTv\tv_grab_fr_Free.conf --output c:\datas\XMLTv\TVguideFREE.xml Timezone is +0200 Getting listings...: ##############Can't call method "look_down" on an undefined value at C:\Users\dufou\AppData\Local\Temp\par-6475666f75\cache-0403651db53b5d86433fa2980270b3bd52f1e717\inc/script/tv_grab_fr line 425.

I add these lines if (not defined $grid) { return; } after line 422 and it seems OK.

Is that correct ?

OS version :

Windows 10

honir commented 2 years ago

Can you try version 1.1.2 of XMLTV. If the problem still occurs please can you tell me on which bouquet and channel the problem occurs.

Media38 commented 2 years ago

I cannot do the test, because I am only tester and I do not have the development tools. I need a ".exe" or windows.

Best regards,

Jacques DUFOUR


De : Geoff @.> Envoyé : mardi 19 avril 2022 10:32 À : XMLTV/xmltv @.> Cc : Media38 @.>; Author @.> Objet : Re: [XMLTV/xmltv] tv_grab_fr : Can't call method "look_down" (Issue #176)

Can you try version 1.1.2 of XMLTV. If the problem still occurs please can you tell me on which bouquet and channel the problem occurs.

— Reply to this email directly, view it on GitHubhttps://github.com/XMLTV/xmltv/issues/176#issuecomment-1102288803, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AYTETXVMLCXVDKAWYBABJCTVFZVQ7ANCNFSM5TX2ISHA. You are receiving this because you authored the thread.Message ID: @.***>

knowledgejunkie commented 2 years ago

@Media38 Please use the updated 1.1.2 exe available at https://github.com/XMLTV/xmltv/releases/tag/v1.1.2

knowledgejunkie commented 2 years ago

I tested tv_grab_fr yesterday against the "Free" bouquet with all channels enabled and observed no failures.

However, even if things are working normally again, having sufficient "defensive coding" in a grabber to handle unexpected conditions is desirable.

Media38 commented 2 years ago

It's OK with 1.1.2 release for all my tests (Free, TNT, Belgium, ...). I let this issue open for seven days in case of the problem occurs with special datas on the site web the 19 of april.

Media38 commented 2 years ago

No more troubles with 1.1.2 release

honir commented 2 years ago

Duplicate of #174

melall commented 1 year ago

On Mac (10.14.6, Mojave) I got the same error but only in --slow mode:

$ tv_grab_fr --version
XMLTV module version 1.1.2
This is tv_grab_fr version 1.1.2
$ tv_grab_fr --days 1 --slow --output ~/.xmltv/fr-tv-listings-slow.xml
Getting listings...: Can't call method "look_down" on an undefined value at /opt/local/bin/tv_grab_fr line 637.

If I look to the end of the generated file I have:

  <channel id="tv5mondefbs.telestar.fr">
    <display-name lang="fr">TV5 MONDE FBS</display-name>

Which is the last channel in my configuration. This suggest we cannot grab the first program. With another configuration with all channels I get the same error. I used the "Free" configuration option.

Any idea on how to correct this?

honir commented 1 year ago

@melall Please can you open a new issue for this (it's not the same error).