[rt-users] Encode error

Peter Ziobrzynski pzi at pzi.net
Wed Jul 30 14:54:33 EDT 2003


I see the same behavior in our 3.0.4. You are not alone...

Asif Iqbal wrote:
> When I try to download the content of a ticket , all texts, I get the following
> error
> 
> Unknown encoding '' at /opt/rt3/lib/RT/Attachment_Overlay.pm line 316
> 
> 
> Trace begun at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm
> line 128
> HTML::Mason::Exceptions::rethrow_exception('Unknown encoding \'\' at
> /opt/rt3/lib/RT/Attachment_Overlay.pm line 316^J') called at
> /usr/local/lib/perl5/5.8.0/Carp.pm line 191
> Carp::croak('Unknown encoding \'\'') called at
> /usr/local/lib/perl5/5.8.0/sun4-solaris/Encode.pm line 171
> Encode::from_to('Hi ,^JWe are in the process of  upgrading our weblogic server .
> When we started^Jupgrading , we  got lots of errors and the fix for those
> errors are to^Japply the required  OS patches  (recommended for JAVA ) . Could
> you please^Japply these patches at the earliest . ^JThanks^JRavi.^J^J 107544-03
> <findPatch.pl?patchId=107544&rev=03> SunOS 5.7:^J/usr/lib/fs/ufs/fsck
> patch^J 106950-22 <findPatch.pl?patchId=106950&rev=22> SunOS 5.7:
> Linker Patch ^J106327-20 <findPatch.pl?patchId=106327&rev=20> 32-Bit
> Shared library patch^Jfor C++^J 106300-21
> <findPatch.pl?patchId=106300&rev=21> 64-Bit Shared library patch^Jfor
> C++ ^J108376-42 <findPatch.pl?patchId=108376&rev=42> OpenWindows
> 3.6.1: Xsun Patch^J 107656-11 <findPatch.pl?patchId=107656&rev=11>
> OpenWindows 3.6.1 libXt^JPatch^J 107702-12
> <findPatch.pl?patchId=107702&rev=12> CDE 1.3: dtsession patch
> ^J108374-07 <findPatch.pl?patchId=108374&rev=07> CDE 1.3: libDtWidget
> Patch^J 107226-19 <findPatch.pl?patchId=107226&rev=19> CDE 1.3: dtwm
> patch^J 107081-53 <findPatch.pl?patchId=107081&rev=53> Motif 1.2.7 and
> 2.1.1:^JRuntime library patch for Solaris 7^J 107636-10
> <findPatch.pl?patchId=107636&rev=10> SunOS 5.7: X Input &
> Output^JMethod patch ^J107153-01 <findPatch.pl?patchId=107153&rev=01>
> SunOS 5.7: There are three^Jcharacters missed in zh.GBK songti.ttf^J 107834-04
> <findPatch.pl?patchId=107834&rev=04> SunOS 5.7: dkio.h
> &^Jcommands.h patch ^J106541-25
> <findPatch.pl?patchId=106541&rev=25> SunOS 5.7: Kernel Update^JPatch
> ^J106980-23 <findPatch.pl?patchId=106980&rev=23> SunOS 5.7: libthread
> patch ^J^J', 'utf8', undef) called at /opt/rt3/lib/RT/Attachment_Overlay.pm line
> 316
> RT::Attachment::OriginalContent('RT::Attachment=HASH(0x2426474)') called at
> /opt/rt3/share/html/Ticket/Attachment/dhandler line 65
> HTML::Mason::Commands::__ANON__ at
> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x24eed68)')
> called at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1056
> eval {...}('HTML::Mason::Component::FileBased=HASH(0x24eed68)') called at
> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1050
> HTML::Mason::Request::comp(undef, undef) called at
> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 746
> HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x231c594)')
> called at /opt/rt3/share/html/autohandler line 163
> HTML::Mason::Commands::__ANON__ at
> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Component.pm line 134
> HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x14e2288)')
> called at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1051
> eval {...}('HTML::Mason::Component::FileBased=HASH(0x14e2288)') called at
> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 1050
> HTML::Mason::Request::comp(undef, undef, undef) called at
> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 331
> eval {...}(undef, undef, undef) called at
> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 331
> eval {...}(undef, undef, undef) called at
> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 290
> HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x231c594)')
> called at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line
> 134
> eval {...}('HTML::Mason::Request::ApacheHandler=HASH(0x231c594)') called at
> /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 134
> HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x231c594)')
> called at /usr/local/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line
> 792
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x1249078)',
> 'Apache=SCALAR(0x235a820)') called at /opt/rt3/bin/webmux.pl line 118
> RT::Mason::handler('Apache=SCALAR(0x235a820)') called at /dev/null line 0
> eval {...}('Apache=SCALAR(0x235a820)') called at /dev/null line 0
> 
> 
> I recently migrated RT2.0.13 to RT3.0.4 using import tool v1.16. I am running it
> using mod_perl1 , perl 5.8.0
> 
> Please help
> 
> Thanks
> 

-- 
Peter Ziobrzynski, mailto:pzi at pzi.net




More information about the rt-users mailing list