traceback in bzr send

Bug #1057577 reported by DaveAbrahams on 2012-09-27
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
Medium
Unassigned
2.5
Medium
Unassigned

Bug Description

bzr send --mail-to <email address hidden> --message "A couple of bug fixes" --body "I hope I've done this right; I am a Git guy"

Using saved parent location "bzr://cedet.bzr.sourceforge.net/bzrroot/cedet/code/trunk/" to determine what changes to submit.
Bundling 2 revisions.
Waiting for Emacs...
bzr: ERROR: exceptions.AttributeError: 'BranchConfig' object has no attribute 'get'

Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/commands.py", line 920, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/commands.py", line 1131, in run_bzr
    ret = run(*run_argv)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/commands.py", line 695, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/builtins.py", line 5857, in run
    strict=strict)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/send.py", line 135, in send
    branch, tree)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/merge_directive.py", line 349, in compose_merge_request
    basename, body)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/mail_client.py", line 634, in compose_merge_request
    directive, basename=basename, body=body)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/mail_client.py", line 79, in compose_merge_request
    'x-patch', '.patch', basename, body)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/mail_client.py", line 119, in compose
    attachment_mime_subtype=mime_subtype)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/email_message.py", line 164, in send
    SMTPConnection(config).send_email(msg)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/bzrlib/smtp_connection.py", line 67, in __init__
    self._config_smtp_server = config.get('smtp_server')
AttributeError: 'BranchConfig' object has no attribute 'get'

bzr 2.5.1 on python 2.7.3 (Darwin-11.4.2-x86_64-i386-64bit)
arguments: ['/Users/dave/bin/python-scripts/bzr', 'send', '--mail-to', 'cedet-
    <email address hidden>', '--message', 'A couple of bug fixes', '--
    body', "I hope I've done this right; I am a Git guy"]
plugins: bash_completion[2.5.1], changelog_merge[2.5.1],
    fastimport[0.14.0dev], launchpad[2.5.1], netrc_credential_store[2.5.1],
    news_merge[2.5.1], po_merge[2.5.1], weave_fmt[2.5.1]
encoding: 'ascii', fsenc: 'utf-8', lang: None

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

Martin Packman (gz) wrote :

This is fixed on trunk, but is broken in the 2.5 branch.

Changed in bzr:
importance: Undecided → Medium
milestone: none → 2.6b3
status: New → Fix Released
milestone: 2.6b3 → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers