Your message dated Sun, 08 Jan 2012 11:32:20 +0000
with message-id <[email protected]>
and subject line Bug#593613: fixed in email2trac 2.4.7-1
has caused the Debian Bug report #593613,
regarding trac-email2trac: Error on wrongly encoded e-mail
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
593613: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=593613
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: trac-email2trac
Version: 1.0.0-1
Tags: patch

I had not the time to analyse this problem in all depth,
but is seems that unicode data hurts the Python 2.6
function email.header.decode_header(). E.g.
email.header.decode_header(u'\xe4') throws a
UnicodeEncodeError. It seems that such a unicode string
can be passed to it via email2tracs
TicketEmailParser.email_to_unicode().

I worked around the problem with a little hack at the start
of TicketEmailParser.email_to_unicode() in email2trac:

    if type(message_str) == unicode:
        message_str = message_str.encode('utf-8'))

Comments?




--- End Message ---
--- Begin Message ---
Source: email2trac
Source-Version: 2.4.7-1

We believe that the bug you reported is fixed in the latest version of
email2trac, which is due to be installed in the Debian FTP archive:

email2trac_2.4.7-1.debian.tar.gz
  to main/e/email2trac/email2trac_2.4.7-1.debian.tar.gz
email2trac_2.4.7-1.dsc
  to main/e/email2trac/email2trac_2.4.7-1.dsc
email2trac_2.4.7.orig.tar.gz
  to main/e/email2trac/email2trac_2.4.7.orig.tar.gz
trac-email2trac_2.4.7-1_all.deb
  to main/e/email2trac/trac-email2trac_2.4.7-1_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
W. Martin Borgert <[email protected]> (supplier of updated email2trac package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 08 Jan 2012 11:15:22 +0000
Source: email2trac
Binary: trac-email2trac
Architecture: source all
Version: 2.4.7-1
Distribution: unstable
Urgency: low
Maintainer: Python Applications Packaging Team 
<[email protected]>
Changed-By: W. Martin Borgert <[email protected]>
Description: 
 trac-email2trac - Creates and amends Trac tickets from e-mail
Closes: 593613 644915 644916 654993
Changes: 
 email2trac (2.4.7-1) unstable; urgency=low
 .
   * New upstream version (Closes: #644915, #593613, #644916).
   * Packaging fixes (Closes: #654993), lintian fixes.
Checksums-Sha1: 
 3365138a68ccfc429b29f9615dcca24a84e9cca3 1372 email2trac_2.4.7-1.dsc
 cd419ffbdca9acdcea03f7f58376428436066e10 93426 email2trac_2.4.7.orig.tar.gz
 59009746990c4de9088eb77b8586d1922c0c2d3d 3218 email2trac_2.4.7-1.debian.tar.gz
 2a049e32c41d96214f63cc5768625f20f04706de 40790 trac-email2trac_2.4.7-1_all.deb
Checksums-Sha256: 
 59964d455c7d6e3e96dd5573ace3b6301bfb401ec049fea7ba87e6d53cdce3a2 1372 
email2trac_2.4.7-1.dsc
 8a0524d52effbcc99d8f535afed62f7c284e43923985a08804e9c9f8422d792f 93426 
email2trac_2.4.7.orig.tar.gz
 66496ae8e44ffa9d4490d97668192d4cab5b04f9a2dfc03f06de2719712c0e4f 3218 
email2trac_2.4.7-1.debian.tar.gz
 c3362ca76f2fd3871ff0675c1e3bd5dfd9e82558b7ab85b363006a57f1246f53 40790 
trac-email2trac_2.4.7-1_all.deb
Files: 
 f44f3cc4f1bd2bccf9cfaca27bf18b16 1372 web optional email2trac_2.4.7-1.dsc
 cd3d81a01a385f5514d4e3ef44bb7635 93426 web optional 
email2trac_2.4.7.orig.tar.gz
 6f51d4d5b41aaa23b84a5c4f9d2b30c4 3218 web optional 
email2trac_2.4.7-1.debian.tar.gz
 da10ad3bb268cb3e8167b4719fa644d9 40790 web optional 
trac-email2trac_2.4.7-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk8Jfd8ACgkQ+xM0OFfj6Ij1pgCeOxkuskENAzCmpI2PfLT1yCBt
KbwAoI79akRhfISGav68S60OLtivcD87
=KNMI
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to