LWP won"t install

LWP won"t install

am 01.12.2005 23:14:59 von j_and_t

Hi,

Not sure if this is the correct list or not. I have three different Linux
servers for which I have recently updated to Perl 5.8.7. On all three
machines I am not able to install LWP using CPAN via Bundle::LWP. All fail
with the same error of HTML::Form being the problem:

html/form.............ok 1/103# Test 99 got: "" (html/form.t at line 476)
# Expected: "zero"
# html/form.t line 476 is: ok(join(":", $f->find_input("r0")->value_names),
"zero");
html/form.............FAILED test 99
Failed 1/103 tests, 99.03% okay

This appears to be the only thing failing at this point.

Any help would be appreciated,
John

Re: LWP won"t install

am 01.12.2005 23:27:30 von paul.bijnens

J and T wrote:
> Hi,
>
> Not sure if this is the correct list or not. I have three different
> Linux servers for which I have recently updated to Perl 5.8.7. On all
> three machines I am not able to install LWP using CPAN via Bundle::LWP.
> All fail with the same error of HTML::Form being the problem:
>
> html/form.............ok 1/103# Test 99 got: "" (html/form.t at line 476)
> # Expected: "zero"
> # html/form.t line 476 is: ok(join(":",
> $f->find_input("r0")->value_names), "zero");
> html/form.............FAILED test 99
> Failed 1/103 tests, 99.03% okay


This is due to HTML::TokeParser (part of HTML-Parser-3.47)
which recently added the option "empty_element_tags=>1" to it's default
parser options.

Empty tags like "


" generate a dummy "end" token without
text (the 'got: "" ' above). The test script does not expect that token.

Without that empty_element_tags option the attribute list of such a tag
would contain a boolean attribute with named "/", which is very weird.


>
> This appears to be the only thing failing at this point.

Force install is safe in this case.



--
Paul Bijnens, Xplanation Tel +32 16 397.511
Technologielaan 21 bus 2, B-3001 Leuven, BELGIUM Fax +32 16 397.512
http://www.xplanation.com/ email: Paul.Bijnens@xplanation.com
************************************************************ ***********
* I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, *
* quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, *
* stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, *
* PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, *
* kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ... *
* ... "Are you sure?" ... YES ... Phew ... I'm out *
************************************************************ ***********

Re: LWP won"t install

am 02.12.2005 17:03:38 von gisle

Paul Bijnens writes:

> This is due to HTML::TokeParser (part of HTML-Parser-3.47)
> which recently added the option "empty_element_tags=>1" to it's default
> parser options.

I'm going to revert this change in HTML-Parser. I thought this was a
safe change but I was obviously wrong about that.

--Gisle