Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100926 - xmltv fails to download TV information (tv_grab_de_tvtoday)
Summary: xmltv fails to download TV information (tv_grab_de_tvtoday)
Status: RESOLVED DUPLICATE of bug 95166
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Television related Applications in Gentoo's Portage
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-31 13:21 UTC by Stephan Hässelbarth
Modified: 2007-03-21 21:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild with epatch command (xmltv-0.5.39.ebuild,7.41 KB, text/plain)
2005-09-06 14:01 UTC, Christoph Vogtländer
Details
tv_grab_de_tvtoday.patch (tv_grab_de_tvtoday.patch,8.99 KB, patch)
2005-09-06 14:01 UTC, Christoph Vogtländer
Details | Diff
modified patch that works for both 0.5.37 and 0.5.39 ebuilds (tv_grab_de_tvtoday.patch,8.54 KB, patch)
2005-09-12 17:35 UTC, Horst Schirmeier
Details | Diff
patch for xmltv 0.5.40 (tv_grab_de_tvtoday.in-0.5.40.patch,5.81 KB, patch)
2005-09-12 17:49 UTC, Horst Schirmeier
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Hässelbarth 2005-07-31 13:21:51 UTC
tv_grab_de_tvtoday (in xmltv_0.37-r1 and 0.39) fails to download program
information.

Reproducible: Always
Steps to Reproduce:
1. run tv_grab_de_tvtoday | tv_sort > .tvtime/[some file].xml
2.
3.

Actual Results:  
The program aborted with the following error message:

using config filename /home/ingo/.xmltv/tv_grab_de_tvtoday.conf
getting list of channels: ##################################################
grabbing: Can't call method "look_down" on an undefined value at
/usr/bin/tv_grab_de_tvtoday line 462.
-: 
no element found at line 4, column 195, byte 273 at
/usr/lib/perl5/vendor_perl/5.8.2/i686-linux/XML/Parser.pm line 187


Expected Results:  
TV program information should be downloaded by xmltv without an error.

emerge info:

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4,
glibc-2.3.4.20041102-r1, 2.6.12-ge             ntoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(TM) XP 1800+
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -mfpmath=sse -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/             kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr   
         /share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texm             f/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /v        
    ar/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -mfpmath=sse -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.blueyonder.co.uk/mirrors/gentoo
http://gentoo.zie.pg.gda.pl ftp:            
//linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://gentoo.blueyonder.co.uk
http://ftp.belnet             .be/mirror/rsync.gentoo.org/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp:            
//sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://gd.tuwien.ac.at/opsys/linux/gento             o/"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac aalib acl acpi alsa apm arts audiofile avi
bash-completion berkdb bitmap-fonts bluetooth bonobo caps ccache cdda cddb
cdparanoia cdr crypt cups curl dga directfb divx4linux dnd dpms dvd dvdread
emacs encode esd faad fam firefox flac foomatic foomaticdb fortran gd gdbm gif
gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imap imlib ipv6 java jpeg     
        kde lcms ldap lesstif libg++ libwww mad maildir matroska memlimit mikmod
mmx motif mozilla mp3 mpeg mysql ncurses nls nptl odbc ogg oggvorbis opengl oss
pam pdflib perl pic png ppds python qt quicktime readline ruby samba scanner sdl
slang snmp speex spell ssl svg svga tcpd tetex tiff truetype truetype-fonts
type1-fonts unicode usb vorbis wxwindows xine xinetd xml xml2 xmms xv zlib
fritzcapi_cards_fcpci video_cards_nvidia linguas_de userland_GNU kernel_linux e
            libc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Manuel Bernhardt 2005-08-02 13:23:56 UTC
Please commit the cvs-version of tv_grab_tvtoday to gentoo portage. Further
details about this problem can found on
http://sourceforge.net/tracker/index.php?func=detail&aid=1246665&group_id=39046&atid=424135
Comment 2 Maik-Oliver Rutz 2005-08-06 00:37:04 UTC
tv_grab_de_tvtoday from cvs still produces some errors here but at least the
tv-program is grabbed again.

Comment 3 Christoph Vogtländer 2005-09-06 13:59:22 UTC
I've made a patch against tv_grab_de_tvtoday.in and modified the 
xmltv-0.5.39.ebuild to apply the patch. Nothing special, but it seems to work 
without any errors. 
Comment 4 Christoph Vogtländer 2005-09-06 14:01:00 UTC
Created attachment 67766 [details]
Ebuild with epatch command
Comment 5 Christoph Vogtländer 2005-09-06 14:01:41 UTC
Created attachment 67767 [details, diff]
tv_grab_de_tvtoday.patch
Comment 6 Horst Schirmeier 2005-09-12 13:38:42 UTC
This bug is perfectly reproducible here.

The modified ebuild with upstream patch works as expected here; please consider
modifying the existing ~x86 (and possibly also x86) ebuilds as suggested (this
problem is already fixed in upstream CVS). The original tv_grab_de_tvtoday
_cannot_ work anymore as the tvtoday.de people changed their web interface.

Though I'd suggest applying the patch in src_unpack() instead of src_compile(),
as suggested in ebuild(5) and http://dev.gentoo.org/~plasmaroo/devmanual/ -- ie.

src_unpack() {
    unpack "${A}"
    epatch ${FILESDIR}/tv_grab_de_tvtoday.patch
}
Comment 7 Horst Schirmeier 2005-09-12 17:35:02 UTC
Created attachment 68316 [details, diff]
modified patch that works for both 0.5.37 and 0.5.39 ebuilds

This patch is slightly modified: I removed hunk #1 which addressed only a CVS
$Id$ line. This one works for both the x86 (0.5.37) and ~x86 (0.5.39) version
of xmltv.
Comment 8 Horst Schirmeier 2005-09-12 17:49:43 UTC
Created attachment 68318 [details, diff]
patch for xmltv 0.5.40

This one is again slightly modified for xmltv 0.5.40:

a) It's in unified (diff -u) format.
b) Last hunk removed, this change is already in v0.5.40.

Btw, there isn't an ebuild for xmltv 0.5.40 yet (which was released June(!) 3,
2005); simply copying the 0.5.39 ebuild works seamlessly, and with the attached
patch applied also grab_de_tvtoday works.
Comment 9 Doug Goldstein (RETIRED) gentoo-dev 2005-12-25 22:29:15 UTC

*** This bug has been marked as a duplicate of 95166 ***