** Summary changed:

- bzr init crashes in home directory
+ UnicodeDecodeError in walkdirs called from initialize, on badly encoded 
filename

** Description changed:

+ 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
  
  n...@iodine:~$ bzr init
  No handlers could be found for logger "bzr"
  bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 
0xbf in position 19: ordinal not in range(128)
  
  Traceback (most recent call last):
    File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 716, in 
exception_to_return_code
      return the_callable(*args, **kwargs)
    File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 911, in 
run_bzr
      ret = run(*run_argv)
    File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 547, in 
run_argv_aliases
      return self.run(**all_cmd_args)
    File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 1564, in 
run
      possible_transports=[to_transport])
    File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 490, in 
create_branch_convenience
      bzrdir.create_workingtree()
    File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1481, in 
create_workingtree
      accelerator_tree=accelerator_tree, hardlink=hardlink)
    File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree_4.py", line 1394, 
in initialize
      hardlink=hardlink, delta_from_tree=True)
    File "/usr/lib/python2.6/dist-packages/bzrlib/transform.py", line 2034, in 
build_tree
      delta_from_tree)
    File "/usr/lib/python2.6/dist-packages/bzrlib/transform.py", line 2050, in 
_build_tree
      for dir, files in wt.walkdirs():
    File "/usr/lib/python2.6/dist-packages/bzrlib/workingtree.py", line 2372, 
in walkdirs
      current_disk = disk_iterator.next()
    File "/usr/lib/python2.6/dist-packages/bzrlib/osutils.py", line 1308, in 
walkdirs
      names = sorted(_listdir(top))
  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/python2.6/dist-packages/bzrlib/plugins/bzrtools [1.13]
    etckeeper            
/usr/lib/python2.6/dist-packages/bzrlib/plugins/etckeeper [unknown]
    launchpad            
/usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [unknown]
    netrc_credential_store 
/usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [unknown]
  *** Bazaar has encountered an internal error.
      Please report a bug at https://bugs.launchpad.net/bzr/+filebug
      including this traceback, and a description of what you
      were doing when the error occurred.
  
- 
  n...@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

** Tags added: unicode

** Changed in: bzr (Ubuntu)
       Status: Incomplete => Confirmed

-- 
UnicodeDecodeError in walkdirs called from initialize, on badly encoded filename
https://bugs.launchpad.net/bugs/425385
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to