You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Ken Ray <Ra...@transport.nsw.gov.au> on 2001/06/07 01:20:39 UTC

Problem with make test in Embperl 1.3.3

Environment:  Solaris 2.6

Perl: 5.6.1

output from make test:

#111 opmask/opmasktrap.htm...
 
[-1][Thu Jun  7 09:19:01 2001] [error] [1013]ERR:  24: Line 215: Error in Perl c
ode: syntax error at (eval 1455) line 1, near "package main"
 
Input:          test/html/opmask/opmasktrap.htm
Output:         test/tmp/out.htm
Log:            test/tmp/test.log
Testparameter:
  errors = 1
  cgi = 0
  cmpext = .561
  compartment = TEST
  version = 1
  option = 12
  condition = $] >= 5.006001
 
the contents of test/tmp/out.htm is:

<HTML><HEAD><TITLE>Embperl Error</TITLE></HEAD><BODY bgcolor="#FFFFFF">
<H1>Internal Server Error</H1>
The server encountered an internal error or misconfiguration and was unable to c
omplete your request.<P>
Please contact the server administrator, [no address given] and inform them of t
he time the error occurred, and anything you might have done that may have cause
d the error.<P><P>
[1013]ERR:  32: Line 204: Warning in Perl code: Use of uninitialized value in su
broutine entry at /usr/local/gnu/perl_modules/HTML-Embperl-1.3.3/test/html/opmas
k/opmasktrap.htm in block starting at line 204.<p>
[1013]ERR:  32: Line 211: Warning in Perl code:         (in cleanup) iteration f
inalizer trapped by operation mask at /usr/local/gnu/perl_modules/HTML-Embperl-1
.3.3/test/html/opmask/opmasktrap.htm line 212.<p>
[1013]ERR:  24: Line 211: Error in Perl code:   (in cleanup) iteration finalizer
 trapped by operation mask at /usr/local/gnu/perl_modules/HTML-Embperl-1.3.3/tes
t/html/opmask/opmasktrap.htm line 212.<p>
[1013]ERR:  24: Line 215: Error in Perl code: syntax error at (eval 1455) line 1
, near &quot;package main&quot;<p>
Apache/1.3.12 (Unix) ApacheJServ/1.1.2 mod_perl/1.24 HTML::Embperl 1.3.3 [Thu Ju
n  7 09:19:01 2001]<P>
</BODY></HTML>
 

Ken Ray

Re: Problem with make test in Embperl 1.3.3

Posted by Gerald Richter <ri...@ecos.de>.
Hi,

this is only a problem of "make test" not of Embperl itself. Try to run the
tests with

make test TESTARGS="-i"

this will make the test continue after the error. If everything else is ok,
it's safe to use Embperl.
The probem is that different versions of Perl (even differently compiled
Perl's of the same version) emit different error messages and the test
programm has made the wrong guess which error messages it should compare to
in your case.

Could you please send me the output of

perl -V

so I can see how your Perl is compiled.

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------

----- Original Message -----
From: "Ken Ray" <Ra...@transport.nsw.gov.au>
To: <em...@perl.apache.org>
Sent: Thursday, June 07, 2001 1:20 AM
Subject: Problem with make test in Embperl 1.3.3


Environment:  Solaris 2.6

Perl: 5.6.1

output from make test:

#111 opmask/opmasktrap.htm...

[-1][Thu Jun  7 09:19:01 2001] [error] [1013]ERR:  24: Line 215: Error in
Perl c
ode: syntax error at (eval 1455) line 1, near "package main"

Input:          test/html/opmask/opmasktrap.htm
Output:         test/tmp/out.htm
Log:            test/tmp/test.log
Testparameter:
  errors = 1
  cgi = 0
  cmpext = .561
  compartment = TEST
  version = 1
  option = 12
  condition = $] >= 5.006001

the contents of test/tmp/out.htm is:

<HTML><HEAD><TITLE>Embperl Error</TITLE></HEAD><BODY bgcolor="#FFFFFF">
<H1>Internal Server Error</H1>
The server encountered an internal error or misconfiguration and was unable
to c
omplete your request.<P>
Please contact the server administrator, [no address given] and inform them
of t
he time the error occurred, and anything you might have done that may have
cause
d the error.<P><P>
[1013]ERR:  32: Line 204: Warning in Perl code: Use of uninitialized value
in su
broutine entry at
/usr/local/gnu/perl_modules/HTML-Embperl-1.3.3/test/html/opmas
k/opmasktrap.htm in block starting at line 204.<p>
[1013]ERR:  32: Line 211: Warning in Perl code:         (in cleanup)
iteration f
inalizer trapped by operation mask at
/usr/local/gnu/perl_modules/HTML-Embperl-1
.3.3/test/html/opmask/opmasktrap.htm line 212.<p>
[1013]ERR:  24: Line 211: Error in Perl code:   (in cleanup) iteration
finalizer
 trapped by operation mask at
/usr/local/gnu/perl_modules/HTML-Embperl-1.3.3/tes
t/html/opmask/opmasktrap.htm line 212.<p>
[1013]ERR:  24: Line 215: Error in Perl code: syntax error at (eval 1455)
line 1
, near &quot;package main&quot;<p>
Apache/1.3.12 (Unix) ApacheJServ/1.1.2 mod_perl/1.24 HTML::Embperl 1.3.3
[Thu Ju
n  7 09:19:01 2001]<P>
</BODY></HTML>


Ken Ray



----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org