Python error interpretation

Hal Burgiss hal at burgiss.net
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/commands.py", line 834, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 790, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 1012, in run
    accelerator_tree, hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 771, in create_checkout
    hardlink=hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1242, in create_workingtree
    accelerator_tree=accelerator_tree, hardlink=hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 1358, in initialize
    hardlink=hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 1494, in build_tree
    return _build_tree(tree, wt, accelerator_tree, hardlink)
  File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 1598, in _build_tree
    result = tt.apply(no_conflicts=True)
  File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 1200, in apply
    modified_paths = self._apply_insertions(inventory_delta, mover)
  File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 1301, in _apply_insertions
    self.final_file_id(trans_id))
  File "/usr/lib/python2.5/site-packages/bzrlib/inventory.py", line 1412, in make_entry
    name = ensure_normalized_name(name)
  File "/usr/lib/python2.5/site-packages/bzrlib/inventory.py", line 1431, in ensure_normalized_name
    norm_name, can_access = osutils.normalized_filename(name)
  File "/usr/lib/python2.5/site-packages/bzrlib/osutils.py", line 1037, in
_inaccessible_normalized_filename
    normalized = unicodedata.normalize('NFC', unicode(path))
  File "/usr/lib/python2.5/site-packages/bzrlib/lazy_import.py", line 106, in __getattribute__
    obj = _replace()
  File "/usr/lib/python2.5/site-packages/bzrlib/lazy_import.py", line 89, in _replace
    obj = factory(self, scope, name)
  File "/usr/lib/python2.5/site-packages/bzrlib/lazy_import.py", line 196, in _import
    module = __import__(module_python_path, scope, scope, [])
ImportError: No module named unicodedata

bzr 1.3.1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'checkout', '--lightweight', 'sftp://admin.dedtailsbydesign.com/', '/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'


-- 
Hal





More information about the ubuntu-users mailing list