Skip Menu |

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

Report information
The Basics
Id: 128549
Status: open
Priority: 0/
Queue: HTML-T5

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

Bug Information
Severity: (no value)
Broken in:
  • 0.005
  • 0.006
  • 0.007
Fixed in: (no value)



Subject: Test failure with tidy 5.4.0
On a CentOS7 system: ... # Testing HTML::T5 0.005, tidy 5.4.0, Perl 5.028000, /opt/perl-5.28.0/bin/perl # Failed test 'HTML::T5 requires version 5.6.0 or higher of the tidy-html5 library' # at t/00-load.t line 15. # '5.4.0' # ge # '5.6.0' # Looks like you failed 1 test of 2. t/00-load.t ................ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests ... # Failed test 'Should have exactly three messages' # at t/extra-quote.t line 33. # got: '3' # expected: '4' # Failed test 'Matching warnings' # at t/extra-quote.t line 37. # Structures begin differing at: # $got->[2] = '- (4:1) Warning: <img> lacks "alt" attribute' # $expected->[2] = '- (4:1) Warning: <img> illegal characters found in URI' # Looks like you failed 2 tests of 4. t/extra-quote.t ............ Dubious, test returned 2 (wstat 512, 0x200) Failed 2/4 subtests ... (etc) ...
On Mon Feb 18 15:01:04 2019, SREZIC wrote: Show quoted text
> On a CentOS7 system: > > ... > # Testing HTML::T5 0.005, tidy 5.4.0, Perl 5.028000, /opt/perl- > 5.28.0/bin/perl > > # Failed test 'HTML::T5 requires version 5.6.0 or higher of the > tidy-html5 library' > # at t/00-load.t line 15. > # '5.4.0' > # ge > # '5.6.0' > # Looks like you failed 1 test of 2. > t/00-load.t ................ > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/2 subtests > ... > # Failed test 'Should have exactly three messages' > # at t/extra-quote.t line 33. > # got: '3' > # expected: '4' > > # Failed test 'Matching warnings' > # at t/extra-quote.t line 37. > # Structures begin differing at: > # $got->[2] = '- (4:1) Warning: <img> lacks "alt" attribute' > # $expected->[2] = '- (4:1) Warning: <img> illegal characters > found in URI' > # Looks like you failed 2 tests of 4. > t/extra-quote.t ............ > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/4 subtests > ... (etc) ...
should be fixed in recent Alien::tidy5
On 2019-04-02 11:56:57, SHLOMIF wrote: Show quoted text
> On Mon Feb 18 15:01:04 2019, SREZIC wrote:
> > On a CentOS7 system: > > > > ... > > # Testing HTML::T5 0.005, tidy 5.4.0, Perl 5.028000, /opt/perl- > > 5.28.0/bin/perl > > > > # Failed test 'HTML::T5 requires version 5.6.0 or higher of the > > tidy-html5 library' > > # at t/00-load.t line 15. > > # '5.4.0' > > # ge > > # '5.6.0' > > # Looks like you failed 1 test of 2. > > t/00-load.t ................ > > Dubious, test returned 1 (wstat 256, 0x100) > > Failed 1/2 subtests > > ... > > # Failed test 'Should have exactly three messages' > > # at t/extra-quote.t line 33. > > # got: '3' > > # expected: '4' > > > > # Failed test 'Matching warnings' > > # at t/extra-quote.t line 37. > > # Structures begin differing at: > > # $got->[2] = '- (4:1) Warning: <img> lacks "alt" attribute' > > # $expected->[2] = '- (4:1) Warning: <img> illegal characters > > found in URI' > > # Looks like you failed 2 tests of 4. > > t/extra-quote.t ............ > > Dubious, test returned 2 (wstat 512, 0x200) > > Failed 2/4 subtests > > ... (etc) ...
> > should be fixed in recent Alien::tidy5 > >
I still see the problem with HTML-T5-0.006
On Fri Aug 30 14:18:32 2019, SREZIC wrote: Show quoted text
> On 2019-04-02 11:56:57, SHLOMIF wrote:
> > On Mon Feb 18 15:01:04 2019, SREZIC wrote:
> > > On a CentOS7 system: > > > > > > ... > > > # Testing HTML::T5 0.005, tidy 5.4.0, Perl 5.028000, /opt/perl- > > > 5.28.0/bin/perl > > > > > > # Failed test 'HTML::T5 requires version 5.6.0 or higher of the > > > tidy-html5 library' > > > # at t/00-load.t line 15. > > > # '5.4.0' > > > # ge > > > # '5.6.0' > > > # Looks like you failed 1 test of 2. > > > t/00-load.t ................ > > > Dubious, test returned 1 (wstat 256, 0x100) > > > Failed 1/2 subtests > > > ... > > > # Failed test 'Should have exactly three messages' > > > # at t/extra-quote.t line 33. > > > # got: '3' > > > # expected: '4' > > > > > > # Failed test 'Matching warnings' > > > # at t/extra-quote.t line 37. > > > # Structures begin differing at: > > > # $got->[2] = '- (4:1) Warning: <img> lacks "alt" attribute' > > > # $expected->[2] = '- (4:1) Warning: <img> illegal characters > > > found in URI' > > > # Looks like you failed 2 tests of 4. > > > t/extra-quote.t ............ > > > Dubious, test returned 2 (wstat 512, 0x200) > > > Failed 2/4 subtests > > > ... (etc) ...
> > > > should be fixed in recent Alien::tidy5 > > > >
> > I still see the problem with HTML-T5-0.006 >
HTML-T5-0.007 now requires alien tidyhtml5 version 0.3.0 which requires libtidy5-5.6.0. Please try again - thanks!
On 2020-01-29 14:44:10, SHLOMIF wrote: Show quoted text
> On Fri Aug 30 14:18:32 2019, SREZIC wrote:
> > On 2019-04-02 11:56:57, SHLOMIF wrote:
> > > On Mon Feb 18 15:01:04 2019, SREZIC wrote:
> > > > On a CentOS7 system: > > > > > > > > ... > > > > # Testing HTML::T5 0.005, tidy 5.4.0, Perl 5.028000, /opt/perl- > > > > 5.28.0/bin/perl > > > > > > > > # Failed test 'HTML::T5 requires version 5.6.0 or higher of the > > > > tidy-html5 library' > > > > # at t/00-load.t line 15. > > > > # '5.4.0' > > > > # ge > > > > # '5.6.0' > > > > # Looks like you failed 1 test of 2. > > > > t/00-load.t ................ > > > > Dubious, test returned 1 (wstat 256, 0x100) > > > > Failed 1/2 subtests > > > > ... > > > > # Failed test 'Should have exactly three messages' > > > > # at t/extra-quote.t line 33. > > > > # got: '3' > > > > # expected: '4' > > > > > > > > # Failed test 'Matching warnings' > > > > # at t/extra-quote.t line 37. > > > > # Structures begin differing at: > > > > # $got->[2] = '- (4:1) Warning: <img> lacks "alt" > > > > attribute' > > > > # $expected->[2] = '- (4:1) Warning: <img> illegal characters > > > > found in URI' > > > > # Looks like you failed 2 tests of 4. > > > > t/extra-quote.t ............ > > > > Dubious, test returned 2 (wstat 512, 0x200) > > > > Failed 2/4 subtests > > > > ... (etc) ...
> > > > > > should be fixed in recent Alien::tidy5 > > > > > >
> > > > I still see the problem with HTML-T5-0.006 > >
> > HTML-T5-0.007 now requires alien tidyhtml5 version 0.3.0 which > requires libtidy5-5.6.0. Please try again - thanks!
Still happens with 0.007, for example: http://www.cpantesters.org/cpan/report/52bacb9c-42e8-11ea-93b0-858f1f24ea8f
On Fri Jan 31 16:32:14 2020, SREZIC wrote: Show quoted text
> On 2020-01-29 14:44:10, SHLOMIF wrote:
> > On Fri Aug 30 14:18:32 2019, SREZIC wrote:
> > > On 2019-04-02 11:56:57, SHLOMIF wrote:
> > > > On Mon Feb 18 15:01:04 2019, SREZIC wrote:
> > > > > On a CentOS7 system: > > > > >
> > > > > > > >
> > > > > > I still see the problem with HTML-T5-0.006 > > >
> > > > HTML-T5-0.007 now requires alien tidyhtml5 version 0.3.0 which > > requires libtidy5-5.6.0. Please try again - thanks!
> > Still happens with 0.007, for example: > http://www.cpantesters.org/cpan/report/52bacb9c-42e8-11ea-93b0- > 858f1f24ea8f
Please try with 0.008: https://github.com/shlomif/html-tidy5/commit/2403e3aa8d9e8d5fb8f704ee42a3c23b20e8c21e Thanks.