Opened 7 years ago

Closed 7 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 Cas)

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 Changed 7 years ago by Cas

  • Description modified (diff)
  • Milestone changed from needs verified to 1.3.14
  • Resolution set to Fixed
  • Status changed from new to closed

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.