bzr-loom fails on OS X 10.11.3 with bzr 2.7.0

Bug #1546828 reported by Fred McCann on 2016-02-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Loom
Undecided
Unassigned

Bug Description

bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'BzrBranch5'

Traceback (most recent call last):
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/commands.py", line 930, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/commands.py", line 1121, in run_bzr
    ret = run(*run_argv)
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/commands.py", line 697, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/local/share/bazaar/plugins/loom/commands.py", line 65, in run
    branch.loomify(target)
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/lazy_import.py", line 108, in __getattribute__
    obj = object.__getattribute__(self, '_resolve')()
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/lazy_import.py", line 85, in _resolve
    obj = factory(self, scope, name)
  File "/usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib/lazy_import.py", line 200, in _import
    module = __import__(module_python_path, scope, scope, [member], level=0)
  File "/usr/local/share/bazaar/plugins/loom/branch.py", line 747, in <module>
    class LoomBranch(LoomSupport, bzrlib.branch.BzrBranch5):
AttributeError: 'module' object has no attribute 'BzrBranch5'

bzr 2.7.0 on python 2.7.10 (Darwin-15.3.0-x86_64-i386-64bit)
arguments: ['/usr/local/Cellar/bazaar/2.7.0/libexec/bzr', 'loomify']
plugins: bash_completion[2.7.0], bisect[1.1.0dev], changelog_merge[2.7.0],
    grep[2.7.0], launchpad[2.7.0], loom[2.2.0], netrc_credential_store[2.7.0],
    news_merge[2.7.0], po_merge[2.7.0], qbzr[0.23.1], rewrite[0.6.3],
    weave_fmt[2.7.0]
encoding: 'utf-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

$> bzr --version
Bazaar (bzr) 2.7.0
  Python interpreter: /usr/bin/python 2.7.10
  Python standard library: /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7
  Platform: Darwin-15.3.0-x86_64-i386-64bit
  bzrlib: /usr/local/Cellar/bazaar/2.7.0/libexec/bzrlib
  Bazaar configuration: /Users/fmccann/.bazaar
  Bazaar log file: /Users/fmccann/.bzr.log

Copyright 2005-2012 Canonical Ltd.
http://bazaar.canonical.com/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Bazaar is part of the GNU Project to produce a free operating system.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers