[request-tracker-maintainers] Bug#666155: request-tracker3.8: Problems with letters in utf8
Malov Alexey
scukonick at gmail.com
Thu Mar 29 10:13:14 UTC 2012
Package: request-tracker3.8
Version: 3.8.8-7+squeeze1
Severity: important
Tags: squeeze
Hello!
Request-tracker3.8 rejects emails with cyrillic letters.
I have postfix 2.7.1-1+squeeze1, apache2 2.2.16-6+squeeze6, request-tracker3.8 3.8.8-7+squeeze1. Request tracker is working in fcgid mode. When it receive letter with cyrillic letters, I see following error in mail.log:
Mar 25 07:03:47 srv10i postfix/local[17463]: 09AB6849A9: to=<email at rt.example.com>, relay=local, delay=29952, delays=29951/0.03/0/1.3, dsn=4.3.0, status=deferred (temporary failure. Command output: RT server error. The RT server which handled your email did not behave as expected. It said: Wide character in FCGI::Stream::PRINT at /usr/share/perl5/Log/Dispatch/Screen.pm line 38. Stack: [/usr/share/perl5/Log/Dispatch/Screen.pm:38] [/usr/share/perl5/Log/Dispatch/Output.pm:39] [/usr/share/perl5/Log/Dispatch.pm:150] [/usr/share/perl5/Log/Dispatch.pm:98] [/usr/share/perl5/Log/Dispatch.pm:73] [/usr/share/perl5/Log/Dispatch.pm:21] [/usr/share/request-tracker3.8/lib/RT/Ticket_Overlay.pm:671] [/usr/share/request-tracker3.8/lib/RT/Interface/Email.pm:1451] [/usr/share/request-tracker3.8/html/REST/1.0/NoAuth/mail-gateway:61] )
I have fixed it with changing subroutine log_message at /usr/share/perl5/Log/Dispatch/Screen.pm to this:
sub log_message
{
my $self = shift;
my %p = @_;
if ($self->{stderr})
{
print STDERR utf8::encode ($p{message});
}
else
{
print STDOUT utf8::encode($p{message});
}
}
-- Package-specific info:
Changed files:
-- System Information:
Debian Release: 6.0.4
APT prefers stable
APT policy: (1000, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages request-tracker3.8 depends on:
ii dbconfig-common 1.8.46+squeeze.0 common framework for packaging dat
ii debconf [debconf-2.0] 1.5.36.1 Debian configuration management sy
ii libapache-session-perl 1.87-1 Perl modules for keeping persisten
ii libcache-simple-timede 0.27-2 Perl module to cache and expire ke
ii libcalendar-simple-per 1.21-1 module for producing simple calend
ii libcgi-fast-perl 5.10.1-17squeeze3 CGI::Fast Perl module
ii libcgi-pm-perl 3.49-1squeeze1 module for Common Gateway Interfac
ii libclass-returnvalue-p 0.55-1 A return-value object that lets yo
ii libcss-squish-perl 0.09-1 module to compact many CSS files i
ii libdata-ical-perl 0.16+dfsg-1 Perl module for manipulating iCale
ii libdbi-perl 1.612-1 Perl Database Interface (DBI)
ii libdbix-searchbuilder- 1.56-1 Perl implementation of a simple OR
ii libdevel-stacktrace-pe 1.2100-1 Perl module containing stack trace
ii libemail-address-perl 1.889-2 RFC 2822 Address Parsing and Creat
ii libfcgi-procmanager-pe 0.18-2 Functions for managing FastCGI app
ii libfile-sharedir-perl 1.00-0.1 Locate per-dist and per-module sha
ii libgd-graph-perl 1.44-3 Graph Plotting Module for Perl 5
ii libgd-text-perl 0.86-5 Text utilities for use with GD
ii libgnupg-interface-per 0.42-3 Perl interface to GnuPG
ii libgraphviz-perl 2.04-1 Perl interface to the GraphViz gra
ii libhtml-mason-perl 1:1.44-1 HTML::Mason Perl module
ii libhtml-parser-perl 3.66-1 collection of modules that parse H
ii libhtml-rewriteattribu 0.03-1 concise attribute rewriting
ii libhtml-scrubber-perl 0.08-4 Perl extension for scrubbing/sanit
ii libipc-run-safehandles 0.02-1 Use IPC::Run and IPC::Run3 safely
ii libjs-prototype 1.6.1-1 JavaScript Framework for dynamic w
ii libjs-scriptaculous 1.8.3-1 JavaScript library for dynamic web
ii liblocale-maketext-fuz 0.10-1 Maketext from already interpolated
ii liblocale-maketext-lex 0.82-1 lexicon-handling backends for Loca
ii liblog-dispatch-perl 2.22-1 Dispatches messages to multiple Lo
ii libmailtools-perl 2.06-1 Manipulate email in perl programs
ii libmime-tools-perl [li 5.428-1 Perl5 modules for MIME-compliant m
ii libmime-types-perl 1.30-1 Perl extension for determining MIM
ii libmodule-versions-rep 1.06-1 Report versions of all modules in
ii libperlio-eol-perl 0.14-1+b1 PerlIO layer for normalizing line
ii libregexp-common-perl 2010010201-1 module with common regular express
ii libtext-autoformat-per 1.669002-1 module for automatic text wrapping
ii libtext-quoted-perl 2.06-1 Perl module to extract the structu
ii libtext-template-perl 1.45-1 Text::Template perl module
ii libtext-wikiformat-per 0.78-1 translates Wiki formatted text int
ii libtext-wrapper-perl 1.02-1 Simple word wrapping routine
ii libtime-modules-perl 2006.0814-2 Various Perl modules for time/date
ii libtimedate-perl 1.2000-1 collection of modules to manipulat
ii libtree-simple-perl 1.18-1 A simple tree object
ii libuniversal-require-p 0.13-1 Load modules from a variable
ii libxml-rss-perl 1.48-1 Perl module for managing RSS (RDF
ii libxml-simple-perl 2.18-3 Perl module for reading and writin
ii perl [libdigest-sha-pe 5.10.1-17squeeze3 Larry Wall's Practical Extraction
ii perl-modules [libcgi-p 5.10.1-17squeeze3 Core Perl modules
ii postfix [mail-transpor 2.7.1-1+squeeze1 High-performance mail transport ag
ii rt3.8-apache2 3.8.8-7+squeeze1 Apache 2 specific files for reques
ii rt3.8-clients 3.8.8-7+squeeze1 mail gateway and command-line inte
ii rt3.8-db-postgresql 3.8.8-7+squeeze1 PostgreSQL database backend for re
ii rt3.8-db-sqlite 3.8.8-7+squeeze1 SQLite database backend for reques
ii syslog-ng [system-log- 3.1.3-3 Next generation logging daemon
ii ucf 3.0025+nmu1 Update Configuration File: preserv
Versions of packages request-tracker3.8 recommends:
ii cron [cron-daemon] 3.0pl1-116 process scheduling daemon
ii libdatetime-locale-perl 1:0.45-1 Perl extension providing localizat
ii libdatetime-perl 2:0.6100-2 module for manipulating dates, tim
pn speedy-cgi-perl <none> (no description available)
Versions of packages request-tracker3.8 suggests:
pn rt3.8-rtfm <none> (no description available)
-- debconf information excluded
More information about the pkg-request-tracker-maintainers
mailing list