Skip Menu |

This queue is for tickets about the HTML-TableExtract CPAN distribution.

Report information
The Basics
Id: 121920
Status: open
Priority: 0/
Queue: HTML-TableExtract

People
Owner: Nobody in particular
Requestors: KENTNL [...] cpan.org
SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 2.15
Fixed in: (no value)



Subject: t/30_tree.t fails if HTML::ElementTable is installed
On some of my smokers 30_tree.t fails: ... Use of uninitialized value $ptag in string eq at /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/TreeBuilder.pm line 341. Use of uninitialized value $ptag in string eq at /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/TreeBuilder.pm line 349. Use of uninitialized value in string eq at /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/Element.pm line 2649. Use of uninitialized value in string eq at /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/Element.pm line 2649. Use of uninitialized value in hash element at /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/Element.pm line 2656. Use of uninitialized value $ptag in string eq at /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/TreeBuilder.pm line 1071. (snip) # Failed test 'mass html comp' # at t/30_tree.t line 53. # got: '<html></html>' # expected: '<html><head><title>gnarly table</title></head><body><table border=1><tr><td colspan=4 rowspan=1>(0,0) [1,4]</td><td colspan=4 rowspan=2>(0,1) [2,4]</td></tr><tr><td colspan=1 rowspan=2>(1,0) [2,1]</td><td colspan=1 rowspan=1>(1,1) [1,1]</td><td colspan=2 rowspan=1>(1,2) [1,2]</td></tr><tr><td colspan=4 rowspan=2>(2,0) [2,4]</td><td colspan=2 rowspan=2>(2,1) [2,2]</td><td colspan=1 rowspan=1>(2,2) [1,1]</td></tr><tr><td colspan=1 rowspan=1>(3,0) [1,1]</td><td colspan=1 rowspan=1>(3,1) [1,1]</td></tr><tr><td colspan=2 rowspan=3>(4,0) [3,2]</td><td colspan=1 rowspan=1>(4,1) [1,1]</td><td colspan=1 rowspan=3>(4,2) [3,1]</td><td colspan=4 rowspan=4>(4,3) [4,4]</td></tr><tr><td colspan=1 rowspan=1>(5,0) [1,1]</td></tr><tr><td colspan=1 rowspan=1>(6,0) [1,1]</td></tr><tr><td colspan=4 rowspan=1>(7,0) [1,4]</td></tr></table></body></html>' (snip) # Looks like you failed 1 test of 126. t/30_tree.t .......... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/126 subtests This seems to happen only if HTML::ElementTable is installed.
On Sun May 28 09:12:56 2017, SREZIC wrote: Show quoted text
> On some of my smokers 30_tree.t fails: > > ... > Use of uninitialized value $ptag in string eq at > /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/TreeBuilder.pm line 341. > Use of uninitialized value $ptag in string eq at > /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/TreeBuilder.pm line 349. > Use of uninitialized value in string eq at > /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/Element.pm line 2649. > Use of uninitialized value in string eq at > /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/Element.pm line 2649. > Use of uninitialized value in hash element at > /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/Element.pm line 2656. > Use of uninitialized value $ptag in string eq at > /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/TreeBuilder.pm line 1071. > (snip) > # Failed test 'mass html comp' > # at t/30_tree.t line 53. > # got: '<html></html>' > # expected: '<html><head><title>gnarly > table</title></head><body><table border=1><tr><td colspan=4 > rowspan=1>(0,0) [1,4]</td><td colspan=4 rowspan=2>(0,1) > [2,4]</td></tr><tr><td colspan=1 rowspan=2>(1,0) [2,1]</td><td > colspan=1 rowspan=1>(1,1) [1,1]</td><td colspan=2 rowspan=1>(1,2) > [1,2]</td></tr><tr><td colspan=4 rowspan=2>(2,0) [2,4]</td><td > colspan=2 rowspan=2>(2,1) [2,2]</td><td colspan=1 rowspan=1>(2,2) > [1,1]</td></tr><tr><td colspan=1 rowspan=1>(3,0) [1,1]</td><td > colspan=1 rowspan=1>(3,1) [1,1]</td></tr><tr><td colspan=2 > rowspan=3>(4,0) [3,2]</td><td colspan=1 rowspan=1>(4,1) [1,1]</td><td > colspan=1 rowspan=3>(4,2) [3,1]</td><td colspan=4 rowspan=4>(4,3) > [4,4]</td></tr><tr><td colspan=1 rowspan=1>(5,0) > [1,1]</td></tr><tr><td colspan=1 rowspan=1>(6,0) > [1,1]</td></tr><tr><td colspan=4 rowspan=1>(7,0) > [1,4]</td></tr></table></body></html>' > (snip) > # Looks like you failed 1 test of 126. > t/30_tree.t .......... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/126 subtests > > > This seems to happen only if HTML::ElementTable is installed.
Got same failures today on FreeBSD-11.1 with perl-5.27.11.
On Sat May 19 07:49:13 2018, JKEENAN wrote: Show quoted text
> On Sun May 28 09:12:56 2017, SREZIC wrote:
> > On some of my smokers 30_tree.t fails: > > > > ... > > Use of uninitialized value $ptag in string eq at > > /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/TreeBuilder.pm line 341. > > Use of uninitialized value $ptag in string eq at > > /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/TreeBuilder.pm line 349. > > Use of uninitialized value in string eq at > > /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/Element.pm line 2649. > > Use of uninitialized value in string eq at > > /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/Element.pm line 2649. > > Use of uninitialized value in hash element at > > /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/Element.pm line 2656. > > Use of uninitialized value $ptag in string eq at > > /usr/perl5.16.3t/lib/site_perl/5.16.3/HTML/TreeBuilder.pm line 1071. > > (snip) > > # Failed test 'mass html comp' > > # at t/30_tree.t line 53. > > # got: '<html></html>' > > # expected: '<html><head><title>gnarly > > table</title></head><body><table border=1><tr><td colspan=4 > > rowspan=1>(0,0) [1,4]</td><td colspan=4 rowspan=2>(0,1) > > [2,4]</td></tr><tr><td colspan=1 rowspan=2>(1,0) [2,1]</td><td > > colspan=1 rowspan=1>(1,1) [1,1]</td><td colspan=2 rowspan=1>(1,2) > > [1,2]</td></tr><tr><td colspan=4 rowspan=2>(2,0) [2,4]</td><td > > colspan=2 rowspan=2>(2,1) [2,2]</td><td colspan=1 rowspan=1>(2,2) > > [1,1]</td></tr><tr><td colspan=1 rowspan=1>(3,0) [1,1]</td><td > > colspan=1 rowspan=1>(3,1) [1,1]</td></tr><tr><td colspan=2 > > rowspan=3>(4,0) [3,2]</td><td colspan=1 rowspan=1>(4,1) [1,1]</td><td > > colspan=1 rowspan=3>(4,2) [3,1]</td><td colspan=4 rowspan=4>(4,3) > > [4,4]</td></tr><tr><td colspan=1 rowspan=1>(5,0) > > [1,1]</td></tr><tr><td colspan=1 rowspan=1>(6,0) > > [1,1]</td></tr><tr><td colspan=4 rowspan=1>(7,0) > > [1,4]</td></tr></table></body></html>' > > (snip) > > # Looks like you failed 1 test of 126. > > t/30_tree.t .......... > > Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/126 subtests > > > > > > This seems to happen only if HTML::ElementTable is installed.
> > Got same failures today on FreeBSD-11.1 with perl-5.27.11.
Got same failures today on FreeBSD-12 with perl-5.31.0.