[rt-users] en.po error with fastcgi?

Andreas Falk anfa at edu.nykoping.se
Wed Nov 5 03:40:28 EST 2003


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 at 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




More information about the rt-users mailing list