Committing revision throws wrong error when PuTTY key not loaded

Bug #918510 reported by Dan Fischbach
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

I was told to file a bug here via IRC.

When committing new content to a server on my LAN, the Bazaar client throws the wrong kind of error when I forgot to load my Private Key for authentication.

Windows 7 Home Premium x64 SP1

PuTTY version on Windows Client:

Bazaar Version on Windows Client:
bzr version: 2.4.2
Bazaar Explorer: 1.2.1
QBzr: 0.21.1
bzrlib: 2.4.2
PyQt: 4.8.4
Qt: 4.7.2
Python: 2.6.6

Ubuntu 11.11 x32

Bazaar version on Linux Server:
bzr version: 2.4.2

Wed 2012-01-18 14:39:27 -0500
0.053 bazaar version: 2.4.2
0.053 bzr arguments: [u'qsubprocess', u'--bencode', u'@c:/users/wolf/appdata/local/temp/QBzr/qsubprocess/tmpczwrwu']
0.081 looking for plugins in C:/Users/Wolf/AppData/Roaming/bazaar/2.0/plugins
0.081 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
0.164 encoding stdout as osutils.get_user_encoding() 'cp1252'
0.257 bazaar version: 2.4.2
0.257 bzr arguments: [u'commit', u'-m', u'* Added ignore\n* Changed button text slightly', u'SOPAPIPABuster', u'.bzrignore', u'SOPAPIPABuster/bin/SOPAPIPABuster.swf', u'SOPAPIPABuster/obj/SOPAPIPABusterConfig.old', u'SOPAPIPABuster/obj/SOPAPIPABusterConfig.xml', u'SOPAPIPABuster/src/', u'SOPAPIPABuster/SOPAPIPABuster.as3proj']
0.259 encoding stdout as osutils.get_user_encoding() 'cp1252'
0.290 opening working tree 'D:/projects/SOPA/SOPA'
0.363 falling back to default implementation
0.363 failed to load system host keys: [Errno 2] No such file or directory: 'C:\\Users\\Wolf/.ssh/known_hosts'
[ 3588] 2012-01-18 14:39:27.908 INFO: Connected (version 2.0, client OpenSSH_5.8p1)
5.562 Could not connect to bound branch, falling back to local nick.
 Unable to connect to target of bound branch BzrBranch7(file:///D:/projects/SOPA/SOPA/) => bzr+ssh://wolf@ Connection error: Unable to authenticate to SSH host as
supported auth types: ['publickey']
5.562 preparing to commit
5.571 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
5.571 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
5.571 Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 946, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1150, in run_bzr
  File "bzrlib\commands.pyo", line 699, in run_argv_aliases
  File "bzrlib\commands.pyo", line 721, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\", line 821, in run
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\", line 888, in run_subprocess_command
  File "bzrlib\commands.pyo", line 1150, in run_bzr
  File "bzrlib\commands.pyo", line 699, in run_argv_aliases
  File "bzrlib\commands.pyo", line 721, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "bzrlib\builtins.pyo", line 3316, in run
  File "bzrlib\decorators.pyo", line 217, in write_locked
  File "bzrlib\workingtree_4.pyo", line 209, in commit
  File "bzrlib\decorators.pyo", line 217, in write_locked
  File "bzrlib\mutabletree.pyo", line 210, in commit
  File "bzrlib\commit.pyo", line 289, in commit
  File "bzrlib\cleanup.pyo", line 131, in run
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "bzrlib\commit.pyo", line 363, in _commit
  File "bzrlib\commit.pyo", line 512, in _check_bound_branch
  File "bzrlib\decorators.pyo", line 154, in read_locked
  File "bzrlib\branch.pyo", line 2597, in get_master_branch
  File "bzrlib\branch.pyo", line 2606, in _get_master_branch
  File "bzrlib\branch.pyo", line 184, in open
  File "bzrlib\bzrdir.pyo", line 828, in open
  File "bzrlib\bzrdir.pyo", line 863, in open_from_transport
  File "bzrlib\bzrdir.pyo", line 1590, in open
  File "bzrlib\remote.pyo", line 293, in _open
  File "bzrlib\remote.pyo", line 356, in __init__
  File "bzrlib\remote.pyo", line 368, in _probe_bzrdir
  File "bzrlib\remote.pyo", line 375, in _rpc_open_2_1
  File "bzrlib\remote.pyo", line 56, in _call
  File "bzrlib\smart\client.pyo", line 132, in call
  File "bzrlib\smart\client.pyo", line 145, in call_expecting_body
  File "bzrlib\smart\client.pyo", line 90, in _call_and_read_response
  File "bzrlib\smart\client.pyo", line 45, in _send_request
  File "bzrlib\smart\client.pyo", line 115, in _construct_protocol
  File "bzrlib\smart\medium.pyo", line 710, in get_request
  File "bzrlib\smart\medium.pyo", line 968, in __init__
TooManyConcurrentRequests: The medium 'SmartSSHClientMedium(bzr+ssh://wolf@' has reached its concurrent request limit. Be sure to finish_writing and finish_reading on the currently open request.

5.573 couldn't find apport bug-reporting library: No module named apport
5.580 return code 4
13.967 check paths: None
13.985 check paths: None
14.004 check paths: None
14.022 check paths: None

Revision history for this message
Martin Packman (gz) wrote :

Thanks for the report! See the existing bug about this error being unhelpful for more details.

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.