Skip Menu |

This queue is for tickets about the Win32-IE-Mechanize CPAN distribution.

Report information
The Basics
Id: 11423
Status: resolved
Priority: 0/
Queue: Win32-IE-Mechanize

People
Owner: abeltje [...] cpan.org
Requestors: bart.lateur [...] pandora.be
Cc:
AdminCc:

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



Date: Tue, 08 Feb 2005 13:06:56 +0100
From: Bart Lateur <bart.lateur [...] pandora.be>
To: bug-Win32-IE-Mechanize [...] rt.cpan.org, Bart Lateur <bart.lateur [...] pandora.be>
Subject: "make test" failures on Dutch/Flemish Windows XP SP2 + MSIE 6.0
Volgens <http://yapc.mongueurs.net/yapc/info/?id=abeltje> spreekt u Nederlands... Ik krijg met "make test" in CPAN.pm een heleboel gefaalde tests bij het proberen installeren van Win32::IE::Mechanize 0.008 op een Vlaamse versie van Windows XP SP2 met MSIE 6.0.2900.2180. Ik heb het log uit het venster van cmd.exe wat opgekuist en in een attachment geplakt. Ik heb het wat van dichterbij bekenen, en ik zie de volgende trends: 1) domme fout in test zelf, "case" van pad verschilt, bv. # got: 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/basic.html' # expected: 'file:///C:/perl/cpan/build/Win32-IE-Mechanize-0.008/t/basic.html' 2) "gebruiksvriendelijk" opkuisen van syteemberichten door Microsoft, specifiek voor type van bestand, bv: t\02ct...........NOK 16 # got: 'Gif-afbeelding' # expected: 'image/gif' t\02ct...........NOK 18 # got: 'JPEG-afbeelding' # expected: 'image/jpeg' t\basic..........NOK 6 # got: 'HTML-bestand' # expected: 'text/html' 3) andere problemen waarschijnlijk tgv localisatie: t\jstest.........NOK 3 # got: 'JS Redirection' # expected: 'JS Redirection Success' 4) serieuze fouten, pagina niet geladen of verkeerd geïnterpreteerd, voornamelijk in t\swaplist t\swaplist.......NOK 10 # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = 'choice1' t\swaplist.......NOK 11 # Structures begin differing at: # $got->{choice4} = Does not exist # $expected->{choice4} = undef t\swaplist.......NOK 15 # 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/swaplist.html?dosubmit=0' # doesn't match '(?-xism:\bdosubmit=1\b)' # Failed test (t\swaplist.t at line 64) -- Bart.
Running make test Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. C:\Perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t\00props.t t\01construct.t t\02ct.t t\basic.t t\field.t t\find_link.t t\formbasics.t t\frames.t t\image-parse.t t\jstest.t t\select.t t\swaplist.t t\tick.t t\00props........# Testing Win32::IE::Mechanize 0.008 t\00props........ok t\01construct....ok t\02ct...........ok 5/20 # Failed test (t\02ct.t at line 30) t\02ct...........NOK 6 # got: 'HTML-bestand' # expected: 'text/html' t\02ct...........ok 7/20 # Failed test (t\02ct.t at line 33) # got: 'Tekstdocument' t\02ct...........NOK 8 # expected: 'text/plain' t\02ct...........ok 9/20 # Failed test (t\02ct.t at line 36) t\02ct...........NOK 10 # got: 'Tekstdocument' # expected: 'text/plain' t\02ct...........ok 12/20 # Failed test (t\02ct.t at line 43) t\02ct...........NOK 13 # got: 'HTML-bestand' # expected: 'text/html' # Failed test (t\02ct.t at line 44) t\02ct...........NOK 14 # got: 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/basic.html' # expected: 'file:///C:/perl/cpan/build/Win32-IE-Mechanize-0.008/t/basic.html' t\02ct...........ok 15/20 # Failed test (t\02ct.t at line 51) t\02ct...........NOK 16 # got: 'Gif-afbeelding' # expected: 'image/gif' t\02ct...........ok 17/20 # Failed test (t\02ct.t at line 51) t\02ct...........NOK 18 # got: 'JPEG-afbeelding' # expected: 'image/jpeg' t\02ct...........ok 19/20 # Failed test (t\02ct.t at line 51) t\02ct...........NOK 20 # got: 'Png-afbeelding' # expected: 'image/png' # Looks like you failed 8 tests of 20. t\02ct...........dubious Test returned status 8 (wstat 2048, 0x800) DIED. FAILED tests 6, 8, 10, 13-14, 16, 18, 20 Failed 8/20 tests, 60.00% okay t\basic..........ok 5/12 # Failed test (t\basic.t at line 29) t\basic..........NOK 6 # got: 'HTML-bestand' # expected: 'text/html' t\basic..........ok 8/12 # Failed test (t\basic.t at line 35) t\basic..........NOK 9 # got: 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/formbasics.html' # expected: 'file:///C:/perl/cpan/build/Win32-IE-Mechanize-0.008/t/formbasics.html' t\basic..........ok 10/12 # Failed test (t\basic.t at line 38) t\basic..........NOK 11 # got: 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/basic.html' # expected: 'file:///C:/perl/cpan/build/Win32-IE-Mechanize-0.008/t/basic.html' t\basic..........ok 12/12 # Looks like you failed 3 tests of 12. t\basic..........dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 6, 9, 11 Failed 3/12 tests, 75.00% okay t\field..........ok t\find_link......ok t\formbasics.....ok 5/33 # Failed test (t\formbasics.t at line 29) # got: 'HTML-bestand' # expected: 'text/html' t\formbasics.....NOK 6 # Failed test (t\formbasics.t at line 31) t\formbasics.....ok 33/33 # Looks like you failed 2 tests of 33. t\formbasics.....dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 6-7 Failed 2/33 tests, 93.94% okay t\frames.........ok t\image-parse....ok 5/20 # Failed test (t\image-parse.t at line 30) t\image-parse....NOK 6 # got: 'HTML-bestand' # expected: 'text/html' t\image-parse....ok 8/20 # Failed test (t\image-parse.t at line 38) t\image-parse....NOK 9 # got: 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/wango.jpg' # expected: 'file:///C:/perl/cpan/build/Win32-IE-Mechanize-0.008/t/wango.jpg' t\image-parse....ok 11/20 # Failed test (t\image-parse.t at line 44) t\image-parse....NOK 12 # got: 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/bongo.gif' # expected: 'file:///C:/perl/cpan/build/Win32-IE-Mechanize-0.008/t/bongo.gif' t\image-parse....ok 20/20 # Looks like you failed 3 tests of 20. t\image-parse....dubious Test returned status 3 (wstat 768, 0x300) DIED. FAILED tests 6, 9, 12 Failed 3/20 tests, 85.00% okay t\jstest.........ok 2/4 # Failed test (t\jstest.t at line 25) t\jstest.........NOK 3 # got: 'JS Redirection' # expected: 'JS Redirection Success' # Failed test (t\jstest.t at line 30) t\jstest.........NOK 4 # got: 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/jstest.html' # expected: 'file:///C:/perl/cpan/build/Win32-IE-Mechanize-0.008/t/jstestok.html' # Looks like you failed 2 tests of 4. t\jstest.........dubious Test returned status 2 (wstat 512, 0x200) DIED. FAILED tests 3-4 Failed 2/4 tests, 50.00% okay t\select.........ok t\swaplist.......ok 5/25 # Failed test (t\swaplist.t at line 28) t\swaplist.......NOK 6 # got: 'HTML-bestand' # expected: 'text/html' t\swaplist.......ok 9/25 # Failed test (t\swaplist.t at line 43) t\swaplist.......NOK 10 # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = 'choice1' # Failed test (t\swaplist.t at line 51) t\swaplist.......NOK 11 # Structures begin differing at: # $got->{choice4} = Does not exist # $expected->{choice4} = undef # Failed test (t\swaplist.t at line 55) t\swaplist.......NOK 12 # Structures begin differing at: # $got->[0] = Does not exist # $expected->[0] = 'choice3' t\swaplist.......ok 13/25 # Failed test (t\swaplist.t at line 59) t\swaplist.......NOK 14 # got: '0' # expected: '1' # Failed test (t\swaplist.t at line 63) t\swaplist.......NOK 15 # 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/swaplist.html?dosubmit=0' # doesn't match '(?-xism:\bdosubmit=1\b)' # Failed test (t\swaplist.t at line 64) t\swaplist.......NOK 16 # 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/swaplist.html?dosubmit=0' # doesn't match '(?-xism:\bisin=choice3\b)' # Failed test (t\swaplist.t at line 66) t\swaplist.......NOK 17 # 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/swaplist.html?dosubmit=0' # doesn't match '(?-xism:\bnotin=choice4)' # Failed test (t\swaplist.t at line 66) t\swaplist.......NOK 18 # 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/swaplist.html?dosubmit=0' # doesn't match '(?-xism:\bnotin=choice1)' # Failed test (t\swaplist.t at line 66) t\swaplist.......NOK 19 # 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/swaplist.html?dosubmit=0' # doesn't match '(?-xism:\bnotin=choice5)' # Failed test (t\swaplist.t at line 66) t\swaplist.......NOK 20 # 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/swaplist.html?dosubmit=0' # doesn't match '(?-xism:\bnotin=choice2)' t\swaplist.......ok 25/25 # Looks like you failed 11 tests of 25. t\swaplist.......dubious Test returned status 11 (wstat 2816, 0xb00) DIED. FAILED tests 6, 10-12, 14-20 Failed 11/25 tests, 56.00% okay t\tick...........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t\02ct.t 8 2048 20 8 40.00% 6 8 10 13-14 16 18 20 t\basic.t 3 768 12 3 25.00% 6 9 11 t\formbasics.t 2 512 33 2 6.06% 6-7 t\image-parse.t 3 768 20 3 15.00% 6 9 12 t\jstest.t 2 512 4 2 50.00% 3-4 t\swaplist.t 11 2816 25 11 44.00% 6 10-12 14-20 Failed 6/13 test scripts, 53.85% okay. 29/248 subtests failed, 88.31% okay. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0xff' Stop. C:\command\nmake.EXE test -- NOT OK Running make install make test had returned bad status, won't install without force
[bart.lateur@pandora.be - Tue Feb 8 07:14:28 2005]: Show quoted text
> Volgens <http://yapc.mongueurs.net/yapc/info/?id=abeltje> spreekt u > Nederlands...
Yup, but for the sake of the usefulness of the bugtrack system I'll reply in English. [Snip Dutch explanation of errors seen in internationized versions of Windows (XP)] Show quoted text
> Ik heb het wat van dichterbij bekenen, en ik zie de volgende trends: > > 1) domme fout in test zelf, "case" van pad verschilt, bv. > > # got: > 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize-0.008/t/basic.html' > # expected: > 'file:///C:/perl/cpan/build/Win32-IE-Mechanize-0.008/t/basic.html'
Yes, that looks like a sloppy job. I'll make the tests compare lc() versions! Show quoted text
> 2) "gebruiksvriendelijk" opkuisen van syteemberichten door > Microsoft, > specifiek voor type van bestand, bv: > > t\02ct...........NOK 16 > # got: 'Gif-afbeelding' > # expected: 'image/gif' > > t\02ct...........NOK 18 > # got: 'JPEG-afbeelding' > # expected: 'image/jpeg' > > t\basic..........NOK 6 > # got: 'HTML-bestand' > # expected: 'text/html'
I've had the same type of error from a German Windows user. I will have to scan the registery to find the "MIME-type" that Windows uses for these files. These descriptions change with the software you install, it seems. The following errors, look like they have to do with the fact that JaveScript is (not) enabled. Am I right? Show quoted text
> 3) andere problemen waarschijnlijk tgv localisatie: > > t\jstest.........NOK 3 > # got: 'JS Redirection' > # expected: 'JS Redirection Success' > > > 4) serieuze fouten, pagina niet geladen of verkeerd geïnterpreteerd, > voornamelijk in t\swaplist > > t\swaplist.......NOK 10 > # Structures begin differing at: > # $got->[0] = Does not exist > # $expected->[0] = 'choice1' > > t\swaplist.......NOK 11 > # Structures begin differing at: > # $got->{choice4} = Does not exist > # $expected->{choice4} = undef > > > t\swaplist.......NOK 15 > # > 'file:///C:/Perl/cpan/build/Win32-IE-Mechanize- > 0.008/t/swaplist.html?dosubmit=0' > # doesn't match '(?-xism:\bdosubmit=1\b)' > # Failed test (t\swaplist.t at line 64) >
Thank you for your report. -- Abe.
[bart.lateur@pandora.be - Wed Feb 9 05:18:35 2005]: Show quoted text
> On Wed, 9 Feb 2005 00:47:35 -0500 (EST), via RT wrote: > >
> >> Volgens <http://yapc.mongueurs.net/yapc/info/?id=abeltje> spreekt u > >> Nederlands...
> > > >Yup, but for the sake of the usefulness of the bugtrack system I'll
> reply in English. > > Oops, sorry aboutthat. :) I assumed rt only forwarded the mail. >
> >The following errors, look like they have to do with the fact that
> JaveScript is (not) enabled.
> >Am I right? > >
> >> 3) andere problemen waarschijnlijk tgv localisatie: > >> > >> t\jstest.........NOK 3 > >> # got: 'JS Redirection' > >> # expected: 'JS Redirection Success'
> > No, Javascript is enabled by default... > > But perhaps it's caused by those recently added security measures that > restrict what access Javascript can have to your computer without a > user's consent?
Something like that; I have added a message to the Makefile.PL to state that WinXP-SP2 needs to have JavaScript enabled in local content, for the test-suite. This cannot be controlled from Win32::IE::Mechanize :( About the mismatches in content-type, I hope this is also resolved in the 0.009_17 snapshot. thanks for your time and patience + Good luck, -- Abe.