[master] Unicode exceptions when encountering 'invalid' filenames
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
[13:14] mtebeka@duffy:~ $bzr st
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
show_
File "/usr/lib/
want_
File "/usr/lib/
want_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
want_
File "/usr/lib/
want_
File "/usr/lib/
(None, utf8_decode(
File "/usr/lib/
return codecs.
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 25-27: invalid data
bzr 1.6b3 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'st']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
launchpad /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
[13:14] mtebeka@duffy:~ $
tags: | added: encoding |
summary: |
- UnicodeError running "bzr st" + [master] Unicode exceptions when encountering 'invalid' filenames |
Changed in bzr: | |
status: | Invalid → Confirmed |
I'm using bzr 1.5 and bzr 1.6b2 and the same happened here on status:
$ ~/instaladores/ bzr-1.6b2/ bzr status UnicodeDecodeEr ror: 'utf8' codec can't decode bytes in position 43-46: invalid data
bzr: ERROR: exceptions.
Traceback (most recent call last): antoranz/ instaladores/ bzr-1.6b2/ bzrlib/ commands. py", line 846, in run_bzr_ catch_errors antoranz/ instaladores/ bzr-1.6b2/ bzrlib/ commands. py", line 797, in run_bzr antoranz/ instaladores/ bzr-1.6b2/ bzrlib/ commands. py", line 499, in run_argv_aliases **all_cmd_ args) antoranz/ instaladores/ bzr-1.6b2/ bzrlib/ commands. py", line 807, in ignore_pipe antoranz/ instaladores/ bzr-1.6b2/ bzrlib/ builtins. py", line 178, in run pending= not no_pending) antoranz/ instaladores/ bzr-1.6b2/ bzrlib/ status. py", line 117, in show_tree_status unversioned= want_unversione d) antoranz/ instaladores/ bzr-1.6b2/ bzrlib/ tree.py" , line 93, in changes_from unversioned= want_unversione d, antoranz/ instaladores/ bzr-1.6b2/ bzrlib/ decorators. py", line 127, in read_locked antoranz/ instaladores/ bzr-1.6b2/ bzrlib/ tree.py" , line 734, in compare unversioned= want_unversione d) antoranz/ instaladores/ bzr-1.6b2/ bzrlib/ delta.py" , line 217, in _compare_trees unversioned= want_unversione d): antoranz/ instaladores/ bzr-1.6b2/ bzrlib/ workingtree_ 4.py", line 2450, in iter_changes current_ path_info[ 0])[0]) , python2. 5/encodings/ utf_8.py" , line 16, in decode utf_8_decode( input, errors, True)
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
result = func(*args, **kwargs)
File "/home/
show_
File "/home/
want_
File "/home/
want_
File "/home/
return unbound(self, *args, **kwargs)
File "/home/
want_
File "/home/
want_
File "/home/
(None, utf8_decode(
File "/usr/lib/
return codecs.
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 43-46: invalid data
bzr 1.6b2 on python 2.5.2 (linux2) antoranz/ instaladores/ bzr-1.6b2/ bzr', 'status'] python2. 5/site- packages/ bzrlib/ plugins/ gtk [0.93.0] instaladores/ bzr-1.6b2/ bzrlib/ plugins/ launchpad [unknown] /bugs.launchpad .net/bzr/ +filebug
arguments: ['/home/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'es_CO.UTF-8'
plugins:
gtk /usr/lib/
launchpad /home/antoranz/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
The same kind of problem happens with 1.5 (stable): UnicodeDecodeEr ror: 'utf8' codec can't decode bytes in position 43-46: invalid data
$ bzr status
bzr: ERROR: exceptions.
Traceback (most recent call last): python2. 5/site- packages/ bzrlib/ commands. py", line 846, in run_bzr_ catch_errors python2. 5/site- packages/ bzrlib/ commands. py", line 797, in run_bzr python2. 5/site- packages/ bzrlib/ commands. py", line 499, in run_argv_aliases **all_cmd_ args) python2. 5/site- packages/ bzrlib/ commands. py", line 807, in ignore_pipe python2. 5/site- packages/ bzrlib/ builtins. py", line 178, in run pending= not no_pendi...
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
show_