bzr error - failed to load bzrlib.repofmt.knitrepo.RepositoryFormatKnit1

Filip Rembiałkowski plk.zuber at gmail.com
Thu Nov 1 08:24:53 GMT 2007


Hi all bazaar users,

After fresh install I get this error (see below)

I'm new to bazaar and python so sorry if it's something obvious.

What might be the problem?


root at boa:/usr/src/bzr-0.91# python setup.py install --home ~

The python package 'Pyrex' is not available. If the .c files are available,
they will be built, but modifying the .pyx files will not rebuild them.

running install
running build
running build_py
running build_ext
running build_scripts
running install_lib
running install_scripts
changing mode of /root/bin/bzr to 755
running install_data
copying bzr.1 -> /root/man/man1
running install_egg_info
Removing /root/lib/python/bzr-0.91.0-py2.5.egg-info
Writing /root/lib/python/bzr-0.91.0-py2.5.egg-info

root at boa:/usr/src/bzr-0.91# set | egrep '^(PATH|PYTH)'
PATH=/usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/root/bin
PYTHONPATH=/root/lib/python

root at boa:/usr/src/bzr-0.91# cd /etc && bzr init
bzr: ERROR: exceptions.ImportError: failed to load
bzrlib.repofmt.knitrepo.RepositoryFormatKnit1: No module named _md5

Traceback (most recent call last):
  File "/root/lib/python/bzrlib/commands.py", line 800, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/root/lib/python/bzrlib/commands.py", line 758, in run_bzr
    ret = run(*run_argv)
  File "/root/lib/python/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/root/lib/python/bzrlib/builtins.py", line 1282, in run
    format = bzrdir.format_registry.make_bzrdir('default')
  File "/root/lib/python/bzrlib/bzrdir.py", line 2365, in make_bzrdir
    return self.get(key)()
  File "/root/lib/python/bzrlib/bzrdir.py", line 2322, in helper
    bd.repository_format = _load(repository_format)
  File "/root/lib/python/bzrlib/bzrdir.py", line 2307, in _load
    raise ImportError('failed to load %s: %s' % (full_name, e))
ImportError: failed to load
bzrlib.repofmt.knitrepo.RepositoryFormatKnit1: No module named _md5

bzr 0.91.0 on python 2.5.1.final.0 (linux2)
arguments: ['/root/bin/bzr', 'init']

** please send this report to bazaar at lists.ubuntu.com



-- 
Filip Rembiałkowski


More information about the bazaar mailing list