Opened 8 years ago

Closed 8 years ago

#2976 closed bug (Fixed)

error message while help command

Reported by: block Owned by:
Priority: minor Milestone: 1.3.14
Component: Console UI Version: 1.3.10
Keywords: help, config, deluge-console Cc:

Description (last modified by Calum)

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)

Change History (1)

comment:1 by Calum, 8 years ago

Description: modified (diff)
Milestone: needs verified1.3.14
Resolution: Fixed
Status: newclosed

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]

Note: See TracTickets for help on using tickets.