UnicodeDecode error with -F -i
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-grep |
Fix Released
|
High
|
Martin Packman |
Bug Description
This is using bzr-grep 0.3.0-final
[emacs-bzr]% time bzr grep ffo -F -i > /dev/null
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/storage/
return the_callable(*args, **kwargs)
File "/storage/
ret = run(*run_argv)
File "/storage/
return self.run(
File "/storage/
return self._operation
File "/storage/
self.cleanups, self.func, *args, **kwargs)
File "/storage/
result = func(*args, **kwargs)
File "/storage/
result = func(*args, **kwargs)
File "/home/
grep.
File "/home/
dir_grep(tree, path, relpath, opts, revno, path_prefix)
File "/home/
opts, revno, path_prefix)
File "/home/
if pattern in line.lower():
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 12: ordinal not in range(128)
You can report this problem to Bazaar's developers by running
apport-bug /var/crash/
if a bug-reporting window does not automatically appear.
bzr grep ffo -F -i > /dev/null 0.43s user 0.13s system 26% cpu 2.150 total
[emacs-bzr]%
Also seen on mysql-server repo: UnicodeDecodeEr ror: 'ascii' codec can't decode byte 0xae in position 71: ordinal not in range(128)
[mysqls60]% time bzr grep ffo -F -i > /dev/null
bzr: ERROR: exceptions.
Traceback (most recent call last): parth/src/ bzr.dev/ trunk/bzrlib/ commands. py", line 911, in exception_ to_return_ code parth/src/ bzr.dev/ trunk/bzrlib/ commands. py", line 1109, in run_bzr parth/src/ bzr.dev/ trunk/bzrlib/ commands. py", line 689, in run_argv_aliases **all_cmd_ args) parth/src/ bzr.dev/ trunk/bzrlib/ commands. py", line 704, in run .run_simple( *args, **kwargs) parth/src/ bzr.dev/ trunk/bzrlib/ cleanup. py", line 122, in run_simple parth/src/ bzr.dev/ trunk/bzrlib/ cleanup. py", line 156, in _do_with_cleanups parth/src/ bzr.dev/ trunk/bzrlib/ commands. py", line 1124, in ignore_pipe parthm/ .bazaar/ plugins/ grep/__ init__. py", line 244, in run workingtree_ grep(GrepOption s) parthm/ .bazaar/ plugins/ grep/grep. py", line 221, in workingtree_grep parthm/ .bazaar/ plugins/ grep/grep. py", line 302, in dir_grep parthm/ .bazaar/ plugins/ grep/grep. py", line 589, in _file_grep
File "/storage/
return the_callable(*args, **kwargs)
File "/storage/
ret = run(*run_argv)
File "/storage/
return self.run(
File "/storage/
return self._operation
File "/storage/
self.cleanups, self.func, *args, **kwargs)
File "/storage/
result = func(*args, **kwargs)
File "/storage/
result = func(*args, **kwargs)
File "/home/
grep.
File "/home/
dir_grep(tree, path, relpath, opts, revno, path_prefix)
File "/home/
opts, revno, path_prefix)
File "/home/
if pattern in line.lower():
UnicodeDecodeError: 'ascii' codec can't decode byte 0xae in position 71: ordinal not in range(128)
You can report this problem to Bazaar's developers by running bzr.1000. 2010-06- 07T02:32. crash
apport-bug /var/crash/
if a bug-reporting window does not automatically appear.
bzr grep ffo -F -i > /dev/null 0.60s user 0.11s system 35% cpu 1.975 total
[mysqls60]%