qconfig: TooManyConcurrentRequests error when saving in lightweight checkout.

Bug #702543 reported by Gary van der Merwe
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
QBzr
Confirmed
Medium
Unassigned

Bug Description

When you click Ok in qconfig for a lightweight checkout of a remote branch, you get this error:

bzr: ERROR: bzrlib.errors.TooManyConcurrentRequests: The medium 'SmartSSHClientMedium(bzr+ssh://None@localhost/)' has reached its concurrent request limit. Be sure to finish_writing and finish_reading on the currently open request.

Traceback (most recent call last):
  File "/home/garyvdm/.bazaar/plugins/explorer/lib/explorer.py", line 1237, in _file_edited_handler
    callback()
  File "/home/garyvdm/.bazaar/plugins/explorer/lib/explorer.py", line 1689, in do_refresh
    self.changed_view()
  File "/home/garyvdm/.bazaar/plugins/explorer/lib/explorer.py", line 667, in changed_view
    self._wt_browser.set_tree(view.tree, view.branch)
  File "/home/garyvdm/.bazaar/plugins/explorer/lib/wt_browser.py", line 65, in set_tree
    self._browser.set_tree(tree, branch)
  File "/home/garyvdm/.bazaar/plugins/explorer/lib/wt_browser.py", line 469, in set_tree
    self._tree_viewer.set_tree(tree, branch)
  File "/home/garyvdm/.bazaar/plugins/explorer/lib/wt_browser.py", line 691, in set_tree
    treewidget.TreeWidget.set_tree(self, *args)
  File "/home/garyvdm/.bazaar/plugins/qbzr/lib/treewidget.py", line 1446, in set_tree
    last_revno = branch.last_revision_info()[0]
  File "/usr/lib/python2.6/dist-packages/bzrlib/decorators.py", line 140, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.6/dist-packages/bzrlib/branch.py", line 970, in last_revision_info
    self._last_revision_info_cache = self._last_revision_info()
  File "/usr/lib/python2.6/dist-packages/bzrlib/remote.py", line 2546, in _last_revision_info
    response = self._call('Branch.last_revision_info', self._remote_path())
  File "/usr/lib/python2.6/dist-packages/bzrlib/remote.py", line 55, in _call
    return self._client.call(method, *args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/smart/client.py", line 132, in call
    result, protocol = self.call_expecting_body(method, *args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/smart/client.py", line 145, in call_expecting_body
    method, args, expect_response_body=True)
  File "/usr/lib/python2.6/dist-packages/bzrlib/smart/client.py", line 79, in _call_and_read_response
    readv_body=readv_body, body_stream=body_stream)
  File "/usr/lib/python2.6/dist-packages/bzrlib/smart/client.py", line 45, in _send_request
    protocol_version)
  File "/usr/lib/python2.6/dist-packages/bzrlib/smart/client.py", line 115, in _construct_protocol
    request = self._medium.get_request()
  File "/usr/lib/python2.6/dist-packages/bzrlib/smart/medium.py", line 711, in get_request
    return SmartClientStreamMediumRequest(self)
  File "/usr/lib/python2.6/dist-packages/bzrlib/smart/medium.py", line 969, in __init__
    raise errors.TooManyConcurrentRequests(self._medium)
TooManyConcurrentRequests: The medium 'SmartSSHClientMedium(bzr+ssh://None@localhost/)' has reached its concurrent request limit. Be sure to finish_writing and finish_reading on the currently open request.

bzr 2.2.1 on python 2.6.6 (linux2)
arguments: ['/usr/bin/bzr', 'explorer', 'qbzr-lw-co/']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_ZA.utf8'
plugins:
  qbzr /home/garyvdm/.bazaar/plugins/qbzr [0.20.0dev1]

Tags: qconfig
Changed in qbzr:
importance: Undecided → Medium
status: New → Confirmed
tags: added: qconfig
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.