bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'require_any_api'
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 849, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 795, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 495, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 976, in run
branch_location)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 888, in open_tree_or_branch
bzrdir = klass.open(location)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 766, in open
return BzrDir.open_from_transport(t, _unsupported=_unsupported)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 803, in open_from_transport
redirected)
File "/usr/lib/python2.5/site-packages/bzrlib/lazy_import.py", line 125, in __call__
return obj(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/transport/__init__.py", line 1621, in do_catching_redirections
return action(transport)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 780, in find_format
transport, _server_formats=_server_formats)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1634, in find_format
return format.probe_transport(transport)
File "/home/dmuir/.bazaar/plugins/svn/format.py", line 69, in probe_transport
format = klass()
File "/home/dmuir/.bazaar/plugins/svn/format.py", line 61, in __init__
lazy_check_versions()
File "/home/dmuir/.bazaar/plugins/svn/__init__.py", line 154, in lazy_check_versions
bzrlib.api.require_any_api(bzrlib, COMPATIBLE_BZR_VERSIONS)
AttributeError: 'module' object has no attribute 'require_any_api'
Yes, it is. Am I doing something wrong? I just tried:
bzr checkout http:// redmine. rubyforge. org/svn/ trunk redmine
And got:
bzr: ERROR: exceptions. AttributeError: 'module' object has no attribute 'require_any_api'
Traceback (most recent call last): python2. 5/site- packages/ bzrlib/ commands. py", line 849, in run_bzr_ catch_errors python2. 5/site- packages/ bzrlib/ commands. py", line 795, in run_bzr python2. 5/site- packages/ bzrlib/ commands. py", line 495, in run_argv_aliases **all_cmd_ args) python2. 5/site- packages/ bzrlib/ builtins. py", line 976, in run location) python2. 5/site- packages/ bzrlib/ bzrdir. py", line 888, in open_tree_or_branch location) python2. 5/site- packages/ bzrlib/ bzrdir. py", line 766, in open open_from_ transport( t, _unsupported= _unsupported) python2. 5/site- packages/ bzrlib/ bzrdir. py", line 803, in open_from_transport python2. 5/site- packages/ bzrlib/ lazy_import. py", line 125, in __call__ python2. 5/site- packages/ bzrlib/ transport/ __init_ _.py", line 1621, in do_catching_ redirections python2. 5/site- packages/ bzrlib/ bzrdir. py", line 780, in find_format formats= _server_ formats) python2. 5/site- packages/ bzrlib/ bzrdir. py", line 1634, in find_format probe_transport (transport) dmuir/. bazaar/ plugins/ svn/format. py", line 69, in probe_transport dmuir/. bazaar/ plugins/ svn/format. py", line 61, in __init__ check_versions( ) dmuir/. bazaar/ plugins/ svn/__init_ _.py", line 154, in lazy_check_versions api.require_ any_api( bzrlib, COMPATIBLE_ BZR_VERSIONS)
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
branch_
File "/usr/lib/
bzrdir = klass.open(
File "/usr/lib/
return BzrDir.
File "/usr/lib/
redirected)
File "/usr/lib/
return obj(*args, **kwargs)
File "/usr/lib/
return action(transport)
File "/usr/lib/
transport, _server_
File "/usr/lib/
return format.
File "/home/
format = klass()
File "/home/
lazy_
File "/home/
bzrlib.
AttributeError: 'module' object has no attribute 'require_any_api'
bzr 1.8 on python 2.5.2 (linux2) redmine. rubyforge. org/svn/ trunk', 'redmine'] python2. 5/site- packages/ bzrlib/ plugins/ gtk [0.95.0] python2. 5/site- packages/ bzrlib/ plugins/ launchpad [unknown] .bazaar/ plugins/ svn [0.4.14] .bazaar/ plugins/ webdav [1.6.0] python2. 5/site- packages/ bzrlib/ plugins/ xmloutput [0.8.0]
arguments: ['/usr/bin/bzr', 'checkout', 'http://
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_AU.UTF-8'
plugins:
gtk /usr/lib/
launchpad /usr/lib/
svn /home/dmuir/
webdav /home/dmuir/
xmloutput /usr/lib/
I'll submit this second case as a separate bug report unless I'm doing something wrong.