can't decode byte during bzr init of entire Drupal (core and contrib) CVS tree

Bug #263136 reported by Doug Green
2
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

Follow directions on http://drupal.org/node/277268 to rsync the Drupal core and contrib directories. Warning: This is a very big source tree and takes some time to download.

Then cd to code directory and type

$ bzr init

bzr: ERROR: exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xcd in position 0: ordinal not in range(128)

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 857, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 1297, in run
    possible_transports=[to_transport])
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 474, in create_branch_convenience
    bzrdir.create_workingtree()
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1410, in create_workingtree
    accelerator_tree=accelerator_tree, hardlink=hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 1388, in initialize
    hardlink=hardlink, delta_from_tree=True)
  File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 1810, in build_tree
    delta_from_tree)
  File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 1826, in _build_tree
    for dir, files in wt.walkdirs():
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree.py", line 2341, in walkdirs
    current_disk = disk_iterator.next()
  File "/usr/lib/python2.5/site-packages/bzrlib/osutils.py", line 1200, in walkdirs
    names = sorted(_listdir(top))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcd in position 0: ordinal not in range(128)

bzr 1.6 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'init']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug

Revision history for this message
James Westby (james-w) wrote :

Hi,

Thanks for taking the time to report this bug. I believe that it is
a duplicate of bug 77657, so I have marked it as such. Please
continue to report any other bugs that you find.

Thanks,

James

Revision history for this message
EmmaJane (emmajane) wrote :

There is a specific file in the directory tree which is causing a problem. It's actually an empty directory in a theme. I have marked it as a bug within Drupal. http://drupal.org/node/302223

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.