Bug#798726: trac: fails to send email with ascii charset when ticket contains utf character

2019-06-20 Thread Lê Quốc Huy
On Fri, 11 Sep 2015 18:29:16 -0400 Stephen Crowley wrote:
> Package: trac
> Version: 1.0.8+dfsg-1
> Severity: important
> 
> Just make a ticket and put some symbol like → in it. 
> 
> Trac[web_ui] ERROR: Failure sending notification on change to ticket #262: 
> UnicodeEncodeError: 'ascii' codec can't encode character u'\u03bf' in 
> position 11: ordinal not in range(128)
> 
> -- System Information:
> Debian Release: 8.2
> APT prefers stable
> APT policy: (500, 'stable')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 3.16.0-4-amd64 (SMP w/32 CPU cores)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> 
> Versions of packages trac depends on:
> ii libjs-excanvas 0.r3-3
> ii libjs-jquery 1.7.2+dfsg-3.2
> ii libjs-jquery-timepicker 1.2-1
> ii libjs-jquery-ui 1.10.1+dfsg-1
> ii python 2.7.9-1
> ii python-genshi 0.7-3
> ii python-pkg-resources 5.5.1-1
> ii python-setuptools 5.5.1-1
> pn python:any 
> 
> Versions of packages trac recommends:
> ii apache2 [httpd] 2.4.10-10+deb8u3
> ii python-babel 1.3+dfsg.1-5
> ii python-docutils 0.12+dfsg-1
> ii python-pygments 2.0.1+dfsg-1.1
> ii python-subversion 1.8.10-6+deb8u1
> ii python-tz 2012c+dfsg-0.1
> 
> Versions of packages trac suggests:
> pn libapache2-mod-wsgi 
> pn python-psycopg2 
> pn python-textile 
> ii trac-accountmanager 0.4.3-2
> pn trac-authopenid 
> pn trac-bitten 
> pn trac-bzr 
> pn trac-customfieldadmin 
> ii trac-email2trac 2.8.4-1
> ii trac-graphviz 0.7.5-1
> pn trac-ja-resource 
> ii trac-mastertickets 3.0.2+20111224-2
> ii trac-mercurial 1.0.0.3+hg8df754d9b36a-1.1
> pn trac-spamfilter 
> pn trac-wikiprint 
> pn trac-wikirename 
> ii trac-wysiwyg 0.12.0.3+r10725-1
> ii trac-xmlrpc 1.1.2+r10706-1
> 
> -- no debconf information
> 


Được gửi từ iPhone của tôi


Bug#798726: trac: fails to send email with ascii charset when ticket contains utf character

2015-09-11 Thread Stephen Crowley
Package: trac
Version: 1.0.8+dfsg-1
Severity: important

Just make a ticket and put some symbol like → in it. 

Trac[web_ui] ERROR: Failure sending notification on change to ticket #262: 
UnicodeEncodeError: 'ascii' codec can't encode character u'\u03bf' in position 
11: ordinal not in range(128)

-- System Information:
Debian Release: 8.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages trac depends on:
ii  libjs-excanvas   0.r3-3
ii  libjs-jquery 1.7.2+dfsg-3.2
ii  libjs-jquery-timepicker  1.2-1
ii  libjs-jquery-ui  1.10.1+dfsg-1
ii  python   2.7.9-1
ii  python-genshi0.7-3
ii  python-pkg-resources 5.5.1-1
ii  python-setuptools5.5.1-1
pn  python:any   

Versions of packages trac recommends:
ii  apache2 [httpd]2.4.10-10+deb8u3
ii  python-babel   1.3+dfsg.1-5
ii  python-docutils0.12+dfsg-1
ii  python-pygments2.0.1+dfsg-1.1
ii  python-subversion  1.8.10-6+deb8u1
ii  python-tz  2012c+dfsg-0.1

Versions of packages trac suggests:
pn  libapache2-mod-wsgi
pn  python-psycopg2
pn  python-textile 
ii  trac-accountmanager0.4.3-2
pn  trac-authopenid
pn  trac-bitten
pn  trac-bzr   
pn  trac-customfieldadmin  
ii  trac-email2trac2.8.4-1
ii  trac-graphviz  0.7.5-1
pn  trac-ja-resource   
ii  trac-mastertickets 3.0.2+20111224-2
ii  trac-mercurial 1.0.0.3+hg8df754d9b36a-1.1
pn  trac-spamfilter
pn  trac-wikiprint 
pn  trac-wikirename
ii  trac-wysiwyg   0.12.0.3+r10725-1
ii  trac-xmlrpc1.1.2+r10706-1

-- no debconf information

--
This message is intended only for the use of the individual or entity to which 
it is addressed and may contain information which is privileged, confidential 
or subject to copyright. Internet communications cannot be guaranteed to be 
secure or error-free as information could be intercepted, corrupted, lost, 
arrive late or contain viruses. The information contained in this e-mail is 
drawn from sources believed to be reliable, but the accuracy and completeness 
of the information is not guaranteed, nor in providing it does Canaccord 
Genuity Corp. or its subsidiaries, or affiliated companies, "The Firm" assume 
any liability. 

Canaccord Genuity Corp., its subsidiaries or affiliated companies, disclaims 
all responsibility and accepts no liability (including negligence) for the 
consequences for any person acting, or refraining from acting, on such 
information. Unless otherwise stated, this transmission is neither an offer nor 
the solicitation of an offer to sell or purchase any investment. As a 
solicitation, this e-mail was intended for distribution in those jurisdictions 
where The Firm is registered as advisors or dealers in securities. Any 
unauthorized use, disclosure, distribution or copying of this communication by 
anyone other than the intended recipient is strictly prohibited. 

When addressed to our clients, any opinions or advice contained in this email 
are subject to the terms and conditions expressed in the governing Canaccord 
Genuity Corp., its subsidiaries or affiliated companies' client agreements.  If 
you have received this message in error, please notify us immediately by return 
email and destroy and delete the message from your computer.  (Disclaimer)