BZR Explorer: error when running selftest

Andreas Deininger adeininger at googlemail.com
Tue Jun 30 21:27:34 BST 2009


Hi all,

I just installed Bazaar Explorer on my Linux-Box (Fedora Core 6,
Python 2.4), and it seems to work fine.
However when I'm running
$bzr selftest explorer

I'm getting an error (details see below).
What's wrong here?

Regards
Andreas

------------
/usr/lib/python2.4/site-packages/bzrlib/util/bencode.py:22:
DeprecationWarning: bzrlib.util.bencode was deprecated in version
1.16.
  Use bzrlib.bencode instead
  symbol_versioning.warn(dep_warning, DeprecationWarning)
bzr: ERROR: exceptions.ImportError: cannot import name _create_prefix

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line
729, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line
924, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line
560, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 3359, in run
    result = selftest(**selftest_kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/tests/__init__.py",
line 3146, in selftest
    suite = test_suite(keep_only, starting_with)
  File "/usr/lib/python2.4/site-packages/bzrlib/tests/__init__.py",
line 3579, in test_suite
    plugin_suite = plugin.test_suite()
  File "/usr/lib/python2.4/site-packages/bzrlib/plugin.py", line 371,
in test_suite
    return self.module.test_suite()
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/gtk/__init__.py",
line 706, in test_suite
    result.addTest(tests.test_suite())
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/gtk/tests/__init__.py",
line 37, in test_suite
    result.addTest(loader.loadTestsFromModuleNames(["%s.%s" %
(__name__, i) for i in testmod_names]))
  File "/usr/lib/python2.4/site-packages/bzrlib/tests/TestUtil.py",
line 92, in loadTestsFromModuleNames
    result.addTests(self.loadTestsFromModuleName(name))
  File "/usr/lib/python2.4/site-packages/bzrlib/tests/TestUtil.py",
line 97, in loadTestsFromModuleName
    module = _load_module_by_name(name)
  File "/usr/lib/python2.4/site-packages/bzrlib/tests/TestUtil.py",
line 166, in _load_module_by_name
    module = __import__(mod_name)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/gtk/tests/test_preferences.py",
line 18, in ?
    from bzrlib.plugins.gtk.olive import Preferences
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/gtk/olive/__init__.py",
line 55, in ?
    from bzrlib.plugins.gtk.push import PushDialog
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/gtk/push.py",
line 29, in ?
    from bzrlib.builtins import _create_prefix
ImportError: cannot import name _create_prefix

bzr 1.16.1 on python 2.4.4 (linux2)
arguments: ['/usr/bin/bzr', 'selftest', 'explorer']
encoding: 'ISO-8859-1', fsenc: 'ISO-8859-1', lang: 'en_US'
plugins:
  bzrtools
/usr/lib/python2.4/site-packages/bzrlib/plugins/bzrtools [1.16]
  explorer
/usr/lib/python2.4/site-packages/bzrlib/plugins/explorer [0.4]
  gtk
/usr/lib/python2.4/site-packages/bzrlib/plugins/gtk [0.93]
  launchpad
/usr/lib/python2.4/site-packages/bzrlib/plugins/launchpad [1.16.1]
  multiparent
/usr/lib/python2.4/site-packages/bzrlib/plugins/multiparent.py
[unknown]
  netrc_credential_store
/usr/lib/python2.4/site-packages/bzrlib/plugins/netrc_credential_store
[1.16.1]
  qbzr
/usr/lib/python2.4/site-packages/bzrlib/plugins/qbzr [0.11]
*** 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.



More information about the bazaar mailing list