TooManyConcurrentRequests while committing on bound branch

Bug #159093 reported by Martin Pool
4
Affects Status Importance Assigned to Milestone
Bazaar
New
Medium
Unassigned

Bug Description

I had this error while comitting on a bound branch (using bzr+ssh)

Thanks,
Noam

$ bzr commit -m "Changed only colors/alpha in completions"
Unable to load plugin 'remove_full_tree' from '/home/noam/.bazaar/plugins'
modified gui/CompletionWidget.py
modified test/test_completions.py
[====================== ] Uploading data to master branch - Stage 3/5Traceback (most recent call last):
  File "/usr/bin/bzr", line 116, in <module>
    sys.stdout.flush()
ValueError: I/O operation on closed file
bzr: ERROR: bzrlib.errors.TooManyConcurrentRequests: The medium '<bzrlib.smart.medium.SmartSSHClientMedium object at 0x85ebf6c>' 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 "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 817, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 779, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 477, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 2283, in run
    reporter=reporter, revprops=properties)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 246, in commit
    result = WorkingTree3.commit(self, message, revprops, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 165, in write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 207, in commit
    revprops=revprops, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/commit.py", line 345, in commit
    self._cleanup()
  File "/usr/lib/python2.5/site-packages/bzrlib/commit.py", line 533, in _cleanup
    raise e
TooManyConcurrentRequests: The medium '<bzrlib.smart.medium.SmartSSHClientMedium object at 0x85ebf6c>' has reached its concurrent request limit. Be sure to finish_writing and finish_reading on the currently open request.

bzr 0.90.0 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'commit', '-m', 'Changed only colors/alpha in completions']

** please send this report to <email address hidden>

Tags: hpss
Martin Pool (mbp)
Changed in bzr:
importance: Undecided → Medium
Revision history for this message
Martin Pool (mbp) wrote : Re: error while committing on bound branch

> This sort of thing can be caused by network problems, e.g. the host is
> unreachable or incorrect. I had a patch for these problems, but it
> wasn't deemed suitable for merging.

I thought it was probably that, but I was surprised not to see some
kind of message about the connection being broken.

--
Martin

Revision history for this message
Noam Lewis (lenoam) wrote :

After a short discussion on #bzr, i found that this was caused because
during the bzr+ssh operation, ssh encountered a permission error on one of
the files, which in turn caused a disconnection, which in turn caused this
error (which does NOT describe a disconnection, obviously).

Noam.

On 10/31/07, Martin Pool <email address hidden> wrote:
>
> > This sort of thing can be caused by network problems, e.g. the host is
> > unreachable or incorrect. I had a patch for these problems, but it
> > wasn't deemed suitable for merging.
>
> I thought it was probably that, but I was surprised not to see some
> kind of message about the connection being broken.
>
> --
> Martin
>

Revision history for this message
Romuald du Song (rdusong) wrote :

I too did bump on this bug. Willing to send a bug I was presented this one which gave me a hint how to fix the problem.
Needless to say that a more suitable message would greatly help as bzr will not be able to fix that ! Too bad ;-)

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.