[Python-apps-team] Bug#798726: trac: fails to send email with ascii charset when ticket contains utf character

Lê Quốc Huy lequochuy134 at gmail.com
Fri Jun 21 00:34:12 BST 2019


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


More information about the Python-apps-team mailing list