Python error interpretation

Hal Burgiss hal at
Sat Mar 14 13:57:02 UTC 2009

The following error is generated on a fully updated 8.04 server using only
Ubuntu supplied packages. It seems to boil down to 'no module named unicodedata'
but for the life of me I can't unwind that and figure out what the missing
pieces are, and preferring not to go outside apt. Thx.

bzr: ERROR: exceptions.ImportError: No module named unicodedata                                        

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 834, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 790, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 492, in run_argv_aliases
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1012, in run
    accelerator_tree, hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 771, in create_checkout
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1242, in create_workingtree
    accelerator_tree=accelerator_tree, hardlink=hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1358, in initialize
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1494, in build_tree
    return _build_tree(tree, wt, accelerator_tree, hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1598, in _build_tree
    result = tt.apply(no_conflicts=True)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1200, in apply
    modified_paths = self._apply_insertions(inventory_delta, mover)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1301, in _apply_insertions
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1412, in make_entry
    name = ensure_normalized_name(name)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1431, in ensure_normalized_name
    norm_name, can_access = osutils.normalized_filename(name)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 1037, in
    normalized = unicodedata.normalize('NFC', unicode(path))
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 106, in __getattribute__
    obj = _replace()
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 89, in _replace
    obj = factory(self, scope, name)
  File "/usr/lib/python2.5/site-packages/bzrlib/", line 196, in _import
    module = __import__(module_python_path, scope, scope, [])
ImportError: No module named unicodedata

bzr 1.3.1 on python (linux2)
arguments: ['/usr/bin/bzr', 'checkout', '--lightweight', 's', '/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'


More information about the ubuntu-users mailing list