Date: | Wed, 27 Aug 2003 15:36:23 -0400 |
From: | Jesse Vincent <jesse [...] bestpractical.com> |
To: | bug-encode-compat [...] rt.cpan.org |
Subject: | Encode::Compat seems to break under mason |
error:�
Unsupported conversion: Invalid argument at
/usr/lib/perl5/site_perl/5.6.1/Encode/compat/common.pm line 115.
context:�
...�
111:�
} map {
112:�
Encode::Alias->find_alias($_) || lc($_)
113:�
} ($_[1], $_[2]);
114:�
115:�
my $result = ($from eq $to) ? $_[0] : (
116:�
$decoder{$from, $to} ||= Text::Iconv->new( $from, $to )
117:�
)->convert($_[0]);
118:�
119:�
return $result;
...�
code stack:�
/usr/lib/perl5/site_perl/5.6.1/Encode/compat/common.pm:115
/usr/lib/perl5/site_perl/5.6.1/Encode/compat/common.pm:91
/opt/rt3/share/html/autohandler:40
Unsupported conversion: Invalid argument at
/usr/lib/perl5/site_perl/5.6.1/Encode/compat/common.pm line 115.
Trace begun at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Exceptions.pm
line 131
HTML::Mason::Exceptions::rethrow_exception('Unsupported conversion:
Invalid argument at
/usr/lib/perl5/site_perl/5.6.1/Encode/compat/common.pm line 115.^J')
called at /usr/lib/perl5/site_perl/5.6.1/Encode/compat/common.pm line
115
Encode::_convert('query', 'utf8', 'utf-8') called at
/usr/lib/perl5/site_perl/5.6.1/Encode/compat/common.pm line 91
Encode::decode('utf8', 'query', 256) called at
/opt/rt3/share/html/autohandler line 40
HTML::Mason::Commands::__ANON__('query', 'Owner = \'Nobody\' AND (Status
= \'open\' OR Status = \'new\')') called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8ecae3c)',
'query', 'Owner = \'Nobody\' AND (Status = \'open\' OR Status =
\'new\')') called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1057
eval {...}('HTML::Mason::Component::FileBased=HASH(0x8ecae3c)', 'query',
'Owner = \'Nobody\' AND (Status = \'open\' OR Status = \'new\')') called
at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1056
HTML::Mason::Request::comp(undef, undef, undef, 'query', 'Owner =
\'Nobody\' AND (Status = \'open\' OR Status = \'new\')') called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 331
eval {...}(undef, undef, undef, 'query', 'Owner = \'Nobody\' AND (Status
= \'open\' OR Status = \'new\')') called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 331
eval {...}(undef, undef, undef, 'query', 'Owner = \'Nobody\' AND (Status
= \'open\' OR Status = \'new\')') called at
/usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 290
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x93b9d34)')
called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm
line 134
eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x93b9d34)') called
at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 134
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x93b9d34)')
called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm
line 792
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x908a684)',
'Apache=SCALAR(0x949b968)') called at /opt/rt3/bin/webmux.pl line 118
RT::Mason::handler('Apache=SCALAR(0x949b968)') called at /dev/null line
0
eval {...}('Apache=SCALAR(0x949b968)') called at /dev/null line 0
--
http://www.bestpractical.com/rt -- Trouble Ticketing. Free.