id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc,branch,changelog,apichanges,internalchanges 13378,Notifications fail in Trac 1.5.2 with what appears to be a Python3 porting error,anonymous,Jun Omae,"Running Trac 1.5.2 on Alpine Linux with Python3, I see the following error whenever a ticket is updated. {{{ 2021-03-26 20:02:52,029 Trac[web_ui] ERROR: Failure sending notification on change to ticket #1901: AttributeError: 'bytes' object has no attribute 'encode' }}} According to the following Stack Overflow post, the root cause may be a defect introduced in the Python3 port. https://stackoverflow.com/questions/60368956/attributeerrorbytes-object-has-no-attribute-encode {{{ # uname -a Linux da318296525d 4.15.0-139-generic #143-Ubuntu SMP Tue Mar 16 01:30:17 UTC 2021 x86_64 Linux # python3 --version Python 3.7.10 }}} {{{ /usr/bin/tracd -b 0.0.0.0 -p 8000 --auth ,/var/www/trac/auth.digest,Trac -e /var/www/trac --base-path /trac }}} I searched the open tickets and did not find this issue reported anywhere else. The only issue that manifest a similar error is #5515.",defect,closed,normal,1.5.3,notification,1.5.2,blocker,fixed,,,,Add workaround for `SmtpEmailSender` with unicode credentials.,,