On Wed, Jan 10, 2001 at 08:18:51AM +1100, Gavin Carr wrote:
> I'm getting intermittent system errors on several (all?) of my
> EmbperlObject pages. The pages themselves seem okay, since a reload
> will typically work (although not always the first time).
>
> The only message in the error_log is as follows:
>
> Can't locate object method "Path" via package "HTML::Embperl::DOC::_15" at
>/opt/perl5.6/lib/site_perl/5.6.0/i686-linux/HTML/Embperl.pm line 840.
> [Tue Jan 9 08:21:47 2001] [error] [3177]ERR: 24: Line 1: Error in Perl code: Can't
>locate object method "MailErrorsTo" via package "HTML::Embperl::DOC::_15" at
>/opt/perl5.6/lib/site_perl/5.6.0/i686-linux/HTML/Embperl.pm line 681.
> [Tue Jan 9 08:21:47 2001] [error] Can't locate object method "MailErrorsTo" via
>package "HTML::Embperl::DOC::_15" at
>/opt/perl5.6/lib/site_perl/5.6.0/i686-linux/HTML/Embperl.pm line 681.
>
> This is with apache 1.3.14, mod_perl 1.24_01, and HTML::Embperl 1.3, on
> linux. Any ideas where to start tracking this down?
i've been getting exactly these errors for the last few weeks..
(same versions)
"can't locate method "Path" via correct package", then some other
functions in the same page disappear too.
it seems to only knock out the one apache process, so if you reload
repeatedly then you eventually get another process which still
works. this is why it appears to be intermittent.
checking out the affected package with Apache::Status, shows it still
has all the variables, etc i'd expect to see. none of my pages touch
@ISA, and Apache::Status doesn't list it as defined for any embperl
page (i think it should - does Apache::Status deliberately not show
@ISA, or does EmbperlObject clear @ISA in the cleanup?)
the only "structural" thing i'd changed when they started was to start
using Apache::Registry. yesterday i stopped using it (went back to
normal cgi-script handler), and i haven't seen the problems reappear.
loading the Apache::Registry module is fine, but once you start using
it things go bad.
i was also seeing very strange behaviour in my scripts running under
Apache::Registry - "foreach" loops would run a different number of
times with the same input ..
are you also using Apache::Registry ?
--
- Gus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]