Subject: xmltv-util: 'tv_grab_na_dd' error: "... DATA DIRECT: ... startTime ... 0Z ... not in a valid format" Fix
Followup-For: Bug #384808
Package: xmltv-util
Version: 0.5.44-1

*** Please type your report below this line ***
I found the problem and the corrective action to fix this issue.

In the file tv_grab_na_dd at line 644

Change from:

$dd_data->print($soap->download("<startTime>$dd_start</startTime><endTime>$dd_stop</endTime>"));

Change to:

$dd_data->print($soap->download("<startTime xsi:type='tms:dateTime'>$dd_start</startTime><endTime xsi:type='tms:dateTime'>$dd_stop</endTime>"));

(Note: May not displayed properly. needs to be a single line same as the original)

Where:

startTime and endTime both need to have the definition added for "xsi:type='tms:dateTime'"

Reference, See:
http://docs.tms.tribune.com/tech/tmsdatadirect/zap2it/Z2LProtocols.pdf sheet 7 (page 6), Section 4.2.1 "Download requests", Table 6.

Luther Pollok, Jr.
Orlando, FL


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xmltv-util depends on:
ii libarchive-zip-perl 1.16-1 Module for manipulation of ZIP arc ii libcompress-zlib-perl 1.41-1 Perl module for creation and manip ii libdate-manip-perl 5.44-3 a perl library for manipulating da ii libhtml-parser-perl 3.55-1 A collection of modules that parse ii libhtml-tableextract-perl 2.07-0.1 Perl module that simplifies extrac ii libhtml-tree-perl 3.19.01-2 represent and create HTML syntax t ii libhttp-cache-transparent-per 0.7-1 Perl module used to transparently ii libio-stringy-perl 2.110-1 Perl5 modules for IO from scalars ii libsoap-lite-perl 0.68-1 Client and server side SOAP implem ii libterm-readkey-perl 2.30-3 A perl module for simple terminal ii libwww-mechanize-perl 1.18-1 Automate interaction with websites ii libwww-perl 5.805-1 WWW client/server library for Perl ii libxml-libxml-perl 1.59-2 Perl module for using the GNOME li ii libxml-parser-perl 2.34-4.1 Perl module for parsing XML files ii libxml-twig-perl 1:3.25-1 Perl module for processing huge XM ii libxml-writer-perl 0.600-3 Perl module for writing XML docume ii libxmltv-perl 0.5.44-1 Perl libraries related to the XMLT ii perl 5.8.8-6.1 Larry Wall's Practical Extraction
ii  perl-modules                  5.8.8-6.1  Core Perl modules

Versions of packages xmltv-util recommends:
pn  liblingua-preferred-perl      <none>     (no description available)
ii libterm-progressbar-perl 2.09-4 Perl module to print a progress ba
pn  libtext-kakasi-perl           <none>     (no description available)
pn  libunicode-string-perl        <none>     (no description available)

-- no debconf information



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to