RT 3.4.4 / Mason 1.3101 critical Apache error

I had a working RT 3.4.2 installation until I tried upgrading to 3.4.4
today.

After a number of problems I thought I needed to upgrade HTML::Mason so
I did via CPAN to 1.3101 and now I am getting:
[Wed Aug 31 16:15:24 2005] [crit]: The ‘comp’ parameter (undef) to
HTML::Mason::Request::CGI->new() was an ‘undef’, which is not one of the
allowed types: scalar object

Stack:
[/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/CGIHandler.pm:127]
[/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/CGIHandler.pm:63]
[/usr/local/rt3/bin/webmux.pl:123]
[-e:0]
(/usr/local/rt3/bin/webmux.pl:125)

When I try to load the main RT page.

I’ve spent a lot of time looking at it but I am at a loss as to exactly
how RT calls HTML::Mason::Request::CGI->new() or how to set the 'comp’
parameter or what it should be set to. I’m out of ideas and I need
help. I have thought about trying to downgrade Mason, but it seems like
such a massive set of modules with so many dependencies that I hesitate
to attempt that until I’ve exhausted my other options.

Background on how I got to the Mason upgrade:

I have never had any troubles getting RT running until I tried to
upgrade from 3.4.2 to 3.4.4 today. I had been running successfully with
mod_perl 1.99 but after installing RT 3.4.4 it told me that I needed
mod_perl 2.0. So I uninstalled mod_perl 1.99 and downloaded and
installed mod_perl 2.0.1.

I had some problems initially with my mod_perl 2.0.1 installation which
caused me to think that I needed to grab the latest HTML::Mason from
CPAN. I did that and now I am on 1.3101. I realized after the fact
that I probably didn’t need to update my HTML::Mason and the update to
HTML::Mason is what is causing me troubles.

Any pointers or ideas would be greatly appreciated.

Thanks,
Sean

signature.asc (189 Bytes)

Update HTTP::Server::Simple::Mason to the latest available on CPAN version.On 8/31/05, Sean E. Millichamp sean@compu-aid.net wrote:

I had a working RT 3.4.2 installation until I tried upgrading to 3.4.4
today.

After a number of problems I thought I needed to upgrade HTML::Mason so
I did via CPAN to 1.3101 and now I am getting:
[Wed Aug 31 16:15:24 2005] [crit]: The ‘comp’ parameter (undef) to
HTML::Mason::Request::CGI->new() was an ‘undef’, which is not one of the
allowed types: scalar object

Stack:
[/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/CGIHandler.pm:127]
[/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/CGIHandler.pm:63]
[/usr/local/rt3/bin/webmux.pl:123]
[-e:0]
(/usr/local/rt3/bin/webmux.pl:125)

When I try to load the main RT page.

I’ve spent a lot of time looking at it but I am at a loss as to exactly
how RT calls HTML::Mason::Request::CGI->new() or how to set the 'comp’
parameter or what it should be set to. I’m out of ideas and I need
help. I have thought about trying to downgrade Mason, but it seems like
such a massive set of modules with so many dependencies that I hesitate
to attempt that until I’ve exhausted my other options.

Background on how I got to the Mason upgrade:

I have never had any troubles getting RT running until I tried to
upgrade from 3.4.2 to 3.4.4 today. I had been running successfully with
mod_perl 1.99 but after installing RT 3.4.4 it told me that I needed
mod_perl 2.0. So I uninstalled mod_perl 1.99 and downloaded and
installed mod_perl 2.0.1.

I had some problems initially with my mod_perl 2.0.1 installation which
caused me to think that I needed to grab the latest HTML::Mason from
CPAN. I did that and now I am on 1.3101. I realized after the fact
that I probably didn’t need to update my HTML::Mason and the update to
HTML::Mason is what is causing me troubles.

Any pointers or ideas would be greatly appreciated.

Thanks,
Sean

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQBDFeFhlsIYP8YyMyQRAoWWAJ47O/V8pZYE6sIchz+pQOGDi8cb+wCfSMXd
DEMvvnnvgwT2+LOnQSMdgbM=
=dkjc
-----END PGP SIGNATURE-----


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT Wiki at http://wiki.bestpractical.com

Buy your copy of our new book, RT Essentials, today!

Download a free sample chapter from http://rtbook.bestpractical.com

Best regards, Ruslan.

After a number of problems I thought I needed to upgrade HTML::Mason so
I did via CPAN to 1.3101 and now I am getting:
[Wed Aug 31 16:15:24 2005] [crit]: The ‘comp’ parameter (undef) to
HTML::Mason::Request::CGI->new() was an ‘undef’, which is not one of the
allowed types: scalar object

Stack:
[/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/CGIHandler.pm:127]
[/usr/lib/perl5/site_perl/5.8.5/HTML/Mason/CGIHandler.pm:63]
[/usr/local/rt3/bin/webmux.pl:123]
[-e:0]
(/usr/local/rt3/bin/webmux.pl:125)

When I try to load the main RT page.

I solved it.

It turns out that either due to the mod_perl 2.01 update or the
HTML::Mason update (or both) I needed to update some additional Perl
modules. After I updated both CGI and Apache2::Request and restarted
Apache RT started working again.

Hope that helps someone…

Sean

signature.asc (189 Bytes)