#2007: UnicodeDecodeError when logging to file
---------------------+------------------------------------------------------
Reporter: non7top | Owner:
Type: bug | Status: new
Priority: minor | Milestone: 1.4.0
Component: core | Version: git master
Keywords: |
---------------------+------------------------------------------------------
Comment(by non7top):
I changed line 124 in alertmanager.py to following and error is gone and
correct cyrillic torrent names are shown in log file. Apparently there was
a double utf-8->utf-8 conversion.
{{{
log.debug("%s: %s", alert_type, alert.message().decode("utf8"))
}}}
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2007#comment:3>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.