Hi All,
We have a modperl application that is an online homework system for math
courses called webwork. My installation and a few others have seen a
sporadic error from APR::Table that nobody quite knows how to diagnose.
Here are two typical examples:
Example 1:
Can't locate object method "get
On Friday, May 06, 2011 17:24:18 Jason Aubrey wrote:
> Any hints/tips/ideas would be very much appreciated.
Are you really sure (I mean really really) that APR::Table is loaded? I
see you load Apache2::Log but nothing about APR::Table.
I think if you replace line 74
my $warnings = $r->notes->
>
> my $warnings = eval {$r->notes->get("warnings")};
> if( $@ ) {
>warn "APR::Table is '$INC{q{APR/Table.pm}}'";
>die $@;
> }
>
> you will see that it is not loaded.
>
>
Thanks Torsten - we'll try this out.
If you use a threaded Perl make sure every interpreter loads APR::Table.
> Do y
Additional data:
One effected installation (Ubuntu 10.04.2, Apache 2.2.14, Perl 5.10.1,
libapache2-mod-perl2 2.0.4) reports that that eval
{$r->notes->get("warnings")} did not produce an error ($@ was not set) in
his case, but that this problem went away for him after reverting the ubuntu
perl up