Activity log for bug #140563

Date Who What changed Old value New value Message
2007-09-18 00:36:37 Martin Pool bug added bug
2007-09-18 00:40:32 Martin Pool bzr: importance Undecided Low
2007-09-18 00:40:32 Martin Pool bzr: status New Triaged
2007-09-18 00:48:56 Martin Pool description Bazaar gives a traceback if a unicode character is given in a command option: mbp@grace% ./bzr st -ة bzr: ERROR: exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\u0629' in position 17: ordinal not in range(128) Traceback (most recent call last): File "/home/mbp/bzr/trivial/bzrlib/commands.py", line 802, in run_bzr_catch_errors return run_bzr(argv) File "/home/mbp/bzr/trivial/bzrlib/commands.py", line 758, in run_bzr ret = run(*run_argv) File "/home/mbp/bzr/trivial/bzrlib/commands.py", line 465, in run_argv_aliases args, opts = parse_args(self, argv, alias_argv) File "/home/mbp/bzr/trivial/bzrlib/commands.py", line 544, in parse_args options, args = parser.parse_args(args) File "optparse.py", line 1380, in parse_args self.error(str(err)) UnicodeEncodeError: 'ascii' codec can't encode character u'\u0629' in position 17: ordinal not in range(128) Originally reported by "Grinchishin V." <grinchishin@zaporizhstal.com> This is similar to bug 57123, but probably recurring because we have switched to using optparse since that commit was merged. Unlike that bug, this only happens with options, not command names. Bazaar gives a traceback if a unicode character is given in a command option: mbp@grace% ./bzr st -ة bzr: ERROR: exceptions.UnicodeEncodeError: 'ascii' codec can't encode character u'\u0629' in position 17: ordinal not in range(128) Traceback (most recent call last): File "/home/mbp/bzr/trivial/bzrlib/commands.py", line 802, in run_bzr_catch_errors return run_bzr(argv) File "/home/mbp/bzr/trivial/bzrlib/commands.py", line 758, in run_bzr ret = run(*run_argv) File "/home/mbp/bzr/trivial/bzrlib/commands.py", line 465, in run_argv_aliases args, opts = parse_args(self, argv, alias_argv) File "/home/mbp/bzr/trivial/bzrlib/commands.py", line 544, in parse_args options, args = parser.parse_args(args) File "optparse.py", line 1380, in parse_args self.error(str(err)) UnicodeEncodeError: 'ascii' codec can't encode character u'\u0629' in position 17: ordinal not in range(128) This is similar to bug 57123, but probably recurring because we have switched to using optparse since that commit was merged. Unlike that bug, this only happens with options, not command names.
2010-03-15 04:37:08 Martin Pool bzr: status Triaged Confirmed
2010-03-15 04:37:11 Martin Pool bzr: importance Low Medium
2010-03-15 04:37:15 Martin Pool tags unicode
2010-06-10 09:41:45 Alexey Gaynulin attachment added UnicodeError - Alex Gaynulin - stdout stderr, logs and error reports.zip http://launchpadlibrarian.net/50063721/UnicodeError%20-%20Alex%20Gaynulin%20-%20stdout%20stderr%2C%20logs%20and%20error%20reports.zip
2010-10-24 10:14:42 Rory Yorke bzr: assignee Rory Yorke (ryorke)
2010-10-24 10:14:49 Rory Yorke bzr: status Confirmed In Progress
2010-10-24 10:15:38 Rory Yorke branch linked lp:~ryorke/bzr/140563-optparse-barfs-on-unicode
2010-11-06 15:31:29 Vincent Ladeuil bzr: milestone 2.3b4
2010-11-06 15:34:19 Launchpad Janitor branch linked lp:~vila/bzr/integration
2010-11-06 17:42:47 Vincent Ladeuil bzr: status In Progress Fix Released