UnicodeDecodeError in walkdirs called from initialize, on badly encoded filename
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned | ||
bzr (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I don't see why we should be calling build_tree at all for initialize; and if there is a bad filename we should say what specifically it is.
---
Binary package hint: bzr
neil@iodine:~$ bzr init
No handlers could be found for logger "bzr"
bzr: ERROR: exceptions.
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/
possible_
File "/usr/lib/
bzrdir.
File "/usr/lib/
accelerator
File "/usr/lib/
hardlink=
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(
UnicodeDecodeError: 'ascii' codec can't decode byte 0xbf in position 19: ordinal not in range(128)
bzr 1.13.1 on python 2.6.2 (linux2)
arguments: ['/usr/bin/bzr', 'init']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
bzrtools /usr/lib/
etckeeper /usr/lib/
launchpad /usr/lib/
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.
neil@iodine:~$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: bzr 1.13.1-1
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: bzr
Uname: Linux 2.6.28-15-generic i686
Changed in bzr (Ubuntu): | |
status: | New → Confirmed |
summary: |
- bzr init crashes in home directory + UnicodeDecodeError in walkdirs called from initialize, on badly encoded + filename |
description: | updated |
tags: | added: unicode |
Changed in bzr (Ubuntu): | |
status: | Incomplete → Confirmed |
@Alex, please do not mark bugs as duplicates that are not duplicates. If you're not sure *do not dup them*.
@Neil what does 'pwd' show for you?
It looks like you have a UTF8 environment but a non-utf8 path element in your current working directory.