Localisation error within RT3/rt-crontool?

I’ve been trying to get the escalator cron tool in RT3.0.0 running and am
getting a Perl error thus:

./rt-crontool

Failed to load module . (Can’t locate RT/I18N/en_us.pm in @INC (@INC
contains: /usr/local/rt3/lib /usr/local/rt3/local/lib
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl .) at (eval 1408) line 3.
) at ./rt-crontool line 137.

It looks like there is no en_us.pm in the locales directory, nor on the
system anywhere. Other than this everything in RT3 has been working just
fine. My perl executable is v.5.6.1. and the locale command reports:

locale

LANG=en_US.iso885915
LC_CTYPE="en_US.iso885915"
LC_NUMERIC="en_US.iso885915"
LC_TIME="en_US.iso885915"
LC_COLLATE="en_US.iso885915"
LC_MONETARY="en_US.iso885915"
LC_MESSAGES="en_US.iso885915"
LC_PAPER="en_US.iso885915"
LC_NAME="en_US.iso885915"
LC_ADDRESS="en_US.iso885915"
LC_TELEPHONE="en_US.iso885915"
LC_MEASUREMENT="en_US.iso885915"
LC_IDENTIFICATION="en_US.iso885915"
LC_ALL=

Any thoughts?

So. what is there in /usr/local/rt3/lib/RT/I18N?
I’d put money on a permissions issue.On Thu, Apr 10, 2003 at 09:48:05AM -0700, Kris Boutilier wrote:

I’ve been trying to get the escalator cron tool in RT3.0.0 running and am
getting a Perl error thus:

./rt-crontool

Failed to load module . (Can’t locate RT/I18N/en_us.pm in @INC (@INC
contains: /usr/local/rt3/lib /usr/local/rt3/local/lib
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux /usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl .) at (eval 1408) line 3.
) at ./rt-crontool line 137.

It looks like there is no en_us.pm in the locales directory, nor on the
system anywhere. Other than this everything in RT3 has been working just
fine. My perl executable is v.5.6.1. and the locale command reports:

locale

LANG=en_US.iso885915
LC_CTYPE="en_US.iso885915"
LC_NUMERIC="en_US.iso885915"
LC_TIME="en_US.iso885915"
LC_COLLATE="en_US.iso885915"
LC_MONETARY="en_US.iso885915"
LC_MESSAGES="en_US.iso885915"
LC_PAPER="en_US.iso885915"
LC_NAME="en_US.iso885915"
LC_ADDRESS="en_US.iso885915"
LC_TELEPHONE="en_US.iso885915"
LC_MEASUREMENT="en_US.iso885915"
LC_IDENTIFICATION="en_US.iso885915"
LC_ALL=

Any thoughts?


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.

ls -la /usr/local/rt3/lib/RT/I18N/

total 1516
drwxr-sr-x 2 root bin 4096 Mar 24 08:38 .
drwxr-sr-x 8 root bin 4096 Mar 24 08:38 …
-rw-r–r-- 1 root bin 120150 Mar 24 08:38 cs.po
-rw-r–r-- 1 root bin 126941 Mar 24 08:38 de.po
-rw-r–r-- 1 root bin 1145 Mar 24 08:38 en.po
-rw-r–r-- 1 root bin 124734 Mar 24 08:38 es.po
-rw-r–r-- 1 root bin 124597 Mar 24 08:38 fi.po
-rw-r–r-- 1 root bin 140580 Mar 24 08:38 fr.po
-rw-r–r-- 1 root bin 3087 Mar 24 08:38 i_default.pm
-rw-r–r-- 1 root bin 133355 Mar 24 08:38 ja.po
-rw-r–r-- 1 root bin 132752 Mar 24 08:38 nl.po
-rw-r–r-- 1 root bin 139633 Mar 24 08:38 pt_br.po
-rw-r–r-- 1 root bin 139568 Mar 24 08:38 ru.po
-rw-r–r-- 1 root bin 139434 Mar 24 08:38 zh_cn.po
-rw-r–r-- 1 root bin 139440 Mar 24 08:38 zh_tw.po

Apache is running as apache:apache. The relevant VirtualHost from httpd.conf
is:

ServerName rt3
ServerPath /rt3

DocumentRoot /usr/local/rt3/share/html
AddDefaultCharset UTF-8

AddHandler fastcgi-script fcgi
Alias /NoAuth/images/ /usr/local/rt3/share/html/NoAuth/images/
ScriptAlias / /usr/local/rt3/bin/mason_handler.fcgi/
FastCgiServer /usr/local/rt3/bin/mason_handler.fcgi -processes 1From: Jesse Vincent [mailto:jesse@bestpractical.com]

Sent: April 10, 2003 9:52 AM
To: Kris Boutilier
Cc: rt-users@lists.fsck.com
Subject: Re: [rt-users] Localisation error within RT3/rt-crontool?

So. what is there in /usr/local/rt3/lib/RT/I18N?
I’d put money on a permissions issue.

I’ve been trying to get the escalator cron tool in RT3.0.0 running and am
getting a Perl error thus:

./rt-crontool

Failed to load module . (Can’t locate RT/I18N/en_us.pm in @INC (@INC
contains: /usr/local/rt3/lib /usr/local/rt3/local/lib
/usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1
/usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1
/usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl
/usr/lib/perl5/vendor_perl/5.6.1/i386-linux
/usr/lib/perl5/vendor_perl/5.6.1
/usr/lib/perl5/vendor_perl .) at (eval 1408) line 3.
) at ./rt-crontool line 137.

It looks like there is no en_us.pm in the locales directory, nor on the
system anywhere. Other than this everything in RT3 has been working just
fine. My perl executable is v.5.6.1. and the locale command reports:

locale

LANG=en_US.iso885915
LC_CTYPE="en_US.iso885915"
LC_NUMERIC="en_US.iso885915"
LC_TIME="en_US.iso885915"
LC_COLLATE="en_US.iso885915"
LC_MONETARY="en_US.iso885915"
LC_MESSAGES="en_US.iso885915"
LC_PAPER="en_US.iso885915"
LC_NAME="en_US.iso885915"
LC_ADDRESS="en_US.iso885915"
LC_TELEPHONE="en_US.iso885915"
LC_MEASUREMENT="en_US.iso885915"
LC_IDENTIFICATION="en_US.iso885915"
LC_ALL=

Any thoughts?


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.