You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by "Richter, Gerald" <ri...@ecos.de> on 2007/02/01 16:08:05 UTC

RE: Re: RE: Re: RE: RE: RE: RE: useless error message

Hi,

What happens if you put a runtime error in (like   $a = 5 ; $a = $a / 0 ). Does it show a backtrace now?

Gerald

--------------------------------------------------------------------------
Besuchen Sie uns auf der CeBIT (15.-21.3.2007): Halle 4 Stand A4 (E.T.C.F)
--------------------------------------------------------------------------
Gerald Richter       ECOS electronic communication services GmbH
*******************  SECURING YOUR NETWORK  ********************

Post:       Tulpenstrasse 5            D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de            Voice:   +49 6133 939-122
WWW:        http://www.BB-5000.info    Fax:     +49 6133 939-333

Sitz der Gesellschaft: Dienheim; AG Mainz HRB 6889; GF: W.Heck, G.Richter
--------------------------------------------------------------------------
 
  

> -----Original Message-----
> From: Daniel [mailto:embperl@7thfire.com] 
> Sent: Friday, January 26, 2007 7:10 PM
> To: Richter, Gerald
> Cc: embperl
> Subject: Re: RE: Re: RE: RE: RE: RE: useless error message
> 
> Thanks Gerald, but I don't seem to get it working:
> 
> using lighttpd
> 
> setenv.add-environment = (
>         "EMBPERL_SESSION_HANDLER_CLASS" => "no",
>         "EMBPERL_ESCMODE" => "0",
>         "EMBPERL_OPTIONS" => "0x8000000", #optShowBacktrace = 
> 0x8000000
>         "EMBPERL_INPUT_ESCMODE" => "0",
>         "GATEWAY_INTERFACE" => "1",
> )
> 
> I put in my footer.epl "use noexists" which gets called by my 
> index.epl
> 
> [13151]ERR: 24: Error in Perl code: Can't locate noexists.pm 
> in @INC (@INC
> contains: /usr/local/lib/perl5/site_perl/ 
> /usr/local/lib/perl5/5.8.4//i686-linux-thread-multi
> /usr/local/lib/perl5/5.8.4/
> /usr/local/lib/perl5/5.8.4/i686-linux-thread-multi
> /usr/local/lib/perl5/5.8.4 /usr/local/lib/perl5
> 
> 
> as you can see, there's no mention of footer.epl in the error message.
> 
> Doing a print Dumper \%ENV in footer.epl does show 
> 'EMBPERL_OPTIONS' => '0x8000000'
> so the environmental variable is getting set.
> 
> any ideas?
> 
> -d
> 
> 
> On Fri, Jan 26, 2007 at 10:46:49AM +0100, Richter, Gerald wrote:
> > > 
> > > Is there a CGI equivalent environmental variable to set?
> > > 
> > 
> > It's in EMBPERL_OPTIONS, you should look up the right numeric value 
> > from the docs
> > 
> > Gerald
> > 
> > 
> > > 
> > > On Tue, Oct 24, 2006 at 05:32:20AM +0200, Gerald Richter wrote:
> > > > > 
> > > > > My point is that perl by default will give the stack 
> trace when 
> > > > > calling it from commandline, and embperl does not show it.
> > > > > 
> > > > 
> > > > Embperl passes through whatever Perl provides as error message.
> > > > 
> > > > You can set optShowBacktrace to get additional information
> > > about the
> > > > calltree within Embperl Execute calls
> > > > 
> > > > Gerald
> > > > 
> > > > 
> > > >  
> > > > ** Virus checked by BB-5000 Mailfilter **
> > > > 
> > > > 
> > > > 
> > > 
> --------------------------------------------------------------------
> > > -
> > > > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > > > For additional commands, e-mail: embperl-help@perl.apache.org
> > > 
> > > --
> > > "You will never know how much it has cost my generation 
> to preserve 
> > > your freedom. I hope you will make good use of it."
> > > -- John Quincy Adams
> > > 
> > > "Yes, we did produce a near-perfect republic. But will 
> they keep it? 
> > > Or will they, in the enjoyment of plenty, lose the memory of 
> > > freedom? Material abundance without character is the path of 
> > > destruction." -- Thomas Jefferson
> > > 
> > >  
> > > ** Virus checked by BB-5000 Mailfilter ** 
> > > !DSPAM:45b98fbb299752076612602!
> > > 
> > > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> > For additional commands, e-mail: embperl-help@perl.apache.org
> 
> --
> "You will never know how much it has cost my generation to 
> preserve your freedom. I hope you will make good use of it." 
> -- John Quincy Adams
> 
> "Yes, we did produce a near-perfect republic. But will they 
> keep it? Or will they, in the enjoyment of plenty, lose the 
> memory of freedom? Material abundance without character is 
> the path of destruction." -- Thomas Jefferson
> 
>  
> ** Virus checked by BB-5000 Mailfilter ** 
> !DSPAM:45ba4403205531503482860!
> 
> 

 
** Virus checked by BB-5000 Mailfilter ** 


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