Doesn't work on 1.8rc1 on gentoo

Bug #284803 reported by Jisakiel
2
Affects Status Importance Assigned to Milestone
Bazaar/Avahi Plugin
Invalid
Undecided
Unassigned

Bug Description

I can't get bzr-avahi to work on gentoo. On the latest version of the plugin:

~/.bazaar/plugins/avahi $ bzr pull lp:bzr-avahi
Unable to load plugin 'avahi' from '/home/jisakiel/.bazaar/plugins'
Enter passphrase for key '/home/jisakiel/.ssh/id_dsa':
No revisions to pull.

And of bzr (using a layman repository, but bzr ebuild should be the same as on portage):

dev-util/bzr
     Available versions: 1.5 (~)1.6.1 (~)1.7.1 (~)1.8_rc1 (~)1.8_rc1[1] {bash-completion curl doc emacs sftp test}

I get the following:
$ bzr -Derror advertise
Unable to load plugin 'avahi' from '/home/jisakiel/.bazaar/plugins'
bzr: ERROR: exceptions.ImportError: No module named server_mainloop

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/plugin.py", line 210, in load_from_dir
    exec "import bzrlib.plugins.%s" % name in {}
  File "<string>", line 1, in <module>
  File "/home/jisakiel/.bazaar/plugins/avahi/__init__.py", line 36, in <module>
    from bzrlib.plugins.dbus.server_mainloop import MainloopThread
ImportError: No module named server_mainloop
bzr: ERROR: bzrlib.errors.BzrCommandError: unknown command "advertise"

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 849, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 773, 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 140, in get_cmd_object
    raise errors.BzrCommandError('unknown command "%s"' % cmd_name)
BzrCommandError: unknown command "advertise"

¿Any ideas?

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

This happens because you're running a very old version of bzr. It should not happen with newer versions.

Changed in bzr-avahi:
status: New → Invalid
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.