[rt-users] Wide character in subroutine entry at /usr/share/perl5/vendor_perl/Cache/FileBackend.pm line 201

Arkadiusz Miśkiewicz arekm at maven.pl
Mon Nov 28 04:54:12 EST 2011


Recently when trying to edit some queues configuration in rt 4.0.4 and I got:

Wide character in subroutine entry at
        /usr/share/perl5/vendor_perl/Cache/FileBackend.pm line 201.

where that's subroutine _Build_Unique_Key and the line is return sha1_hex( 
$p_key );

The workarounds I came up was doing:

use Encode qw(encode_utf8);
return sha1_hex( encode_utf8($p_key) ); 

or simply disabling GPG.

What's correct fix for that?
-- 
Arkadiusz Miśkiewicz        PLD/Linux Team
arekm / maven.pl            http://ftp.pld-linux.org/



More information about the rt-users mailing list