Comment 2 for bug 294984

Revision history for this message
dmuir (dmuir) wrote :

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):
  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'

bzr 1.8 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'checkout', 'http://redmine.rubyforge.org/svn/trunk', 'redmine']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_AU.UTF-8'
plugins:
  gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.95.0]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  svn /home/dmuir/.bazaar/plugins/svn [0.4.14]
  webdav /home/dmuir/.bazaar/plugins/webdav [1.6.0]
  xmloutput /usr/lib/python2.5/site-packages/bzrlib/plugins/xmloutput [0.8.0]

I'll submit this second case as a separate bug report unless I'm doing something wrong.