Discussion:
[Xmltv-devel] [ xmltv-Bugs-3372328 ] tv_grab_huro: lots of uninitialized variable warnings
SourceForge.net
2011-07-20 12:33:52 UTC
Permalink
Bugs item #3372328, was opened at 2011-07-20 14:33
Message generated for change (Tracker Item Submitted) made by lucianm
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3372328&group_id=39046

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv_grab_huro
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Lucian Muresan (lucianm)
Assigned to: Zsolt Bagoly (zbagoly)
Summary: tv_grab_huro: lots of uninitialized variable warnings

Initial Comment:
Using a command line like:
tv_grab_huro --config-file ./tv_grab_huro.conf --slow --get-full-description --icons --local-icons ./icons --output ./RO_tmp.xml

will give lots of these warnings like:
http://www.port.ro/pls/tv/tv.channel?i_ch=10001&i_date=20110719&i_xday=5&i_where=1: Use of uninitialized value in string ne at /usr/bin/tv_grab_huro line 1067.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3372328&group_id=39046
SourceForge.net
2011-08-05 09:15:43 UTC
Permalink
Bugs item #3372328, was opened at 2011-07-20 14:33
Message generated for change (Comment added) made by ullmus
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3372328&group_id=39046

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tv_grab_huro
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Lucian Muresan (lucianm)
Assigned to: Zsolt Bagoly (zbagoly)
Summary: tv_grab_huro: lots of uninitialized variable warnings

Initial Comment:
Using a command line like:
tv_grab_huro --config-file ./tv_grab_huro.conf --slow --get-full-description --icons --local-icons ./icons --output ./RO_tmp.xml

will give lots of these warnings like:
http://www.port.ro/pls/tv/tv.channel?i_ch=10001&i_date=20110719&i_xday=5&i_where=1: Use of uninitialized value in string ne at /usr/bin/tv_grab_huro line 1067.

----------------------------------------------------------------------

Comment By: nagy ullmus (ullmus)
Date: 2011-08-05 11:15

Message:
most likely the following is returning undef:

-------------Code---------------

$anchor->parent->attr('width')

--------------------------------

in block of code:

-------------Code---------------

return if ($#separators < 1);

($anchor) = $separators[1];
if ($anchor->parent()->tag() ne "td" || $anchor->parent->attr('width') ne
"98%") {
t "credits section not found";
return;
}

--------------------------------

possible solution:

if ([ ! $anchor->parent()->tag('td') ] || $anchor->parent->attr('width')
ne "98%")




----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=424135&aid=3372328&group_id=39046
Loading...