Mailing List Archive

useless error message
Hi,

I'm getting this email message when trying to load a page, however,
there's no version.pm anywhere that I'm aware of. Also, it doesn't tell
me what module is looking for it. Without knowing what module is looking
for it, it's really hard to debug. Any tips?

bootstrap/logs/error.log:[11184]ERR: 24: Error in Perl code: Can't
locate version.pm in @INC (@INC contains: modules
/var/www/bootstrap/lib/perl5/site_perl/5.8.5/i686-linux-thread-multi/
/var/www/bootstrap/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi/
/usr/lib/perl5/5.8.5/i386-linux-thread-multi /usr/lib/perl5/5.8.5
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi /usr/lib/
perl5/site_perl/5.8.3/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.2/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.1/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2
/usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0
/usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl


--
"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

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: useless error message [ In reply to ]
Hi,
>
> I'm getting this email message when trying to load a page,
> however, there's no version.pm anywhere that I'm aware of.
> Also, it doesn't tell me what module is looking for it.
> Without knowing what module is looking for it, it's really
> hard to debug. Any tips?
>

Embperl itself doesn't use a version.pm. I guess it either some module or
page (maybe a typo).

I would do a grep -r to find where version.pm might get loaded.

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
Re: RE: useless error message [ In reply to ]
On Fri, Sep 01, 2006 at 05:54:08AM +0200, Gerald Richter wrote:
> Hi,
> >
> > I'm getting this email message when trying to load a page,
> > however, there's no version.pm anywhere that I'm aware of.
> > Also, it doesn't tell me what module is looking for it.
> > Without knowing what module is looking for it, it's really
> > hard to debug. Any tips?
> >
>
> Embperl itself doesn't use a version.pm. I guess it either some module or
> page (maybe a typo).
>
> I would do a grep -r to find where version.pm might get loaded.

I am aware of that fact. The point is that the error message is useless,
because it doesn't tell me what is trying to use version.pm


>
> Gerald
>
>
>
>
> ** Virus checked by BB-5000 Mailfilter **

--
"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

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: RE: useless error message [ In reply to ]
Hi,
> > >
> > > I'm getting this email message when trying to load a
> page, however,
> > > there's no version.pm anywhere that I'm aware of.
> > > Also, it doesn't tell me what module is looking for it.
> > > Without knowing what module is looking for it, it's
> really hard to
> > > debug. Any tips?
> > >
> >
> > Embperl itself doesn't use a version.pm. I guess it either
> some module
> > or page (maybe a typo).
> >
> > I would do a grep -r to find where version.pm might get loaded.
>
> I am aware of that fact. The point is that the error message
> is useless, because it doesn't tell me what is trying to use
> version.pm
>
>

That is correct, but I can't tell you either...

Embperl just logs the error message it gets from Perl.

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
Re: RE: RE: useless error message [ In reply to ]
hi,

On Fri, Oct 06, 2006 at 06:33:28AM +0200, Gerald Richter wrote:
> Hi,
> > > >
> > > > I'm getting this email message when trying to load a
> > page, however,
> > > > there's no version.pm anywhere that I'm aware of.
> > > > Also, it doesn't tell me what module is looking for it.
> > > > Without knowing what module is looking for it, it's
> > really hard to
> > > > debug. Any tips?
> > > >
> > >
> > > Embperl itself doesn't use a version.pm. I guess it either
> > some module
> > > or page (maybe a typo).
> > >
> > > I would do a grep -r to find where version.pm might get loaded.
> >
> > I am aware of that fact. The point is that the error message
> > is useless, because it doesn't tell me what is trying to use
> > version.pm
> >
> >
>
> That is correct, but I can't tell you either...
>
> Embperl just logs the error message it gets from Perl.

when running perl via the commandline, I never get an error where the
file from which the module is trying to be loaded is missing.

I would see something like:
BEGIN failed--compilation aborted at somemodule.pm line 243.

how come embperl is different? Are you sure it's not an embperl thing
(bug)?

-d

>
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: RE: RE: useless error message [ In reply to ]
hi,
>
> On Fri, Oct 06, 2006 at 06:33:28AM +0200, Gerald Richter wrote:
> > Hi,
> > > > >
> > > > > I'm getting this email message when trying to load a
> > > page, however,
> > > > > there's no version.pm anywhere that I'm aware of.
> > > > > Also, it doesn't tell me what module is looking for it.
> > > > > Without knowing what module is looking for it, it's
> > > really hard to
> > > > > debug. Any tips?
> > > > >
> > > >
> > > > Embperl itself doesn't use a version.pm. I guess it either
> > > some module
> > > > or page (maybe a typo).
> > > >
> > > > I would do a grep -r to find where version.pm might get loaded.
> > >
> > > I am aware of that fact. The point is that the error message is
> > > useless, because it doesn't tell me what is trying to use
> version.pm
> > >
> > >
> >
> > That is correct, but I can't tell you either...
> >
> > Embperl just logs the error message it gets from Perl.
>
> when running perl via the commandline, I never get an error where the
> file from which the module is trying to be loaded is missing.
>
> I would see something like:
> BEGIN failed--compilation aborted at somemodule.pm line 243.
>
> how come embperl is different? Are you sure it's not an embperl thing
> (bug)?
>

Embperl does not have a version.pm. Doing a

locate version.pm

On my system, shows that version.pm is part of FCGI.

Do you use the FastCGI module anywhere?

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
Re: RE: RE: RE: useless error message [ In reply to ]
On Wed, Oct 11, 2006 at 04:36:46PM +0200, Gerald Richter wrote:
> hi,
> >
> > On Fri, Oct 06, 2006 at 06:33:28AM +0200, Gerald Richter wrote:
> > > Hi,
> > > > > >
> > > > > > I'm getting this email message when trying to load a
> > > > page, however,
> > > > > > there's no version.pm anywhere that I'm aware of.
> > > > > > Also, it doesn't tell me what module is looking for it.
> > > > > > Without knowing what module is looking for it, it's
> > > > really hard to
> > > > > > debug. Any tips?
> > > > > >
> > > > >
> > > > > Embperl itself doesn't use a version.pm. I guess it either
> > > > some module
> > > > > or page (maybe a typo).
> > > > >
> > > > > I would do a grep -r to find where version.pm might get loaded.
> > > >
> > > > I am aware of that fact. The point is that the error message is
> > > > useless, because it doesn't tell me what is trying to use
> > version.pm
> > > >
> > > >
> > >
> > > That is correct, but I can't tell you either...
> > >
> > > Embperl just logs the error message it gets from Perl.
> >
> > when running perl via the commandline, I never get an error where the
> > file from which the module is trying to be loaded is missing.
> >
> > I would see something like:
> > BEGIN failed--compilation aborted at somemodule.pm line 243.
> >
> > how come embperl is different? Are you sure it's not an embperl thing
> > (bug)?
> >
>
> Embperl does not have a version.pm. Doing a
>
> locate version.pm
>
> On my system, shows that version.pm is part of FCGI.
>
> Do you use the FastCGI module anywhere?

Gerald, version.pm is not the issue. I have this happen with any module
not existing. Most of the time I know what the module is and where it
comes from, but I don't know what other files may be calling it.

My point is that perl by default will give the stack trace when calling
it from commandline, and embperl does not show it.

-d

>
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: RE: RE: RE: useless error message [ In reply to ]
>
> 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
Re: RE: RE: RE: RE: useless error message [ In reply to ]
Is there a CGI equivalent environmental variable to set?


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

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: Re: RE: RE: RE: RE: useless error message [ In reply to ]
>
> 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
Re: RE: Re: RE: RE: RE: RE: useless error message [ In reply to ]
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

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: Re: RE: Re: RE: RE: RE: RE: useless error message [ In reply to ]
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