'bzr help branches' failed: bzr crashed with AttributeError in help(): 'Option' object has no attribute 'get_help_topic'

Bug #965642 reported by Colin D Bennett
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
bzrtools (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

Running Ubuntu Precise pre-release. Running 'bzr branches' in my repository with many branches doesn't show anything, so I tried 'bzr help branches', which crashes with this stack trace.

Package versions:
bzr 2.5.0-2ubuntu1
bzrtools 2.5-1

bzr: ERROR: exceptions.AttributeError: 'Option' object has no attribute 'get_help_topic'

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 920, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1131, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 695, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1148, in ignore_pipe
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 4819, in run
    bzrlib.help.help(topic)
  File "/usr/lib/python2.7/dist-packages/bzrlib/help.py", line 51, in help
    topic_obj.get_help_topic()))
AttributeError: 'Option' object has no attribute 'get_help_topic'

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: bzr 2.5.0-2ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-20.32-generic 3.2.12
Uname: Linux 3.2.0-20-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 1.95-0ubuntu1
Architecture: amd64
BzrDebugFlags: set()
BzrVersion: 2.5.0
CommandLine: ['/usr/bin/bzr', 'help', 'branches']
CrashDb: bzr
Date: Mon Mar 26 12:58:49 2012
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64+mac (20120322)
InterpreterPath: /usr/bin/python2.7
Locale: en_US.UTF-8
PackageArchitecture: all
Platform: Linux-3.2.0-20-generic-x86_64-with-Ubuntu-12.04-precise
ProcCmdline: /usr/bin/python /usr/bin/bzr help branches
PythonVersion: 2.7.3rc2
SourcePackage: bzr
Title: bzr crashed with AttributeError in help(): 'Option' object has no attribute 'get_help_topic'
UpgradeStatus: No upgrade log present (probably fresh install)
UserEncoding: utf-8
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Colin D Bennett (colinb) wrote :
Revision history for this message
Colin D Bennett (colinb) wrote :

I see that bzrtools decided to rename the “branches” command to “list-branches” [see below]

The list-branches command works fine. The 'branches' command needs to be fixed either in bzr or in bzrtools. Is “branches” some new core command related to colocated branches??? Is that why bzrtools renamed to list-branches?

bzrtools change that renamed 'branches' command:

------------------------------------------------------------
revno: 780
committer: Aaron Bentley <email address hidden>
branch nick: bzrtools.dev
timestamp: Sat 2011-09-24 23:13:49 -0400
message:
  Rename 'branches' to list-branches, keep 'branches' as alias if not built in.

tags: removed: need-duplicate-check
Changed in bzrtools (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bzrtools (Ubuntu):
status: New → Confirmed
Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote :

I'm also seeing this with 'bzr help tags'

visibility: private → public
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.