You are viewing a plain text version of this content. The canonical link for it is here.
Posted to test-dev@perl.apache.org by Stas Bekman <st...@stason.org> on 2005/10/30 07:31:51 UTC

Re: question on same_interp_tie

Jim,

I've finally had the time to work on your patch integration.

The problem is the test in your patch doesn't work for me:

with mp2 I get:

t/sameinterp.............failed to init the same_handler data 
(url=/test/sameinterp). Failed with code=500, response:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
  you@your.address and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
</body></html>
t/sameinterp.............dubious
         Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 1-12
         Failed 12/12 tests, 0.00% okay

[Sat Oct 29 23:28:33 2005] [error] [client 127.0.0.1] 
mpxs_Apache2__RequestRec_print: $r->print can't be called before the 
response phase at 
/home/stas/apache.org/Apache-Test/t/TestModperl/SameInterp.pm line 26.

You can't print from any but response phase

with mp1, the test suite won't even start:

Can't locate Apache/TestHandler.pm in @INC (@INC contains: 
/home/stas/perl/5.8.7-nouseperlio/lib/5.8.7/i686-linux-stdio 
/home/stas/perl/5.8.7-nouseperlio/lib/5.8.7 
/home/stas/perl/5.8.7-nouseperlio/lib/site_perl/5.8.7/i686-linux-stdio 
/home/stas/perl/5.8.7-nouseperlio/lib/site_perl/5.8.7 
/home/stas/perl/5.8.7-nouseperlio/lib/site_perl . 
/home/stas/apache.org/Apache-Test/t/ 
/home/stas/apache.org/Apache-Test/t/lib/perl) at (eval 4) line 3.

server has died with status 255 (t/logs/error_log wasn't created, start 
the server in the debug mode)
sh: line 1: 12285 Terminated

something in your patch messed up the @INC handling, so that 
Apache-Test/lib is no longer there.

finally can you please bring Apache-Test to the latest version, just to 
make sure that your patch applies cleanly. Also please send it as an 
attachment, since the inlined patch got all broken.

Thank you.

-- 
_____________________________________________________________
Stas Bekman mailto:stas@stason.org  http://stason.org/
MailChannels: Assured Messaging(TM) http://mailchannels.com/
The "Practical mod_perl" book       http://modperlbook.org/
http://perl.apache.org/ http://perl.org/ http://logilune.com/