today when I want to add some old project (book) under bzr, I've encountered this error.
Here is the trace:
bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xbe in position 6: ordinal not in range(128)
Traceback (most recent call last):
File "/usr/local/lib/python2.7/site-packages/bzrlib/commands.py", line 926, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/bzrlib/commands.py", line 1126, in run_bzr
ret = run(*run_argv)
File "/usr/local/lib/python2.7/site-packages/bzrlib/commands.py", line 691, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/local/lib/python2.7/site-packages/bzrlib/commands.py", line 713, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/bzrlib/cleanup.py", line 135, in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/bzrlib/builtins.py", line 650, in run
no_recurse, action=action, save=not dry_run)
File "/usr/local/lib/python2.7/site-packages/bzrlib/mutabletree.py", line 50, in tree_write_locked
return unbound(self, *args, **kwargs)
File "/usr/local/lib/python2.7/site-packages/bzrlib/mutabletree.py", line 558, in smart_add
for subf in sorted(os.listdir(abspath)):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xbe in position 6: ordinal not in range(128)
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at https://bugs.launchpad.net/bzr/+filebug
including this traceback and a description of the problem.
Considering it's reported quite some time ago, it would be nice to fix it before 2.4.
Hello,
today when I want to add some old project (book) under bzr, I've encountered this error.
Here is the trace:
bzr: ERROR: exceptions. UnicodeDecodeEr ror: 'ascii' codec can't decode byte 0xbe in position 6: ordinal not in range(128)
Traceback (most recent call last): lib/python2. 7/site- packages/ bzrlib/ commands. py", line 926, in exception_ to_return_ code lib/python2. 7/site- packages/ bzrlib/ commands. py", line 1126, in run_bzr lib/python2. 7/site- packages/ bzrlib/ commands. py", line 691, in run_argv_aliases **all_cmd_ args) lib/python2. 7/site- packages/ bzrlib/ commands. py", line 713, in run .run_simple( *args, **kwargs) lib/python2. 7/site- packages/ bzrlib/ cleanup. py", line 135, in run_simple lib/python2. 7/site- packages/ bzrlib/ cleanup. py", line 165, in _do_with_cleanups lib/python2. 7/site- packages/ bzrlib/ builtins. py", line 650, in run lib/python2. 7/site- packages/ bzrlib/ mutabletree. py", line 50, in tree_write_locked lib/python2. 7/site- packages/ bzrlib/ mutabletree. py", line 558, in smart_add os.listdir( abspath) ):
File "/usr/local/
return the_callable(*args, **kwargs)
File "/usr/local/
ret = run(*run_argv)
File "/usr/local/
return self.run(
File "/usr/local/
return self._operation
File "/usr/local/
self.cleanups, self.func, *args, **kwargs)
File "/usr/local/
result = func(*args, **kwargs)
File "/usr/local/
no_recurse, action=action, save=not dry_run)
File "/usr/local/
return unbound(self, *args, **kwargs)
File "/usr/local/
for subf in sorted(
UnicodeDecodeError: 'ascii' codec can't decode byte 0xbe in position 6: ordinal not in range(128)
bzr 2.3.3 on python 2.7.1 (FreeBSD- 9.0-CURRENT- amd64-64bit- ELF) local/bin/ bzr', 'add', '.'] [2.3.3] , bzrtools[2.3.1], colo[0.2.1], 1.1.2], fastimport[ 0.11.0dev] , git[0.6.0], launchpad[2.3.3], credential_ store[2. 3.3], news_merge[2.3.3], qbzr[0.20.0]
arguments: ['/usr/
plugins: bash_completion
explorer[
netrc_
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
*** Bazaar has encountered an internal error. This probably indicates a /bugs.launchpad .net/bzr/ +filebug
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
Considering it's reported quite some time ago, it would be nice to fix it before 2.4.
Sincerely,
Gour