computer-janitor crashed with UnicodeEncodeError in _print_message()

Bug #707481 reported by Henrique Ferreiro
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
computer-janitor (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: computer-janitor

It crashes by running:

$ computer-janitor -h

Traceback (most recent call last):
  File "/usr/sbin/computer-janitor", line 35, in <module>
    main()
  File "/usr/share/computerjanitor/computerjanitorapp/cli/main.py", line 308, in main
    options = Options(runner)
  File "/usr/share/computerjanitor/computerjanitorapp/cli/main.py", line 114, in __init__
    self.arguments = self.parser.parse_args()
  File "/usr/lib/pymodules/python2.6/argparse.py", line 1698, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/usr/lib/pymodules/python2.6/argparse.py", line 1730, in parse_known_args
    return self._parse_known_args(args, namespace)
  File "/usr/lib/pymodules/python2.6/argparse.py", line 1932, in _parse_known_args
    start_index = consume_optional(start_index)
  File "/usr/lib/pymodules/python2.6/argparse.py", line 1872, in consume_optional
    take_action(action, args, option_string)
  File "/usr/lib/pymodules/python2.6/argparse.py", line 1800, in take_action
    action(self, namespace, argument_values, option_string)
  File "/usr/lib/pymodules/python2.6/argparse.py", line 1023, in __call__
    parser.print_help()
  File "/usr/lib/pymodules/python2.6/argparse.py", line 2319, in print_help
    self._print_message(self.format_help(), file)
  File "/usr/lib/pymodules/python2.6/argparse.py", line 2333, in _print_message
    file.write(message)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 121: ordinal not in range(128)

ProblemType: Crash
DistroRelease: Ubuntu 10.10
Package: computer-janitor 2.0.4-0ubuntu1.1
ProcVersionSignature: Ubuntu 2.6.35-25.43-generic 2.6.35.10
Uname: Linux 2.6.35-25-generic x86_64
NonfreeKernelModules: nvidia wl
Architecture: amd64
CheckboxSubmission: f1062201dec3d8dce03bf63ca0ef0c17
CheckboxSystem: e2a9e28435948e86843155dc45ba128e
Date: Tue Jan 25 16:49:28 2011
ExecutablePath: /usr/share/computerjanitor/computer-janitor
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
InterpreterPath: /usr/bin/python2.6
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/sbin/computer-janitor --help
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, user)
 LANG=gl_ES.utf8
PythonArgs: ['/usr/sbin/computer-janitor', '--help']
SourcePackage: computer-janitor
Title: computer-janitor crashed with UnicodeEncodeError in _print_message()
UserGroups: adm admin cdrom dialout dip fax floppy fuse lpadmin nopasswdlogin plugdev sambashare tape video

Revision history for this message
Henrique Ferreiro (henrique-ferreiro) wrote :
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #621687, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
visibility: private → public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.