Fellow Monks!

Friday evening I updated Catalyst to version 5.33 through the use of the ppm command "upgrade". It also upgraded a lot of other modules (a.o. mod_perl).

Now my Catalyst application has stopped working.

Fearing some damage to mod_perl (which is alwys a bit of a pain to get it working on Windows), I checked some other scripts running under mod_perl (such as the "perl-status" module) and these seem to work fine.

So I wrote an absolute minimal "Catalyst"-enabled module (just use Catalyst qw/-Debug/; 1;) and tried to run that in my Apache/mod_perl server (http://localhost/MyApp). The error-log shows [Sun Aug 21 17:38:54 2005] [notice] Parent: child process exited with status 9 -- Restarting. and FireFox tries to load www.localhost.com. Very strange: no error message, nothing else in the error-log. If I try to access a non-existing location on my "localhost" I get the usual 404 Not Found error page.

If I comment out the use Catalyst qw/-Debug/; statement and put in an empty handler sub I get no errors anymore and Apache returns an empty page.

So it seems that the problem is with Catalyst.

Did anybody experience this too? Someone an idea to solve it?

I will post this tomorrow on the Catalyst mailing list too (I have no access now).

Update: Having looked some more at my set-up, I see that the Catalyst::Engine::Apache::MP20::Apreq module uses Apache2::Request which I don't have on my system. It is on CPAN, but neither CPAN nor CPANPLUS will install it on my compiler-challenged Windows XP. PPM doesn't have it either. Does any Windows XP Monk has it in her/his site/lib tree?

Update 2: I found Apache2::Request, it is part of the libapreq-library, which PPM can install. Unfortunately, it didn't solve my problem. I keep getting the same errors.

Update 2: Solved! It seems that somehow the line __PACKAGE__->setup got commented out in my application-module and therefore Catalyst was not doing its set-up before it got called, which caused all this weird behaviour.

CountZero

"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law


In reply to Catalyst broken after update? by CountZero

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.