Skip Menu |
 

This queue is for tickets about the HTTP-Server-Simple CPAN distribution.

Report information
The Basics
Id: 30237
Status: resolved
Priority: 0/
Queue: HTTP-Server-Simple

People
Owner: Nobody in particular
Requestors: m.nooning [...] comcast.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: (no value)
Fixed in: 0.38_04



Subject: Failed test 'Didn't decode already' at t/04cgi.t line 63
Download (untitled) / with headers
text/plain 2.2k
It fails the same way in 0.27 and 0.28_01 The cpan testers are running into the same thing. C:\Catalyst\HTTP-Server-Simple-0.27>perl -MConfig_m Makefile.PL Set up gcc environment - 3.4.2 (mingw-special) Checking if your kit is complete... Looks good Writing Makefile for HTTP::Server::Simple C:\Catalyst\HTTP-Server-Simple-0.27>nmake PKSFX (R) FAST! Self Extract Utility Version 2.04g 02-01-93 Copr. 1989-1993 PKWARE Inc. All Rights Reserved. Shareware version PKSFX Reg. U.S. Pat. and Tm. Off. Searching EXE: C:/PERL/BIN/NMAKE.EXE Inflating: NMAKE.ERR Inflating: NMAKE.EXE Inflating: README.TXT C:\Catalyst\HTTP-S~1.27>nmake Microsoft (R) Program Maintenance Utility Version 1.50 Copyright (c) Microsoft Corp 1988-94. All rights reserved. cp lib/HTTP/Server/Simple/CGI/Environment.pm blib\lib\HTTP\Server\Simple\CGI\Environment.pm cp lib/HTTP/Server/Simple.pm blib\lib\HTTP\Server\Simple.pm cp lib/HTTP/Server/Simple/CGI.pm blib\lib\HTTP\Server\Simple\CGI.pm C:\Catalyst\HTTP-S~1.27>nmake 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, 'inc', 'blib\lib', 'blib\arch')" t/*.t t/00smoke..........ok t/01live...........ok 1/10# started server on -4024 t/01live...........ok t/02pod............ok t/03podcoverage....skipped all skipped: Test::Pod::Coverage 1.04 required for testing POD coverage t/04cgi............ok 16/21 # Failed test 'Didn't decode already' # at t/04cgi.t line 63. # '' # doesn't match '/foo%3Fbar/' t/04cgi............NOK 20/21# Looks like you failed 1 test of 21. t/04cgi............dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 20 Failed 1/21 tests, 95.24% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t/04cgi.t 1 256 21 1 20 1 test skipped. Failed 1/5 test scripts. 1/42 subtests failed. Files=5, Tests=42, 5 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Failed 1/5 test programs. 1/42 subtests failed. NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1' Stop.
Subject: Re: [rt.cpan.org #30237] Failed test 'Didn't decode already' at t/04cgi.t line 63
Date: Thu, 25 Oct 2007 11:24:30 -0400
To: bug-HTTP-Server-Simple [...] rt.cpan.org
From: Jesse Vincent <jesse [...] fsck.com>
Download (untitled) / with headers
text/plain 2.9k
Hm. I don't have access to a windows box to test against. Any debugging you can do would be hugely appreciated. (Can you test on Strawberry Perl easily?) -jesse On Oct 24, 2007, at 8:09 AM, Malcolm Nooning via RT wrote: Show quoted text
> > Wed Oct 24 08:09:10 2007: Request 30237 was acted upon. > Transaction: Ticket created by m.nooning@comcast.net > Queue: HTTP-Server-Simple > Subject: Failed test 'Didn't decode already' at t/04cgi.t line 63 > Broken in: (no value) > Severity: Normal > Owner: Nobody > Requestors: m.nooning@comcast.net > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=30237 > > > > It fails the same way in 0.27 and 0.28_01 > The cpan testers are running into the same thing. > > C:\Catalyst\HTTP-Server-Simple-0.27>perl -MConfig_m Makefile.PL > Set up gcc environment - 3.4.2 (mingw-special) > Checking if your kit is complete... > Looks good > Writing Makefile for HTTP::Server::Simple > > C:\Catalyst\HTTP-Server-Simple-0.27>nmake > > PKSFX (R) FAST! Self Extract Utility Version 2.04g 02-01-93 > Copr. 1989-1993 PKWARE Inc. All Rights Reserved. Shareware version > PKSFX Reg. U.S. Pat. and Tm. Off. > > Searching EXE: C:/PERL/BIN/NMAKE.EXE > Inflating: NMAKE.ERR > Inflating: NMAKE.EXE > Inflating: README.TXT > > C:\Catalyst\HTTP-S~1.27>nmake > > Microsoft (R) Program Maintenance Utility Version 1.50 > Copyright (c) Microsoft Corp 1988-94. All rights reserved. > > cp lib/HTTP/Server/Simple/CGI/Environment.pm > blib\lib\HTTP\Server\Simple\CGI\Environment.pm > cp lib/HTTP/Server/Simple.pm blib\lib\HTTP\Server\Simple.pm > cp lib/HTTP/Server/Simple/CGI.pm blib\lib\HTTP\Server\Simple\CGI.pm > > C:\Catalyst\HTTP-S~1.27>nmake 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, 'inc', 'blib\lib', 'blib\arch')" t/*.t > t/00smoke..........ok > t/01live...........ok 1/10# started server on -4024 > t/01live...........ok > t/02pod............ok > t/03podcoverage....skipped > all skipped: Test::Pod::Coverage 1.04 required for testing POD > coverage > t/04cgi............ok 16/21 > # Failed test 'Didn't decode already' > # at t/04cgi.t line 63. > # '' > # doesn't match '/foo%3Fbar/' > t/04cgi............NOK 20/21# Looks like you failed 1 test of 21. > t/04cgi............dubious > Test returned status 1 (wstat 256, 0x100) > DIED. FAILED test 20 > Failed 1/21 tests, 95.24% okay > Failed Test Stat Wstat Total Fail List of Failed > ---------------------------------------------------------------------- > --------- > t/04cgi.t 1 256 21 1 20 > 1 test skipped. > Failed 1/5 test scripts. 1/42 subtests failed. > Files=5, Tests=42, 5 wallclock secs ( 0.00 cusr + 0.00 csys = > 0.00 CPU) > Failed 1/5 test programs. 1/42 subtests failed. > NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return > code '0x1' > Stop. >
Download PGP.sig
application/pgp-signature 186b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #30237] Failed test 'Didn't decode already' at t/04cgi.t line 63
Date: Thu, 25 Oct 2007 18:33:45 -0400
To: bug-HTTP-Server-Simple [...] rt.cpan.org
From: Malcolm Nooning <m.nooning [...] comcast.net>
Download (untitled) / with headers
text/plain 3.8k
Jesse via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=30237 > > > Hm. I don't have access to a windows box to test against. Any > debugging you can do would be hugely appreciated. (Can you test on > Strawberry Perl easily?) > > -jesse > On Oct 24, 2007, at 8:09 AM, Malcolm Nooning via RT wrote: > >
>> Wed Oct 24 08:09:10 2007: Request 30237 was acted upon. >> Transaction: Ticket created by m.nooning@comcast.net >> Queue: HTTP-Server-Simple >> Subject: Failed test 'Didn't decode already' at t/04cgi.t line 63 >> Broken in: (no value) >> Severity: Normal >> Owner: Nobody >> Requestors: m.nooning@comcast.net >> Status: new >> Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=30237 > >> >> >> It fails the same way in 0.27 and 0.28_01 >> The cpan testers are running into the same thing. >> >> C:\Catalyst\HTTP-Server-Simple-0.27>perl -MConfig_m Makefile.PL >> Set up gcc environment - 3.4.2 (mingw-special) >> Checking if your kit is complete... >> Looks good >> Writing Makefile for HTTP::Server::Simple >> >> C:\Catalyst\HTTP-Server-Simple-0.27>nmake >> >> PKSFX (R) FAST! Self Extract Utility Version 2.04g 02-01-93 >> Copr. 1989-1993 PKWARE Inc. All Rights Reserved. Shareware version >> PKSFX Reg. U.S. Pat. and Tm. Off. >> >> Searching EXE: C:/PERL/BIN/NMAKE.EXE >> Inflating: NMAKE.ERR >> Inflating: NMAKE.EXE >> Inflating: README.TXT >> >> C:\Catalyst\HTTP-S~1.27>nmake >> >> Microsoft (R) Program Maintenance Utility Version 1.50 >> Copyright (c) Microsoft Corp 1988-94. All rights reserved. >> >> cp lib/HTTP/Server/Simple/CGI/Environment.pm >> blib\lib\HTTP\Server\Simple\CGI\Environment.pm >> cp lib/HTTP/Server/Simple.pm blib\lib\HTTP\Server\Simple.pm >> cp lib/HTTP/Server/Simple/CGI.pm blib\lib\HTTP\Server\Simple\CGI.pm >> >> C:\Catalyst\HTTP-S~1.27>nmake 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, 'inc', 'blib\lib', 'blib\arch')" t/*.t >> t/00smoke..........ok >> t/01live...........ok 1/10# started server on -4024 >> t/01live...........ok >> t/02pod............ok >> t/03podcoverage....skipped >> all skipped: Test::Pod::Coverage 1.04 required for testing POD >> coverage >> t/04cgi............ok 16/21 >> # Failed test 'Didn't decode already' >> # at t/04cgi.t line 63. >> # '' >> # doesn't match '/foo%3Fbar/' >> t/04cgi............NOK 20/21# Looks like you failed 1 test of 21. >> t/04cgi............dubious >> Test returned status 1 (wstat 256, 0x100) >> DIED. FAILED test 20 >> Failed 1/21 tests, 95.24% okay >> Failed Test Stat Wstat Total Fail List of Failed >> ---------------------------------------------------------------------- >> --------- >> t/04cgi.t 1 256 21 1 20 >> 1 test skipped. >> Failed 1/5 test scripts. 1/42 subtests failed. >> Files=5, Tests=42, 5 wallclock secs ( 0.00 cusr + 0.00 csys = >> 0.00 CPU) >> Failed 1/5 test programs. 1/42 subtests failed. >> NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return >> code '0x1' >> Stop. >> >>
> > >
Hello, First of all, thanks for doing what you do. Yes, I can do debugging now on my main machine, Windows XP, with Perl 5.8.8. In the meanwhile, over the next couple of days I can try to install Strawberry Perl on another Windos XP machine I have. The second one is much slower so I do not prefer it, and also, it should not make a difference. However, if it does make a difference it will be indicative of something. Not sure what but ... Okay, so, what can I do? Can you send me a patch? I have cygwin installed. I don't use it much, but it has some nifty utilities such as patch. You can also send me a diff file. You can also send me some "try this ... then try that ... then .." types of instructions.
Subject: Re: [rt.cpan.org #30237] Failed test 'Didn't decode already' at t/04cgi.t line 63
Date: Thu, 25 Oct 2007 19:15:34 -0400
To: bug-HTTP-Server-Simple [...] rt.cpan.org
From: Malcolm Nooning <m.nooning [...] comcast.net>
Download (untitled) / with headers
text/plain 257b
This message has been processed by Symantec's AntiVirus Technology. Unknown00000000.data was not scanned for viruses because too many nested levels of files were found. For more information on antivirus tips and technology, visit http://ses.symantec.com/
Subject: Re: [rt.cpan.org #30237] Failed test 'Didn't decode already' at t/04cgi.t line 63
Date: Thu, 25 Oct 2007 19:15:34 -0400
To: bug-HTTP-Server-Simple [...] rt.cpan.org
From: Malcolm Nooning <m.nooning [...] comcast.net>
Download (untitled) / with headers
text/plain 3.5k
Jesse via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=30237 > > > Hm. I don't have access to a windows box to test against. Any > debugging you can do would be hugely appreciated. (Can you test on > Strawberry Perl easily?) > > -jesse > On Oct 24, 2007, at 8:09 AM, Malcolm Nooning via RT wrote: > >
>> Wed Oct 24 08:09:10 2007: Request 30237 was acted upon. >> Transaction: Ticket created by m.nooning@comcast.net >> Queue: HTTP-Server-Simple >> Subject: Failed test 'Didn't decode already' at t/04cgi.t line 63 >> Broken in: (no value) >> Severity: Normal >> Owner: Nobody >> Requestors: m.nooning@comcast.net >> Status: new >> Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=30237 > >> >> >> It fails the same way in 0.27 and 0.28_01 >> The cpan testers are running into the same thing. >> >> C:\Catalyst\HTTP-Server-Simple-0.27>perl -MConfig_m Makefile.PL >> Set up gcc environment - 3.4.2 (mingw-special) >> Checking if your kit is complete... >> Looks good >> Writing Makefile for HTTP::Server::Simple >> >> C:\Catalyst\HTTP-Server-Simple-0.27>nmake >> >> PKSFX (R) FAST! Self Extract Utility Version 2.04g 02-01-93 >> Copr. 1989-1993 PKWARE Inc. All Rights Reserved. Shareware version >> PKSFX Reg. U.S. Pat. and Tm. Off. >> >> Searching EXE: C:/PERL/BIN/NMAKE.EXE >> Inflating: NMAKE.ERR >> Inflating: NMAKE.EXE >> Inflating: README.TXT >> >> C:\Catalyst\HTTP-S~1.27>nmake >> >> Microsoft (R) Program Maintenance Utility Version 1.50 >> Copyright (c) Microsoft Corp 1988-94. All rights reserved. >> >> cp lib/HTTP/Server/Simple/CGI/Environment.pm >> blib\lib\HTTP\Server\Simple\CGI\Environment.pm >> cp lib/HTTP/Server/Simple.pm blib\lib\HTTP\Server\Simple.pm >> cp lib/HTTP/Server/Simple/CGI.pm blib\lib\HTTP\Server\Simple\CGI.pm >> >> C:\Catalyst\HTTP-S~1.27>nmake 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, 'inc', 'blib\lib', 'blib\arch')" t/*.t >> t/00smoke..........ok >> t/01live...........ok 1/10# started server on -4024 >> t/01live...........ok >> t/02pod............ok >> t/03podcoverage....skipped >> all skipped: Test::Pod::Coverage 1.04 required for testing POD >> coverage >> t/04cgi............ok 16/21 >> # Failed test 'Didn't decode already' >> # at t/04cgi.t line 63. >> # '' >> # doesn't match '/foo%3Fbar/' >> t/04cgi............NOK 20/21# Looks like you failed 1 test of 21. >> t/04cgi............dubious >> Test returned status 1 (wstat 256, 0x100) >> DIED. FAILED test 20 >> Failed 1/21 tests, 95.24% okay >> Failed Test Stat Wstat Total Fail List of Failed >> ---------------------------------------------------------------------- >> --------- >> t/04cgi.t 1 256 21 1 20 >> 1 test skipped. >> Failed 1/5 test scripts. 1/42 subtests failed. >> Files=5, Tests=42, 5 wallclock secs ( 0.00 cusr + 0.00 csys = >> 0.00 CPU) >> Failed 1/5 test programs. 1/42 subtests failed. >> NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return >> code '0x1' >> Stop. >> >>
> > >
I am sending a diff file created with the command below. I simply added print statements. I also made TEST_VERBOSE=1 in the Makefile. diff 04cgi.t 04cgi.t_orig > diff_new_vs_orig.txt I am also sending the output in a file called output_of_nmake_test.txt. It does look like t\04cgi.t is being invoked twice. Should that be? Can you spot anything amiss? Thanks
3,4d2 < < 33,45c31 < #xxxxxxxxx < print STDERR "SERVER_URL is ", $envvars{SERVER_URL}, "\n"; < print STDERR "SERVER_PORT is ", $envvars{SERVER_PORT}, "\n"; < print STDERR "REQUEST_METHOD is ", $envvars{REQUEST_METHOD}, "\n"; < print STDERR "REQUEST_URI is ", $envvars{REQUEST_URI}, "\n"; < print STDERR "REQUEST_URI is ", $envvars{REQUEST_URI}, "\n"; < print STDERR "SERVER_PROTOCOL is ", $envvars{SERVER_PROTOCOL}, "\n"; < print STDERR "SERVER_NAME is ", $envvars{SERVER_NAME}, "\n"; < print STDERR "SERVER_SOFTWARE is ", $envvars{SERVER_SOFTWARE}, "\n"; < print STDERR "REMOTE_ADDR is ", $envvars{REMOTE_ADDR}, "\n"; < print STDERR "QUERY_STRING is ", $envvars{QUERY_STRING}, "\n"; < print STDERR "PATH_INFO is ", $envvars{PATH_INFO}, "\n"; < #xxxxxxxx --- > 116c102 < print STDERR "message is $message\n"; --- > 148,152c134 < print STDERR "aaaaaaaaaaaaaaaaaaaaa\n"; < foreach my $xxx (@response) { < print STDERR "\t$xxx\n"; < } < print STDERR "bbbbbbbbbbbbbbbbbbbb\n"; --- >

Message body is not shown because it is too large.

Subject: Re: [rt.cpan.org #30237] Failed test 'Didn't decode already' at t/04cgi.t line 63
Date: Thu, 25 Oct 2007 19:30:39 -0400
To: bug-HTTP-Server-Simple [...] rt.cpan.org
From: Malcolm Nooning <m.nooning [...] comcast.net>
Download (untitled) / with headers
text/plain 3.5k
Jesse via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=30237 > > > Hm. I don't have access to a windows box to test against. Any > debugging you can do would be hugely appreciated. (Can you test on > Strawberry Perl easily?) > > -jesse > On Oct 24, 2007, at 8:09 AM, Malcolm Nooning via RT wrote: > >
>> Wed Oct 24 08:09:10 2007: Request 30237 was acted upon. >> Transaction: Ticket created by m.nooning@comcast.net >> Queue: HTTP-Server-Simple >> Subject: Failed test 'Didn't decode already' at t/04cgi.t line 63 >> Broken in: (no value) >> Severity: Normal >> Owner: Nobody >> Requestors: m.nooning@comcast.net >> Status: new >> Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=30237 > >> >> >> It fails the same way in 0.27 and 0.28_01 >> The cpan testers are running into the same thing. >> >> C:\Catalyst\HTTP-Server-Simple-0.27>perl -MConfig_m Makefile.PL >> Set up gcc environment - 3.4.2 (mingw-special) >> Checking if your kit is complete... >> Looks good >> Writing Makefile for HTTP::Server::Simple >> >> C:\Catalyst\HTTP-Server-Simple-0.27>nmake >> >> PKSFX (R) FAST! Self Extract Utility Version 2.04g 02-01-93 >> Copr. 1989-1993 PKWARE Inc. All Rights Reserved. Shareware version >> PKSFX Reg. U.S. Pat. and Tm. Off. >> >> Searching EXE: C:/PERL/BIN/NMAKE.EXE >> Inflating: NMAKE.ERR >> Inflating: NMAKE.EXE >> Inflating: README.TXT >> >> C:\Catalyst\HTTP-S~1.27>nmake >> >> Microsoft (R) Program Maintenance Utility Version 1.50 >> Copyright (c) Microsoft Corp 1988-94. All rights reserved. >> >> cp lib/HTTP/Server/Simple/CGI/Environment.pm >> blib\lib\HTTP\Server\Simple\CGI\Environment.pm >> cp lib/HTTP/Server/Simple.pm blib\lib\HTTP\Server\Simple.pm >> cp lib/HTTP/Server/Simple/CGI.pm blib\lib\HTTP\Server\Simple\CGI.pm >> >> C:\Catalyst\HTTP-S~1.27>nmake 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, 'inc', 'blib\lib', 'blib\arch')" t/*.t >> t/00smoke..........ok >> t/01live...........ok 1/10# started server on -4024 >> t/01live...........ok >> t/02pod............ok >> t/03podcoverage....skipped >> all skipped: Test::Pod::Coverage 1.04 required for testing POD >> coverage >> t/04cgi............ok 16/21 >> # Failed test 'Didn't decode already' >> # at t/04cgi.t line 63. >> # '' >> # doesn't match '/foo%3Fbar/' >> t/04cgi............NOK 20/21# Looks like you failed 1 test of 21. >> t/04cgi............dubious >> Test returned status 1 (wstat 256, 0x100) >> DIED. FAILED test 20 >> Failed 1/21 tests, 95.24% okay >> Failed Test Stat Wstat Total Fail List of Failed >> ---------------------------------------------------------------------- >> --------- >> t/04cgi.t 1 256 21 1 20 >> 1 test skipped. >> Failed 1/5 test scripts. 1/42 subtests failed. >> Files=5, Tests=42, 5 wallclock secs ( 0.00 cusr + 0.00 csys = >> 0.00 CPU) >> Failed 1/5 test programs. 1/42 subtests failed. >> NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return >> code '0x1' >> Stop. >> >>
> > >
Found an error in t\04cti.t line 128 ------------Paste original my $next; $stage = $next while (!$alarm && $stage ne "done" && ($next = $states{$stage}->())); --------------end paste Change "my $next;" to "my $next = "";". Otherwise, $stage will be uninitialized the first iteration of "$stage = $next while ...". Unfortunately, that did not solve the problem.
Subject: Re: [rt.cpan.org #30237] Failed test 'Didn't decode already' at t/04cgi.t line 63
Date: Fri, 26 Oct 2007 09:52:25 -0400
To: bug-HTTP-Server-Simple [...] rt.cpan.org
From: Malcolm Nooning <m.nooning [...] comcast.net>
Download (untitled) / with headers
text/plain 239b
In the 04cgi.t code below, there is no such key states{$stage} the first time through. Or maybe I am just not understanding this. $stage = $next while (!$alarm && $stage ne "done" && ($next = $states{$stage}->()));
Subject: Re: [rt.cpan.org #30237] Failed test 'Didn't decode already' at t/04cgi.t line 63
Date: Fri, 26 Oct 2007 16:19:45 -0400
To: bug-HTTP-Server-Simple [...] rt.cpan.org
From: Jesse Vincent <jesse [...] fsck.com>
Download (untitled) / with headers
text/plain 929b
Show quoted text
>>>
> Hello, > > First of all, thanks for doing what you do. > > Yes, I can do debugging now on my main machine, Windows XP, with Perl > 5.8.8. In the meanwhile, over the next couple of days I can try to > install Strawberry Perl on another Windos XP machine I have. The > second > one is much slower so I do not prefer it, and also, it should not > make a > difference. However, if it does make a difference it will be > indicative > of something. Not sure what but ... > > Okay, so, what can I do? Can you send me a patch? I have cygwin > installed. I don't use it much, but it has some nifty utilities > such as > patch. You can also send me a diff file. You can also send me some > "try this ... then try that ... then .." types of instructions.
Unfortunately, I'm not a windows person and really don't know what to suggest you try. :/ The first thing I'd suggest you look at is line-ending issues.
Download PGP.sig
application/pgp-signature 186b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #30237] Failed test 'Didn't decode already' at t/04cgi.t line 63
Date: Fri, 26 Oct 2007 20:21:44 -0400
To: bug-HTTP-Server-Simple [...] rt.cpan.org
From: Malcolm Nooning <m.nooning [...] comcast.net>
Download (untitled) / with headers
text/plain 701b
The paste below from t\04cgi.t is what is not working. I tried a back slash in front of the % but that did not help. Is the 'fetch' line correct? Should the /foo%3Fbar/ be as it is? My real goal is to install Catalyst and the Catalyst tutorial, and this is a dependency. My goal is to learn Catalyst. If I need to do some debugging of HTTP-Server-Simple then so be it, but I am hampered in that I do not know cgi programming or web servers. Can you give me some more suggestions as to what I might try? ------------------paste like( fetch("GET /cgitest/REQUEST_URI?foo%3Fbar",""), "/foo%3Fbar/", "Didn't decode already" ); --------------end paste Thanks
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #30237] Failed test 'Didn't decode already' at t/04cgi.t line 63
Date: Mon, 29 Oct 2007 13:01:05 -0400
To: Malcolm Nooning via RT <bug-HTTP-Server-Simple [...] rt.cpan.org>
From: jesse <jesse [...] fsck.com>
On Fri, Oct 26, 2007 at 08:22:00PM -0400, Malcolm Nooning via RT wrote: Show quoted text
> > Queue: HTTP-Server-Simple > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=30237 > > > The paste below from t\04cgi.t is what is not working. I tried a back > slash in front of the % but that did not help. > > Is the 'fetch' line correct? Should the /foo%3Fbar/ be as it is? My > real goal is to install Catalyst and the Catalyst tutorial, and this is > a dependency. My goal is to learn Catalyst. If I need to do some > debugging of HTTP-Server-Simple then so be it, but I am hampered in that > I do not know cgi programming or web servers. Can you give me some more > suggestions as to what I might try? > > ------------------paste > like( > fetch("GET /cgitest/REQUEST_URI?foo%3Fbar",""), > "/foo%3Fbar/", > "Didn't decode already" > ); > --------------end paste
It looks like maybe fetch() is doing some decoding when it shouldn't be. maybe it's a mech issue. But it's also worth bringing up with the catalyst developers. -j Show quoted text
> > Thanks > > >
--
Subject: Re: [rt.cpan.org #30237] Failed test 'Didn't decode already' at t/04cgi.t line 63
Date: Tue, 30 Oct 2007 21:39:31 -0400
To: bug-HTTP-Server-Simple [...] rt.cpan.org
From: Malcolm Nooning <m.nooning [...] comcast.net>
Download (untitled) / with headers
text/plain 1.2k
Jesse via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=30237 > > > > > > On Fri, Oct 26, 2007 at 08:22:00PM -0400, Malcolm Nooning via RT wrote: >
>> Queue: HTTP-Server-Simple >> Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=30237 > >> >> The paste below from t\04cgi.t is what is not working. I tried a back >> slash in front of the % but that did not help. >> >> Is the 'fetch' line correct? Should the /foo%3Fbar/ be as it is? My >> real goal is to install Catalyst and the Catalyst tutorial, and this is >> a dependency. My goal is to learn Catalyst. If I need to do some >> debugging of HTTP-Server-Simple then so be it, but I am hampered in that >> I do not know cgi programming or web servers. Can you give me some more >> suggestions as to what I might try? >> >> ------------------paste >> like( >> fetch("GET /cgitest/REQUEST_URI?foo%3Fbar",""), >> "/foo%3Fbar/", >> "Didn't decode already" >> ); >> --------------end paste >>
> > It looks like maybe fetch() is doing some decoding when it shouldn't be. > maybe it's a mech issue. But it's also worth bringing up with the > catalyst developers. > > -j > > > >
>> Thanks >> >> >> >>
> >
What do you mean by "mech" in the phrase "mech issue"?
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #30237] Failed test 'Didn't decode already' at t/04cgi.t line 63
Date: Tue, 30 Oct 2007 21:57:06 -0400
To: Malcolm Nooning via RT <bug-HTTP-Server-Simple [...] rt.cpan.org>
From: jesse <jesse [...] fsck.com>
Show quoted text
> >
> What do you mean by "mech" in the phrase "mech issue"?
WWW::Mechanize --
Subject: Re: [rt.cpan.org #30237] Failed test 'Didn't decode already' at t/04cgi.t line 63
Date: Tue, 30 Oct 2007 22:10:59 -0400
To: bug-HTTP-Server-Simple [...] rt.cpan.org
From: Malcolm Nooning <m.nooning [...] comcast.net>
Download (untitled) / with headers
text/plain 412b
Jesse via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=30237 > > > > > >
>>> >>>
>> What do you mean by "mech" in the phrase "mech issue"? >>
> > WWW::Mechanize > > >
Well, in fact I did not have WWW::Mechanize installed. I installed it, but I get the same error. There should be a warning that WWW:Mechanize is needed if it is a dependency. I do not know if it is.
Subject: [rt.cpan.org #30237] Failed test 'Didn't decode already' at t/04cgi.t line 63
Date: Wed, 31 Oct 2007 21:04:15 -0400
To: bug-HTTP-Server-Simple [...] rt.cpan.org
From: Malcolm Nooning <m.nooning [...] comcast.net>
Download (untitled) / with headers
text/plain 1.9k
In the test results pasted below, fetch is getting back null ( "" or nothing, I cannot tell) instead of something that matches foo%3Fbar. Why should there be something back that matches foo%3Fbar? If there should be, what would prevent it? If you could explain what code is being exercised by the test, perhaps I can put in print statements to STDERR with variable values that might provide more clues. What areas of the code (under blib I presume) did you want tested by the failing test? Any other ideas? Show quoted text
------------- Paste test results ------- C:\temp\HTTP-Server-Simple-0.28_01>prove -b t\04cgi.t -v t\04cgi....1..21 ok 1 - Constructor set port correctly ok 2 - pid is numeric HTTP::Server::Simple: You can connect to your server at http://localhost:13432/ ok 3 - no file ok 4 - method - server_software ok 5 - method - request_method ok 6 - method - url ok 7 - method - server_port ok 8 - method - path_info ok 9 - method - server_name ok 10 - Environment - SERVER_NAME ok 11 - Environment - REMOTE_ADDR ok 12 - Environment - PATH_INFO ok 13 - Environment - SERVER_PROTOCOL ok 14 - Environment - REQUEST_METHOD ok 15 - Environment - REQUEST_URI ok 16 - Environment - SERVER_SOFTWARE ok 17 - Environment - QUERY_STRING ok 18 - Environment - SERVER_URL ok 19 - Environment - SERVER_PORT not ok 20 - Didn't decode already # Failed test 'Didn't decode already' # in t\04cgi.t at line 63. # '' # doesn't match '/foo%3Fbar/' # Looks like you failed 1 test of 21. ok 21 - Signaled 1 process successfully dubious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 20 Failed 1/21 tests, 95.24% okay Failed Test Stat Wstat Total Fail List of Failed ------------------------------------------------------------------------------- t\04cgi.t 1 256 21 1 20 Failed 1/1 test scripts. 1/21 subtests failed. Files=1, Tests=21, 4 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) Failed 1/1 test programs. 1/21 subtests failed. C:\temp\HTTP-Server-Simple-0.28_01>
CC: undisclosed-recipients: ;
Subject: Re: [rt.cpan.org #30237] Failed test 'Didn't decode already' at t/04cgi.t line 63
Date: Tue, 6 Nov 2007 12:41:40 -0500
To: Malcolm Nooning via RT <bug-HTTP-Server-Simple [...] rt.cpan.org>
From: jesse <jesse [...] fsck.com>
Download (untitled) / with headers
text/plain 2.3k
On Wed, Oct 31, 2007 at 09:14:52PM -0400, Malcolm Nooning via RT wrote: Show quoted text
> > Queue: HTTP-Server-Simple > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=30237 > > > In the test results pasted below, fetch is getting back null ( "" or > nothing, I cannot tell) instead of something that matches foo%3Fbar. > Why should there be something back that matches foo%3Fbar? If there > should be, what would prevent it? > > If you could explain what code is being exercised by the test, perhaps I > can put in print statements to STDERR with variable values that might > provide more clues. What areas of the code (under blib I presume) did > you want tested by the failing test?
maybe have the server print out what urls are being fetched for starters? Show quoted text
> > Any other ideas? > > ------------- Paste test results ------- > C:\temp\HTTP-Server-Simple-0.28_01>prove -b t\04cgi.t -v > t\04cgi....1..21 > ok 1 - Constructor set port correctly > ok 2 - pid is numeric > HTTP::Server::Simple: You can connect to your server at > http://localhost:13432/ > ok 3 - no file > ok 4 - method - server_software > ok 5 - method - request_method > ok 6 - method - url > ok 7 - method - server_port > ok 8 - method - path_info > ok 9 - method - server_name > ok 10 - Environment - SERVER_NAME > ok 11 - Environment - REMOTE_ADDR > ok 12 - Environment - PATH_INFO > ok 13 - Environment - SERVER_PROTOCOL > ok 14 - Environment - REQUEST_METHOD > ok 15 - Environment - REQUEST_URI > ok 16 - Environment - SERVER_SOFTWARE > ok 17 - Environment - QUERY_STRING > ok 18 - Environment - SERVER_URL > ok 19 - Environment - SERVER_PORT > > not ok 20 - Didn't decode already > # Failed test 'Didn't decode already' > # in t\04cgi.t at line 63. > # '' > # doesn't match '/foo%3Fbar/' > # Looks like you failed 1 test of 21. > ok 21 - Signaled 1 process successfully > dubious > Test returned status 1 (wstat 256, 0x100) > DIED. FAILED test 20 > Failed 1/21 tests, 95.24% okay > Failed Test Stat Wstat Total Fail List of Failed > ------------------------------------------------------------------------------- > t\04cgi.t 1 256 21 1 20 > Failed 1/1 test scripts. 1/21 subtests failed. > Files=1, Tests=21, 4 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU) > Failed 1/1 test programs. 1/21 subtests failed. > > C:\temp\HTTP-Server-Simple-0.28_01> >
--
Download (untitled) / with headers
text/plain 135b
A number of fixes related to this failure came in with 0.38_04 Closing unless someone reports a failure against newer versions. -kevin


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.