bzr: ERROR: exceptions.AttributeError: sendall

Bug #293886 reported by Bob Tanner
2
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

$ bzr merge --remember https://bazaar.real-time.com/dns/
/Users/tanner/projects/bzr.dev/bzrlib/transport/http/_urllib2_wrappers.py:254: DeprecationWarning: socket.ssl() is deprecated. Use ssl.wrap_socket() instead.
  ssl = socket.ssl(self.sock, self.key_file, self.cert_file)
/Users/tanner/projects/bzr.dev/bzrlib/transport/http/_urllib2_wrappers.py:255: DeprecationWarning: FakeSocket is deprecated, and won't be in 3.x. Use the result of ssl.wrap_socket() directly instead.
  self.sock = httplib.FakeSocket(self.sock, ssl)
bzr: ERROR: exceptions.AttributeError: sendall

Traceback (most recent call last):
  File "/Users/tanner/projects/bzr.dev/bzrlib/commands.py", line 893, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/Users/tanner/projects/bzr.dev/bzrlib/commands.py", line 839, in run_bzr
    ret = run(*run_argv)
  File "/Users/tanner/projects/bzr.dev/bzrlib/commands.py", line 539, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/Users/tanner/projects/bzr.dev/bzrlib/builtins.py", line 3017, in run
    possible_transports=possible_transports)
  File "/Users/tanner/projects/bzr.dev/bzrlib/bundle/__init__.py", line 51, in read_mergeable_from_url
    _do_directive)
  File "/Users/tanner/projects/bzr.dev/bzrlib/bundle/__init__.py", line 73, in read_mergeable_from_transport
    redirected_transport)
  File "/Users/tanner/projects/bzr.dev/bzrlib/lazy_import.py", line 125, in __call__
    return obj(*args, **kwargs)
  File "/Users/tanner/projects/bzr.dev/bzrlib/transport/__init__.py", line 1634, in do_catching_redirections
    return action(transport)
  File "/Users/tanner/projects/bzr.dev/bzrlib/bundle/__init__.py", line 61, in get_bundle
    return transport.get(filename), transport
  File "/Users/tanner/projects/bzr.dev/bzrlib/transport/http/__init__.py", line 128, in get
    code, response_file = self._get(relpath, None)
  File "/Users/tanner/projects/bzr.dev/bzrlib/transport/http/_urllib.py", line 119, in _get
    response = self._perform(request)
  File "/Users/tanner/projects/bzr.dev/bzrlib/transport/http/_urllib.py", line 78, in _perform
    response = self._opener.open(request)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 383, in open
    response = self._open(req, data)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 401, in _open
    '_open', req)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/urllib2.py", line 361, in _call_chain
    result = func(*args)
  File "/Users/tanner/projects/bzr.dev/bzrlib/transport/http/_urllib2_wrappers.py", line 634, in https_open
    return self.do_open(HTTPSConnection, request)
  File "/Users/tanner/projects/bzr.dev/bzrlib/transport/http/_urllib2_wrappers.py", line 528, in do_open
    headers)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 911, in _send_request
    self.endheaders()
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 868, in endheaders
    self._send_output()
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 740, in _send_output
    self.send(msg)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/httplib.py", line 719, in send
    self.sock.sendall(str)
AttributeError: sendall

bzr 1.10dev on python 2.6 (darwin)
arguments: ['/Users/tanner/bin/bzr', 'merge', '--remember', 'https://bazaar.real-time.com/dns/']
encoding: 'US-ASCII', fsenc: 'utf-8', lang: 'en_US.US-ASCII'
plugins:
  bzrtools /Users/tanner/.bazaar/plugins/bzrtools [1.10]
  cvsps /Users/tanner/.bazaar/plugins/cvsps [unknown]
  email /Users/tanner/.bazaar/plugins/email [unknown]
  launchpad /Users/tanner/projects/bzr.dev/bzrlib/plugins/launchpad [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.

Revision history for this message
Bob Tanner (tanner) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.