QBzr on Ubuntu 8.04 - Install ok gives error on every bzr command

Asked by A.B. on 2009-06-14

Hi,

I downloaded the deb for Hardy from launchpad and it installed with no errors. Whenver I run any bzr command nor related to QBzr I get a one line error before the command output saying:

    Unable to load plugin 'qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins'

And if I run bzr qbrowse I get the following huge errors list. How do I fix that?
Thanks

----
Not loading the one in <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Previously this command was registered from <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Two plugins defined the same command: 'cmd_qinit'
Not loading the one in <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Previously this command was registered from <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Two plugins defined the same command: 'cmd_qlog'
Not loading the one in <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Previously this command was registered from <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Two plugins defined the same command: 'cmd_qmerge'
Not loading the one in <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Previously this command was registered from <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Two plugins defined the same command: 'cmd_qpull'
Not loading the one in <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Previously this command was registered from <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Two plugins defined the same command: 'cmd_qpush'
Not loading the one in <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Previously this command was registered from <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Two plugins defined the same command: 'cmd_qrevert'
Not loading the one in <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Previously this command was registered from <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Two plugins defined the same command: 'cmd_qsubprocess'
Not loading the one in <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Previously this command was registered from <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Two plugins defined the same command: 'cmd_qtag'
Not loading the one in <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Previously this command was registered from <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Two plugins defined the same command: 'cmd_qview'
Not loading the one in <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Previously this command was registered from <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Two plugins defined the same command: 'cmd_bug_url'
Not loading the one in <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Previously this command was registered from <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Two plugins defined the same command: 'cmd_is_ignored'
Not loading the one in <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Previously this command was registered from <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Two plugins defined the same command: 'cmd_is_versioned'
Not loading the one in <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
Previously this command was registered from <module 'bzrlib.plugins.qbzr' from '/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.pyc'>
bzr: ERROR: exceptions.AttributeError: 'BranchHooks' object has no attribute 'install_named_hook'

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 834, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 772, in run_bzr
    cmd_obj = get_cmd_object(cmd, plugins_override=not opt_builtin)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 142, in get_cmd_object
    return _get_cmd_object(cmd_name, plugins_override)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 159, in _get_cmd_object
    return cmds[cmd_name]()
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.py", line 42, in __call__
    return self.get_obj()(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/registry.py", line 61, in get_obj
    self._do_import()
  File "/usr/lib/python2.5/site-packages/bzrlib/registry.py", line 66, in _do_import
    [self._member_name])
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/__init__.py", line 103, in <module>
    Branch.hooks.install_named_hook('post_uncommit', post_uncommit_hook, 'Remember uncomitted message for qcommit')
AttributeError: 'BranchHooks' object has no attribute 'install_named_hook'

bzr 1.3.1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'qbrowse']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
  builddeb /usr/lib/python2.5/site-packages/bzrlib/plugins/builddeb [0.92.0dev0]
  bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.3.0]
  email /usr/lib/python2.5/site-packages/bzrlib/plugins/email [unknown]
  gtk /usr/lib/python2.5/site-packages/bzrlib/plugins/gtk [0.93.0]
  launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
  pqm /usr/lib/python2.5/site-packages/bzrlib/plugins/pqm [1.0.0dev0]
  rebase /usr/lib/python2.5/site-packages/bzrlib/plugins/rebase [0.3.0]
*** 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.
 ----

Question information

Language:
English Edit question
Status:
Solved
For:
QBzr Edit question
Assignee:
No assignee Edit question
Solved by:
Alexander Belchenko
Solved:
Last query:
Last reply:
Revision history for this message
Best Alexander Belchenko (bialix) said :
#1

> bzr 1.3.1 on python 2.5.2.final.0 (linux2)

Your bzr version is too old and won't work with current qbzr version. Upgrade your bzr to 1.15 at least using PPA:
https://launchpad.net/~bzr/+archive/ppa

See instructions on page: http://bazaar-vcs.org/DistroDownloads

Revision history for this message
A.B. (abadr) said :
#2

Thanks

Revision history for this message
A.B. (abadr) said :
#3

Thanks Alexander Belchenko, that solved my question.