UnicodeDecodeError while attempting to version home dir with 'bzr init'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I was trying to use bazaar to version my home folder. The first command bzr init gave me the following error:
bzr: ERROR: exceptions.
Traceback:
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run_
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
possible_
File "/usr/lib/
bzrdir.
File "/usr/lib/
accelerato
File "/usr/lib/
delta_
File "/usr/lib/
delta_
File "/usr/lib/
for dir, files in wt.walkdirs():
File "/usr/lib/
current_disk = disk_iterator.
File "/usr/lib/
names = sorted(
UnicodeDecodeE
Ubuntu karmic,
Tried bzr Nightly but experienced the same problem
Bazaar (bzr) 2.1.1
The immediate cause is bug 501307 (bzr init recursively scans directory contents), but even if that were fixed 'bzr add' would fail in a similar way.
tags: | added: unicode |
This is happening on 'bzr init' in a home directory. It appears there's a filename with an unexpected encoding somewhere in that directory. 'bzr init' probably shouldn't be scanning the entire directory in the first place, that's bug 501307. You'd still get a similar traceback on 'bzr add' even if bug 501307 were fixed, though, so I suppose this should be a separate bug.