#2039: torrentmanager.py line 1023, in on_alert_tracker_warning -
UnicodeDecodeError
---------------------+------------------------------------------------------
 Reporter:  non7top  |       Owner:            
     Type:  bug      |      Status:  new       
 Priority:  minor    |   Milestone:  1.4.0     
Component:  core     |     Version:  git master
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by Cas):

  * version:  other (please specify) => git master
  * component:  other => core
  * milestone:  Future => 1.4.0


Comment:

 I am struggling to replicate this but could you try this in the meantime:

 {{{
 diff --git a/deluge/core/torrentmanager.py b/deluge/core/torrentmanager.py
 index 996f5c4..1e909d1 100644
 --- a/deluge/core/torrentmanager.py
 +++ b/deluge/core/torrentmanager.py
 @@ -960,7 +960,7 @@ def on_alert_tracker_warning(self, alert):
              torrent = self.torrents[str(alert.handle.info_hash())]
          except:
              return
 -        tracker_status = '%s: %s' % (_("Warning"), str(alert.message()))
 +        tracker_status = '%s: %s' % (_("Warning"), alert.msg)
          # Set the tracker status for the torrent
          torrent.set_tracker_status(tracker_status)
 }}}

-- 
Ticket URL: <http://dev.deluge-torrent.org/ticket/2039#comment:1>
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.

Reply via email to