tv_extractinfo_en problem again!

Gunga Din II <[email protected]>
Newsgroups gmane.comp.tv.xmltv.general
Organization Little or None
Message-ID <[email protected]>
Hi Nick,

Hope you've finished the bathroom, because....

tv_extractinfo_en seems to be crashing again, but since last time I've learnt 
a bit about debugging it, so I have some better information for you :-)

I saw the error while it was "munging", so I uncommented the logging line in 
the "munge" subroutine, and found this.

These are the last few lines of the trace before the crash...
==================================================
testing word 2.75 at position 37
word is '2.75'
trying 2.75 as 24 hour time
found a time that interprets: 2:75
Can't use an undefined value as an ARRAY reference at 
/usr/lib/perl5/site_perl/5.10.1/Date/Manip/DM6.pm line 509.
==================================================

The offending program data is as follows...
==================================================
<programme start="20110425140000 +0100" stop="20110425150000 +0100" 
channel="dave.uktv.co.uk">
    <title>James May's Toy Stories</title>
    <sub-title>Scalextric</sub-title>
    <desc lang="en">The Top Gear presenter sets out to re-create the famous 
banked Brooklands track in Surrey, using only Scalextric pieces. Toy 
enthusiasts join James as he puts together 20,000 sections of track over the 
original 2.75-mile circuit, and local residents pit their racing skills 
against a team from the official Scalextric Club.</desc>
    <category lang="en">Documentary</category>
    <episode-num system="xmltv_ns">0 . 3/6 . </episode-num>
    <video>
      <quality>SDTV</quality>
    </video>
    <subtitles type="teletext" />
</programme>
==================================================

Looks like tv_extactinfo_en is interpreting the 2.75 as a time, and as an 
illegal one? Should it be trying to work out times from the <desc> field
in the first place?!?!

Hope this helps!

All the best,
gunga

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.