Comment 7 for bug 389648

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: internal error on bzr hooks

I've got the same problem with bzr.exe 2.0.1:

BranchHooks:
  open:
    <no hooks installed>
  post_change_branch_tip:
    <no hooks installed>
  post_commit:
    <no hooks installed>
  post_pull:
    <no hooks installed>
  post_push:
    <no hooks installed>
  post_uncommit:
    Remember uncomitted revision data for qcommit
  pre_change_branch_tip:
    <no hooks installed>
  pre_commit:
    <no hooks installed>
  set_rh:
    <no hooks installed>
  transform_fallback_location:
    <no hooks installed>
BzrDirHooks:
  pre_open:
    <no hooks installed>
CommandHooks:
  extend_command:
    <no hooks installed>
  get_command:
    bzr commands
    bzr plugin commands
    bzr external command lookup
  get_missing_command:
    bzr plugin-provider-db check
  list_commands:
    bzr commands
InfoHooks:
  repository:
bzr: ERROR: exceptions.AttributeError: 'InfoHooks' object has no attribute '_callable_names'

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 842, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1037, in run_bzr
  File "bzrlib\commands.pyo", line 654, in run_argv_aliases
  File "bzrlib\builtins.pyo", line 5593, in run
  File "bzrlib\hooks.pyo", line 147, in get_hook_name
AttributeError: 'InfoHooks' object has no attribute '_callable_names'

bzr 2.0.1 on python 2.5.4 (Windows-XP-5.1.2600-SP3)
arguments: ['C:\\Program Files\\Bazaar\\bzr.EXE', 'hooks']
encoding: 'cp1251', fsenc: 'mbcs', lang: 'ru'
plugins:
  acad C:\work\Bazaar\plugins\acad [0.8.0]
  bzrtools C:\Program Files\Bazaar\plugins\bzrtools [2.0.1]
  explorer C:\work\Bazaar\plugins\explorer [0.9.0]
  fastimport C:\work\Bazaar\plugins\fastimport [0.8.0dev]
  format1 C:\work\Bazaar\plugins\format1 [unknown]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [2.0.1]
  qbzr C:\work\Bazaar\plugins\qbzr [0.14.5]
  rebase C:\work\Bazaar\plugins\rebase [0.5.4]
  repoalias C:\work\Bazaar\plugins\repoalias [unknown]
  scmproj C:\work\Bazaar\plugins\scmproj [0.4.6dev]
  stats C:\work\Bazaar\plugins\stats [unknown]
  svn C:\work\Bazaar\plugins\svn [1.0.2dev]
  x_bit C:\work\Bazaar\plugins\x_bit [1.0.0]

*** 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.

Running `bzr --no-plugins hooks` is OK.