Strange error

Hey all

RT3.0.3, apache 1.3.27, Mod_Perl 1.28, and Mysql.

I get this error at random times, on random pages.
Every time, is past the login screen with my username/password cached in
mozilla.

I’m no perl guy, but my take on this is my perl install is munged.

anyone have any ideas how i can fix this?

thanks

chris

                          System error

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
/usr/lib/perl5/site_perl/5.6.1/Encode/compat/common.pm:83
/usr/home/notifix/rt/lib/RT/Record.pm:430
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm:590
/usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm:409
/usr/home/notifix/rt/lib/RT/User_Overlay.pm:1112
/usr/home/notifix/rt/lib/RT/User_Overlay.pm:431
/usr/home/notifix/rt/lib/RT/CurrentUser.pm:285
/usr/home/notifix/rt/share/html/autohandler:157
raw error

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(22, ‘utf8’, ‘utf-8’) called at /usr/lib/perl5/site_perl/5.6.1/Encode/compat/common.pm line 91
Encode::decode(‘utf8’, 22) called at /usr/lib/perl5/site_perl/5.6.1/Encode/compat/common.pm line 83
Encode::decode_utf8(22) called at /usr/home/notifix/rt/lib/RT/Record.pm line 430
RT::Record::__Value(‘RT::Principal=HASH(0x924342c)’, ‘ObjectId’) called at /usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm line 590
DBIx::SearchBuilder::Record::_Value(‘RT::Principal=HASH(0x924342c)’, ‘ObjectId’) called at /usr/lib/perl5/site_perl/5.6.1/DBIx/SearchBuilder/Record.pm line 409
DBIx::SearchBuilder::Record::ANON(‘RT::Principal=HASH(0x924342c)’) called at /usr/home/notifix/rt/lib/RT/User_Overlay.pm line 1112
RT::User::PrincipalObj(‘RT::User=HASH(0x92de23c)’) called at /usr/home/notifix/rt/lib/RT/User_Overlay.pm line 431
RT::User::Privileged(‘RT::User=HASH(0x92de23c)’) called at /usr/home/notifix/rt/lib/RT/CurrentUser.pm line 285
RT::CurrentUser::Privileged(‘RT::CurrentUser=HASH(0x924be4c)’) called at /usr/home/notifix/rt/share/html/autohandler line 157
HTML::Mason::Commands::ANON at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 134
HTML::Mason::Component::run(‘HTML::Mason::Component::FileBased=HASH(0x8f73680)’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1057
eval {…}(‘HTML::Mason::Component::FileBased=HASH(0x8f73680)’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 1056
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 331
eval {…}(undef, undef, undef) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 331
eval {…}(undef, undef, undef) 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(0x92de2d8)’) called at /usr/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 134
eval {…}(‘HTML::Mason::Request::ApacheHandler=HASH(0x92de2d8)’) 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(0x92de2d8)’) 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(0x9041638)’, ‘Apache=SCALAR(0x938df88)’) called at /usr/home/notifix/rt/bin/webmux.pl line 118
RT::Mason::handler(‘Apache=SCALAR(0x938df88)’) called at /dev/null line 0
eval {…}(‘Apache=SCALAR(0x938df88)’) called at /dev/null line 0
Christopher Neitzert http://www.neitzert.com/~chris
chrisneitzertcom - GPG Key ID: 7DCC491B

signature.asc (189 Bytes)

What are the language setting of the browser and what language do you use
when typing into RT?----- Original Message -----
From: “christopher neitzert” chris@neitzert.com
To: rt-users@lists.fsck.com
Sent: Thursday, July 24, 2003 8:11 AM
Subject: [rt-users] strange error

Hey all

RT3.0.3, apache 1.3.27, Mod_Perl 1.28, and Mysql.

I get this error at random times, on random pages.
Every time, is past the login screen with my username/password cached in
mozilla.

I’m no perl guy, but my take on this is my perl install is munged.

anyone have any ideas how i can fix this?

thanks

chris

                          System error

error:
Unsupported conversion: Invalid
argument at
/usr/lib/perl5/site_perl/5.6.1/Encode/compat/common.pm line 115.
context:

Perl 5.6’s handling of unicode is sub-par. Upgrading to RT 3.0.4 might
trap this error, but upgrading to perl 5.8 is more likely to make sure
you don’t get bitten by things like it in the future.

Ron,

I’m using:
Language: English.
Browser: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030516
Mozilla Firebird/0.6

After receiving your email i tried it with
Mozilla 1.4
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/2003052

and had a similar error when commenting on a ticket.

I have not seen the error in Internet Explorer 6.

chrisOn Thu, 2003-07-24 at 07:31, Ron Gidron wrote:

What are the language setting of the browser and what language do you use
when typing into RT?
----- Original Message -----
From: “christopher neitzert” chris@neitzert.com
To: rt-users@lists.fsck.com
Sent: Thursday, July 24, 2003 8:11 AM
Subject: [rt-users] strange error
Christopher Neitzert http://www.neitzert.com/~chris
775.853.5314 - chris@neitzert.com - GPG Key ID: 7DCC491B

signature.asc (189 Bytes)

Hi there;

I keep getting this error in apache error file :
[error] handler RT::Mason didn’t return a valid return value!

Anyone else come across this , and have a fix, don’t know where to start
debuging this one ??

Roy

Raed El - Hames wrote:

Hi there;

I keep getting this error in apache error file :
[error] handler RT::Mason didn’t return a valid return value!

Anyone else come across this , and have a fix, don’t know where to start
debuging this one ??
Start from http://wiki.bestpractical.com/index.cgi?FAQ
"When you want to ask a question"

Ruslan I did check the wiki, and I just looked again but I don’t think there
is anything related to my problem , I do not use WebExternalAuth
Set($WebExternalAuth , undef);
Do I still need to set :
satisfy any
allow from all
in my apache conf ??
The system is 3G CPU. 1G Ram, gentoo, apache2+modperl+ssl ,mysql 4.0.20,
DBIx 1.16, perl v5.8.4
This problem started suddenly (no configuration changes were done), most
likely on apache restart (when rotating logs)

Many thanks;

RoyFrom: “Ruslan U. Zakirov” Ruslan.Zakirov@acronis.com
To: rfh@pipex.net
Cc: rt-users@bestpractical.com
Sent: Monday, January 17, 2005 8:36 PM
Subject: Re: [rt-users] strange error

Raed El - Hames wrote:

Hi there;

I keep getting this error in apache error file :
[error] handler RT::Mason didn’t return a valid return value!

Anyone else come across this , and have a fix, don’t know where to start
debuging this one ??
Start from http://wiki.bestpractical.com/index.cgi?FAQ
"When you want to ask a question"

Roy


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact
training@bestpractical.com for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com


http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

RT Administrator and Developer training is coming to your town soon!
(Boston, San Francisco, Austin, Sydney) Contact training@bestpractical.com
for details.

Be sure to check out the RT Wiki at http://wiki.bestpractical.com