bzr-touch installation

Parth Malwankar parth.malwankar at gmail.com
Sat Feb 14 15:47:48 GMT 2009


Hello,

While installing the bzr-touch plugin I get the error listed
in the end. I am not sure what if I am doing something wrong
here.

The bzr-touch directory does seem to be created.

-- 
Parth Malwankar
PS: Thanks for bzr. Its a pleasure to use.

[parth:plugins]% pwd
/home/parth/.bazaar/plugins
[parth:plugins]% bzr branch https://launchpad.net/bzr-touch
bzr: ERROR: exceptions.ImportError: The email plugin must be installed
as bzrlib.plugins.email not email

Traceback (most recent call last):
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/commands.py",
line 896, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/commands.py",
line 842, in run_bzr
    ret = run(*run_argv)
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/commands.py",
line 542, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/builtins.py",
line 1045, in run
    source_branch=br_from)
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/bzrdir.py",
line 1127, in sprout
    result, revision_id=_mod_revision.NULL_REVISION)
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/decorators.py",
line 138, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/branch.py",
line 870, in sprout
    self.copy_content_into(result, revision_id=revision_id)
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/decorators.py",
line 138, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/branch.py",
line 910, in copy_content_into
    self._synchronize_history(destination, revision_id)
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/branch.py",
line 2314, in _synchronize_history
    Branch._synchronize_history(self, destination, revision_id)
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/branch.py",
line 901, in _synchronize_history
    destination.set_last_revision_info(revno, revision_id)
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/decorators.py",
line 192, in write_locked
    result = unbound(self, *args, **kwargs)
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/branch.py",
line 2302, in set_last_revision_info
    self._run_post_change_branch_tip_hooks(old_revno, old_revid)
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/branch.py",
line 1826, in _run_post_change_branch_tip_hooks
    hook(params)
  File "/home/parth/.bazaar/plugins/email/__init__.py", line 97, in
branch_post_change_hook
    _emailer.EmailSender(params.branch, params.new_revid,
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/lazy_import.py",
line 106, in __getattribute__
    obj = _replace()
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/lazy_import.py",
line 89, in _replace
    obj = factory(self, scope, name)
  File "/home/parth/install/bzr-1.12/lib/python2.5/site-packages/bzrlib/lazy_import.py",
line 192, in _import
    module = __import__(module_python_path, scope, scope, [member])
  File "/home/parth/.bazaar/plugins/email/emailer.py", line 25, in <module>
    from smtp_connection import SMTPConnection
  File "/home/parth/.bazaar/plugins/email/smtp_connection.py", line
19, in <module>
    from email.Header import Header
  File "/home/parth/.bazaar/plugins/email/__init__.py", line 67, in <module>
    % __name__)
ImportError: The email plugin must be installed as
bzrlib.plugins.email not email

bzr 1.12 on python 2.5.2 (linux2)
arguments: ['/home/parth/install/bzr/bin/bzr', 'branch',
'https://launchpad.net/bzr-touch']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_IN'
plugins:
  bzrtools             /home/parth/.bazaar/plugins/bzrtools [1.12]
  email                /home/parth/.bazaar/plugins/email [unknown]
  launchpad
/home/parth/install/bzr/lib/python2.5/site-packages/bzrlib/plugins/launchpad
[unknown]
  netrc_credential_store
/home/parth/install/bzr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store
[unknown]
*** 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.
[parth:plugins]% bzr version
Bazaar (bzr) 1.12
  Python interpreter: /usr/bin/python 2.5.2
  Python standard library: /usr/lib/python2.5
  bzrlib: /home/parth/install/bzr/lib/python2.5/site-packages/bzrlib
  Bazaar configuration: /home/parth/.bazaar
  Bazaar log file: /home/parth/.bzr.log

Copyright 2005, 2006, 2007, 2008, 2009 Canonical Ltd.
http://bazaar-vcs.org/

bzr comes with ABSOLUTELY NO WARRANTY.  bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

[parth:plugins]% ls
bzrtools/  bzr-touch/  email/
[parth:plugins]%

[parth:plugins]% bzr plugins
bzrtools 1.12
    Various useful commands for working with bzr.

email
    Sending emails for commits and branch changes.

launchpad
    Launchpad.net integration plugin for Bazaar.

netrc_credential_store
    Use ~/.netrc as a credential store for authentication.conf.

[parth:plugins]%



More information about the bazaar mailing list