#3071: KeyError in core
--------------------+---------------------------
  Reporter:  Cas    |      Owner:
      Type:  bug    |     Status:  new
  Priority:  minor  |  Milestone:  2.0
 Component:  Core   |    Version:  develop (git)
Resolution:         |   Keywords:
--------------------+---------------------------
Description changed by Cas:

Old description:

> {{{
> Traceback (most recent call last):
>   File "/home/ubuntu/deluge.git/deluge/core/core.py", line 577, in
> create_torrent_status
>     status = self.torrentmanager[torrent_id].get_status(torrent_keys,
> diff, update=update, all_keys=all_keys)
>   File "/home/ubuntu/deluge.git/deluge/core/torrentmanager.py", line 256,
> in __getitem__
>     return self.torrents[torrent_id]
> KeyError: u'<torrent_id>'
> }}}

New description:

 Likely due to getting status on removed torrent

 {{{
 Traceback (most recent call last):
   File "/home/ubuntu/deluge.git/deluge/core/core.py", line 577, in
 create_torrent_status
     status = self.torrentmanager[torrent_id].get_status(torrent_keys,
 diff, update=update, all_keys=all_keys)
   File "/home/ubuntu/deluge.git/deluge/core/torrentmanager.py", line 256,
 in __getitem__
     return self.torrents[torrent_id]
 KeyError: u'<torrent_id>'
 }}}

--

--
Ticket URL: <http://dev.deluge-torrent.org/ticket/3071#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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/deluge-dev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to