[Bug 941672] Re: "bzr help branches" crashes with bzr: ERROR: exceptions.AttributeError: 'Option' object has no attribute 'get_help_topic'

Colin D Bennett colin at gibibit.com
Mon Jun 25 16:22:42 UTC 2012


UPDATE: I discovered that bzr-svn is the culprit for 'bzr tags'
crashing.

Ubuntu package bzr-svn 1.2.1-1.  If I uninstall it, 'bzr tags' works OK.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/941672

Title:
  "bzr help branches" crashes with bzr: ERROR:
  exceptions.AttributeError: 'Option' object has no attribute
  'get_help_topic'

Status in Bazaar Version Control System:
  Fix Released
Status in Bazaar 2.5 series:
  Fix Released
Status in “bzr” package in Ubuntu:
  Fix Released
Status in “bzr” source package in Precise:
  Fix Committed

Bug description:
  Had this happen while trying to figure out co-located branches.
  Completely repeatable. 2.5.0 was installed over 2.4.1 (I think).

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

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

  bzr 2.5.0 on python 2.6.1 (Darwin-10.8.0-i386-64bit)
  arguments: ['/usr/local/bin/bzr', 'help', 'branches']
  plugins: bash_completion[2.5.0], bzrtools[2.5.0], changelog_merge[2.5.0],
      colo[0.4.0], email[unknown], explorer[1.2.2], extmerge[unknown],
      fastimport[0.13.0dev], git[0.6.7], keychain[0.1.0], launchpad[2.5.0],
      loom[2.2.1dev], netrc_credential_store[2.5.0], news_merge[2.5.0],
      pipeline[1.4.0], po_merge[2.5.0], qbzr[0.22.1], rewrite[0.6.3dev],
      svn[1.1.2], upload[1.0.1dev], weave_fmt[2.5.0], xmloutput[0.8.8]
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/941672/+subscriptions




More information about the foundations-bugs mailing list