Opened 14 years ago

Closed 14 years ago

#1550 closed bug (WorksForMe)

Crash on passing a command line parameter

Reported by: shnurapet Owned by:
Priority: major Milestone: Future
Component: Core Version: 1.3.0_dev
Keywords: Cc:

Description

$ deluged --help
Traceback (most recent call last):
  File "/usr/bin/deluged", line 9, in <module>
    load_entry_point('deluge==1.3.900-dev', 'console_scripts', 'deluged')()
  File "/usr/lib/python2.7/site-packages/deluge-1.3.900_dev-py2.7.egg/deluge/main.py", line 176, in start_daemon
    (options, args) = parser.parse_args()
  File "/usr/lib64/python2.7/optparse.py", line 1394, in parse_args
    stop = self._process_args(largs, rargs, values)
  File "/usr/lib64/python2.7/optparse.py", line 1434, in _process_args
    self._process_long_opt(rargs, values)
  File "/usr/lib64/python2.7/optparse.py", line 1509, in _process_long_opt
    option.process(opt, value, values, self)
  File "/usr/lib64/python2.7/optparse.py", line 788, in process
    self.action, self.dest, opt, value, values, parser)
  File "/usr/lib64/python2.7/optparse.py", line 810, in take_action
    parser.print_help()
  File "/usr/lib64/python2.7/optparse.py", line 1664, in print_help
    file.write(self.format_help().encode(encoding, "replace"))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 36: ordinal not in range(128)

This is git master build as of today.

Change History (2)

comment:1 by Calum, 14 years ago

Component: othercore
Type: defectbug

I cannot repeat on my Ubuntu, what is your language set to?

Could you test with 1.3-stable please.

comment:2 by Calum, 14 years ago

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.