En.po error with fastcgi?

Hi…

I just reinstalled rt3 on rh9 with apache2 and fastcgi.
When I enabled LexiconLanguages = qw(en); in RT_SiteConfig.pm
Fastcgi goes out with a bang with this error…

—8X—
cannot find /opt/rt3/local/po/*/en.po (called by RT::I18N) in @INC at
/usr/lib/perl5/site_perl/5.8.0/Locale/Maketext/Lexicon.pm line 317.
Compilation failed in require at /opt/rt3/bin/mason_handler.fcgi line 28.
[Wed Nov 05 09:31:59 2003] [warn] FastCGI: server
"/opt/rt3/bin/mason_handler.fcgi" (pid 10595) terminated by calling exit
with status ‘2’
—8X—

So I found this in the maillist.

[root@rt rt3]# diff /opt/rt3/lib/RT/I18N.org /opt/rt3/lib/RT/I18N.pm
97c97
< Gettext => “$RT::LocalLexiconPath/*/$_.po”,

          Gettext => "$RT::LocalLexiconPath/$_.po",

And

cp /opt/rt3/lib/RT/I18N/en.po /opt/rt3/local/po/en.po

It feels like a ugly hack but it worked…

Is that a bug or is it my installation who is fscked you think?
Everything looks good with the pearl deps…

// tnx Falk

Upgrade to the latest Locale::Maketext::Lexicon. That should fix this
error.On Wed, Nov 05, 2003 at 09:40:28AM +0100, Andreas Falk wrote:

Hi…

I just reinstalled rt3 on rh9 with apache2 and fastcgi.
When I enabled LexiconLanguages = qw(en); in RT_SiteConfig.pm
Fastcgi goes out with a bang with this error…

—8X—
cannot find /opt/rt3/local/po/*/en.po (called by RT::I18N) in @INC at
/usr/lib/perl5/site_perl/5.8.0/Locale/Maketext/Lexicon.pm line 317.
Compilation failed in require at /opt/rt3/bin/mason_handler.fcgi line 28.
[Wed Nov 05 09:31:59 2003] [warn] FastCGI: server
"/opt/rt3/bin/mason_handler.fcgi" (pid 10595) terminated by calling exit
with status ‘2’
—8X—

So I found this in the maillist.

[root@rt rt3]# diff /opt/rt3/lib/RT/I18N.org /opt/rt3/lib/RT/I18N.pm
97c97
< Gettext => “$RT::LocalLexiconPath/*/$_.po”,

          Gettext => "$RT::LocalLexiconPath/$_.po",

And

cp /opt/rt3/lib/RT/I18N/en.po /opt/rt3/local/po/en.po

It feels like a ugly hack but it worked…

Is that a bug or is it my installation who is fscked you think?
Everything looks good with the pearl deps…

// tnx Falk


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

http://www.bestpractical.com/rt – Trouble Ticketing. Free.