bzr init with files in invalid encodings in the dir crashes without useful diagnostics
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
See traceback below.
What I did: I unpacked the jaunty source packages (cf. #165315; I used a variant of the script attached to that bug), then attempted to initialize a bzr branch at the root of all the unpacked source packages. This failed.
liw@gytha$ ../bzr.dev/bzr init --development-
Unable to load plugin 'gtk'. It requested API version (1, 13, 0) of module <module 'bzrlib' from '/home/
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/home/
return the_callable(*args, **kwargs)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
possible_
File "/home/
bzrdir.
File "/home/
accelerator
File "/home/
hardlink=
File "/home/
delta_
File "/home/
for dir, files in wt.walkdirs():
File "/home/
current_disk = disk_iterator.
File "/home/
names = sorted(
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf8 in position 1: ordinal not in range(128)
bzr 1.15dev on python 2.6.2 (linux2)
arguments: ['../bzr.dev/bzr', 'init', '--development-
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'fi_FI.UTF-8'
plugins:
bzrtools /usr/lib/
dbus /usr/lib/
launchpad /home/liw/
netrc_
*** 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.
[status 4]
liw@gytha$
summary: |
- bzr init --development-rich-root crashed + bzr init with files in invalid encodings in the dir crashes without + useful diagnostics |
I'm not sure why init is walking the tree; this may not be strictly development- rich-root related - if its not, we should probably drop the priority down. For now though, assigning to jam to get his attention :)