#3076: Can't Remove Torrent Using Console "global name '_n' is not defined"
-------------------------+---------------------------
  Reporter:  jl303       |      Owner:
      Type:  bug         |     Status:  new
  Priority:  major       |  Milestone:  2.0
 Component:  Console UI  |    Version:  develop (git)
Resolution:              |   Keywords:
-------------------------+---------------------------
Changes (by Cas):

 * version:  master (git) => develop (git)
 * milestone:  needs verified => 2.0


Old description:

> I get an error when I try to remove a torrent using deluge-console.
>
> deluge-console 2.0.0.dev7077
> libtorrent: 1.1.3.0
> Python: 2.7.12+
> OS: Linux Ubuntu 16.10 yakkety
>
> $ deluge-console rm 03b
>  global name '_n' is not defined
> 13:14:32.497 [ERROR   ][deluge.ui.console.cmdline.command
> :1
> 35 ] global name '_n' is not defined
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-
> packages/deluge/ui/console/cmdline/command.py",
> line 132, in exec_command
>     ret = self._commands[options.command].handle(options)
>   File "/usr/lib/python2.7/dist-
> packages/deluge/ui/console/cmdline/commands/rm.p
> y", line 40, in handle
>     _n('torrent', 'torrents', len(torrent_ids)),
> NameError: global name '_n' is not defined
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-
> packages/deluge/ui/console/cmdline/command.py",
> line 132, in exec_command
>     ret = self._commands[options.command].handle(options)
>   File "/usr/lib/python2.7/dist-
> packages/deluge/ui/console/cmdline/commands/rm.p
> y", line 40, in handle
>     _n('torrent', 'torrents', len(torrent_ids)),
> NameError: global name '_n' is not defined

New description:

 I get an error when I try to remove a torrent using deluge-console.

 deluge-console 2.0.0.dev7077
 libtorrent: 1.1.3.0
 Python: 2.7.12+
 OS: Linux Ubuntu 16.10 yakkety


 {{{
 $ deluge-console rm 03b
  global name '_n' is not defined
 13:14:32.497 [ERROR   ][deluge.ui.console.cmdline.command
 :1
 35 ] global name '_n' is not defined
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-
 packages/deluge/ui/console/cmdline/command.py",
 line 132, in exec_command
     ret = self._commands[options.command].handle(options)
   File "/usr/lib/python2.7/dist-
 packages/deluge/ui/console/cmdline/commands/rm.p
 y", line 40, in handle
     _n('torrent', 'torrents', len(torrent_ids)),
 NameError: global name '_n' is not defined
 Traceback (most recent call last):
   File "/usr/lib/python2.7/dist-
 packages/deluge/ui/console/cmdline/command.py",
 line 132, in exec_command
     ret = self._commands[options.command].handle(options)
   File "/usr/lib/python2.7/dist-
 packages/deluge/ui/console/cmdline/commands/rm.p
 y", line 40, in handle
     _n('torrent', 'torrents', len(torrent_ids)),
 NameError: global name '_n' is not defined
 }}}

--

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