XmltvWindowsExecutable

From XMLTV
Revision as of 15:14, 16 July 2008 by Jamesj (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Windows executable for XMLTV

The XMLTV software is written in Perl and requires a working Perl installation and several modules. This is asking a lot on Windows, so we have a binary distribution (xmltv.exe) made using a tool from Activestate. (Using Autrijus Tang's packaging tool instead is something we'd like to do but have never quite gotten around to.)

Mostly, you can use it the same way as normal, but instead of tvgrabfoo args you type xmltv.exe tvgrabfoo args.

Common problems

If a grabber won't fetch web pages, it could be because of the 'protocols file' in Windows. If you do install perl, you can test with

perl -MLWP::Simple -e "LWP::Simple::getprint 'http://www.google.com/'"

If this says "Bad protocol 'tcp'" then probably the file C:\windows\system32\drivers\etc\protocol is bad or missing. Its contents should normally look like

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This file contains the Internet protocols as defined by RFC 1700
# (Assigned Numbers). 
#
# Format:
#
#     [aliases...]  

ip       0    IP         # Internet protocol
icmp      1   ICMP    # Internet control message protocol
ggp     3     GGP       # Gateway-gateway protocol
tcp     6     TCP       # Transmission control protocol
egp     8     EGP       # Exterior gateway protocol
pup     12   PUP        # PARC universal packet protocol
udp     17   UDP        # User datagram protocol
hmp     20   HMP        # Host monitoring protocol
xns-idp  22  XNS-IDP  # Xerox NS IDP
rdp     27   RDP        # "reliable datagram" protocol
rvd     66   RVD        # MIT remote virtual disk

You can try to create the file manually, or perhaps try the command:

netsh int ip reset "c:\log.txt"

or try to uninstall and reinstall TCP/IP from Control Panel. See bug #901963.