#3129 closed bug (Fixed)
Namespace has no attribute (deluge-console)
Reported by: | ckummer | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | 2.0.0 |
Component: | Console UI | Version: | other (please specify) |
Keywords: | Cc: |
Description
I am receiving the following error in deluge-console 2.0.0.dev7116:
deluge-console "connect 127.0.0.1 localclient ae06deb07ba5bef51d2ee14af91624061743afd2":
06:39:04.562 [ERROR ][deluge.ui.console.console :116 ] 'Namespace' object has no attribute 'partition' Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/deluge/ui/console/console.py", line 114, in run
return c.start_ui()
File "/usr/lib/python2.7/dist-packages/deluge/ui/console/main.py", line 123, in start_ui
deferred = self.exec_args(self.options)
File "/usr/lib/python2.7/dist-packages/deluge/ui/console/main.py", line 208, in exec_args
d = commander.do_command(options.parsed_cmds.pop(0))
File "/usr/lib/python2.7/dist-packages/deluge/ui/console/cmdline/command.py", line 45, in do_command
options = self.parse_command(cmd_line)
File "/usr/lib/python2.7/dist-packages/deluge/ui/console/cmdline/command.py", line 67, in parse_command
cmd, _, line = cmd_line.partition(' ')
AttributeError: 'Namespace' object has no attribute 'partition' Traceback (most recent call last):
File "/usr/bin/deluge-console", line 9, in <module>
load_entry_point('deluge==2.0.0.dev7116', 'console_scripts', 'deluge-console')()
File "/usr/lib/python2.7/dist-packages/deluge/ui/console/init.py", line 19, in start
Console().start()
File "/usr/lib/python2.7/dist-packages/deluge/ui/console/console.py", line 120, in start
do_profile=self.options.profile)
File "/usr/lib/python2.7/dist-packages/deluge/common.py", line 1249, in run_profiled
return func(*args)
File "/usr/lib/python2.7/dist-packages/deluge/ui/console/console.py", line 114, in run
return c.start_ui()
File "/usr/lib/python2.7/dist-packages/deluge/ui/console/main.py", line 123, in start_ui
deferred = self.exec_args(self.options)
File "/usr/lib/python2.7/dist-packages/deluge/ui/console/main.py", line 208, in exec_args
d = commander.do_command(options.parsed_cmds.pop(0))
File "/usr/lib/python2.7/dist-packages/deluge/ui/console/cmdline/command.py", line 45, in do_command
options = self.parse_command(cmd_line)
File "/usr/lib/python2.7/dist-packages/deluge/ui/console/cmdline/command.py", line 67, in parse_command
cmd, _, line = cmd_line.partition(' ')
AttributeError: 'Namespace' object has no attribute 'partition'
output of deluge-console --version:
deluge-console 2.0.0.dev7116 libtorrent: 1.1.5.0 Python: 2.7.12 OS: Linux Ubuntu 16.04 xenial
Thanks for reporting!
Fixed in develop: [07a87fa15a939]