#2976: error message while help command
-------------------------+------------------------------------------
Reporter: block | Owner:
Type: bug | Status: closed
Priority: minor | Milestone: 1.3.14
Component: Console UI | Version: 1.3.10
Resolution: Fixed | Keywords: help, config, deluge-console
-------------------------+------------------------------------------
Changes (by Cas):
* status: new => closed
* resolution: => Fixed
* milestone: needs verified => 1.3.14
Old description:
> When I run "help config max_active_limit" (or any other config parameter)
> in deluge-console the following error message pops up:
>
> ========================================================
>
> global name 'usage' is not defined
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/deluge/ui/console/main.py", line
> 344, in do_command
> ret = self._commands[cmd].handle(*args, **options.__dict__)
> File "/usr/lib/python2.7/dist-
> packages/deluge/ui/console/commands/help.py", line 53, in handle
> self.console.write(usage)
> NameError: global name 'usage' is not defined
>
> ========================================================
>
> Version Information:
> deluge version.
> deluge-common: 1.3.10-3
> deluged: 1.3.10-3
> deluge-console: 1.3.10-3
> libtorrent version.
> libtorrent-rasterbar7: 0.16.18-1
> python-libtorrent: Installed: 0.16.18-1
> Operating System and version.
> raspbian: 8 (current version)
New description:
When I run "help config max_active_limit" (or any other config parameter)
in deluge-console the following error message pops up:
{{{
global name 'usage' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/ui/console/main.py", line
344, in do_command
ret = self._commands[cmd].handle(*args, **options.__dict__)
File "/usr/lib/python2.7/dist-
packages/deluge/ui/console/commands/help.py", line 53, in handle
self.console.write(usage)
NameError: global name 'usage' is not defined
}}}
Version Information:
deluge version.
deluge-common: 1.3.10-3
deluged: 1.3.10-3
deluge-console: 1.3.10-3
libtorrent version.
libtorrent-rasterbar7: 0.16.18-1
python-libtorrent: Installed: 0.16.18-1
Operating System and version.
raspbian: 8 (current version)
--
Comment:
Actually there is no help for specific config attributes so it's trying to
show `Usage: help [command]` but there is a typo in code.
Fixed in 1.3-stable: [7cde3efb]
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/2976#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.