`bzr log -v -rthread:` fails with AttributeError

Bug #370545 reported by Gordon P. Hemsley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Loom
New
Undecided
Unassigned

Bug Description

$ bzr log -v -rthread:
bzr: ERROR: exceptions.AttributeError: 'BzrBranch7' object has no attribute 'get_loom_state'

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/commands.py", line 716, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/commands.py", line 911, in run_bzr
    ret = run(*run_argv)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/commands.py", line 547, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/commands.py", line 926, in ignore_pipe
    result = func(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/builtins.py", line 2150, in run
    rev1, rev2 = _get_revision_range(revision, b, self.name())
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/builtins.py", line 2183, in _get_revision_range
    rev1 = rev2 = revisionspec_list[0].in_history(branch)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/revisionspec.py", line 225, in in_history
    return self._match_on_and_check(branch, revs)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/revisionspec.py", line 204, in _match_on_and_check
    info = self._match_on(branch, revs)
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/loom/revspec.py", line 44, in _match_on
    return RevisionInfo(branch, None, self._as_revision_id(branch))
  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/loom/revspec.py", line 51, in _as_revision_id
    state = branch.get_loom_state()
AttributeError: 'BzrBranch7' object has no attribute 'get_loom_state'

bzr 1.13.1 on python 2.5.2 (darwin)
arguments: ['/usr/bin/bzr', 'log', '-v', '-rthread:']
encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
plugins:
  bzrtools /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.13]
  email /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/email [unknown]
  extmerge /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/extmerge [unknown]
  gtk /Users/gphemsley/.bazaar/plugins/gtk [0.95.0.final.1]
  launchpad /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  loom /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/loom [1.4dev]
  netrc_credential_store /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
  qbzr /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/qbzr [0.9.8]
  rebase /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.4.5dev]
  search /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/search [1.7dev]
  upload /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/upload [1.0dev]
*** 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.

Tags: looms
Revision history for this message
Gordon P. Hemsley (gphemsley) wrote :

Moving this to Looms, I think.

affects: bzr → bzr-loom
Revision history for this message
Robert Collins (lifeless) wrote :

How should I go about reproducing this?

Changed in bzr-loom:
status: New → Incomplete
Revision history for this message
Gordon P. Hemsley (gphemsley) wrote :

Um... execute the given command...?

`bzr log -v -rthread:`

Changed in bzr-loom:
status: Incomplete → New
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 370545] Re: `bzr log -v -rthread:` fails with AttributeError

On Thu, 2009-06-18 at 06:39 +0000, Gordon P. Hemsley wrote:
> Um... execute the given command...?
>
> `bzr log -v -rthread:`

$ bzr log -v -rthread:
------------------------------------------------------------
revno: 2020 [merge]
committer: Canonical.com Patch Queue Manager<email address hidden>
branch nick: +trunk

...

-Rob

Revision history for this message
Gordon P. Hemsley (gphemsley) wrote :
Download full text (4.7 KiB)

...on a branch that doesn't use them. :)

Gordon

On Thu, Jun 18, 2009 at 3:08 AM, Robert
Collins<email address hidden> wrote:
> On Thu, 2009-06-18 at 06:39 +0000, Gordon P. Hemsley wrote:
>> Um... execute the given command...?
>>
>> `bzr log -v -rthread:`
>
>
> $ bzr log -v -rthread:
> ------------------------------------------------------------
> revno: 2020 [merge]
> committer: Canonical.com Patch Queue Manager<email address hidden>
> branch nick: +trunk
>
> ...
>
> -Rob
>
> --
> `bzr log -v -rthread:` fails with AttributeError
> https://bugs.launchpad.net/bugs/370545
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Bazaar Loom: New
>
> Bug description:
> $ bzr log -v -rthread:
> bzr: ERROR: exceptions.AttributeError: 'BzrBranch7' object has no attribute 'get_loom_state'
>
> Traceback (most recent call last):
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/commands.py", line 716, in exception_to_return_code
>    return the_callable(*args, **kwargs)
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/commands.py", line 911, in run_bzr
>    ret = run(*run_argv)
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/commands.py", line 547, in run_argv_aliases
>    return self.run(**all_cmd_args)
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/commands.py", line 926, in ignore_pipe
>    result = func(*args, **kwargs)
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/builtins.py", line 2150, in run
>    rev1, rev2 = _get_revision_range(revision, b, self.name())
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/builtins.py", line 2183, in _get_revision_range
>    rev1 = rev2 = revisionspec_list[0].in_history(branch)
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/revisionspec.py", line 225, in in_history
>    return self._match_on_and_check(branch, revs)
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/revisionspec.py", line 204, in _match_on_and_check
>    info = self._match_on(branch, revs)
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/loom/revspec.py", line 44, in _match_on
>    return RevisionInfo(branch, None, self._as_revision_id(branch))
>  File "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/loom/revspec.py", line 51, in _as_revision_id
>    state = branch.get_loom_state()
> AttributeError: 'BzrBranch7' object has no attribute 'get_loom_state'
>
> bzr 1.13.1 on python 2.5.2 (darwin)
> arguments: ['/usr/bin/bzr', 'log', '-v', '-rthread:']
> encoding: 'UTF-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
> plugins:
>  bzrtools             /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.13]
>  email                /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/bzr...

Read more...

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.