#1398: deluge-console commands with parameter --help fail
-----------------------+----------------------------------------------------
Reporter: xpozitron | Owner:
Type: defect | Status: new
Priority: major | Milestone: Future
Component: console | Version: 1.3.1
Keywords: |
-----------------------+----------------------------------------------------
When I am running commands from command line with parameter --help it
fails.
$ deluge-console info --help
Traceback (most recent call last):
File "/usr/bin/deluge-console", line 8, in <module>
load_entry_point('deluge==1.3.1', 'console_scripts', 'deluge-
console')()
File "/usr/lib/pymodules/python2.6/deluge/ui/console/main.py", line 74,
in start
Console().start()
File "/usr/lib/pymodules/python2.6/deluge/ui/console/main.py", line 69,
in start
super(Console, self).start()
File "/usr/lib/pymodules/python2.6/deluge/ui/ui.py", line 87, in start
(self.__options, self.__args) = self.__parser.parse_args()
File "/usr/lib/python2.6/optparse.py", line 1394, in parse_args
stop = self._process_args(largs, rargs, values)
File "/usr/lib/python2.6/optparse.py", line 1434, in _process_args
self._process_long_opt(rargs, values)
File "/usr/lib/python2.6/optparse.py", line 1509, in _process_long_opt
option.process(opt, value, values, self)
File "/usr/lib/python2.6/optparse.py", line 788, in process
self.action, self.dest, opt, value, values, parser)
File "/usr/lib/python2.6/optparse.py", line 810, in take_action
parser.print_help()
File "/usr/lib/python2.6/optparse.py", line 1664, in print_help
file.write(self.format_help().encode(encoding, "replace"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 35:
ordinal not in range(128)
$ deluge-console "info --help"
Error parsing options: 'ascii' codec can't decode byte 0xc5 in position
135: ordinal not in range(128)
$ deluge-console "add --help"
Error parsing options: 'ascii' codec can't decode byte 0xc5 in position
71: ordinal not in range(128)
Version:
deluge 1.3.1-2~karmic~ppa1
deluge-common 1.3.1-2~karmic~ppa1
deluge-console 1.3.1-2~karmic~ppa1
deluge-gtk 1.3.1-2~karmic~ppa1
deluge-web 1.3.1-2~karmic~ppa1
deluged 1.3.1-2~karmic~ppa1
Linux Arcueid 2.6.31-22-generic #68-Ubuntu SMP Tue Oct 26 16:38:35 UTC
2010 i686 GNU/Linux
--
Ticket URL: <http://dev.deluge-torrent.org/ticket/1398>
Deluge <http://deluge-torrent.org/>
Deluge project
--
You received this message because you are subscribed to the Google Groups
"Deluge Dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/deluge-dev?hl=en.