Bazaar Explorer does not open

Asked by Brian Cox on 2012-02-02


We're running into a problem on a Windows 7 machine where the Bazaar Explorer does not open. The contents of the log are:

Thu 2012-02-02 13:16:30 -0700
0.078 bazaar version: 2.4.2
0.078 bzr arguments: [u'explorer']
0.094 looking for plugins in C:/Users/Skip/AppData/Roaming/bazaar/2.0/plugins
0.094 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
1.295 encoding stdout as osutils.get_user_encoding() 'cp1252'
6.225 Deprecated method called
Called from:
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\", line 165, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\", line 257, in _refresh_user_configuration
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\", line 264, in get_default_editor
6.256 loading explorer extensions for clothes ['Bazaar support', 'Register on Launchpad']
6.318 explorer extensions provided by the colo plugin in C:/Program Files (x86)/Bazaar/plugins/colo/explorer
7.254 failed to load system host keys: [Errno 2] No such file or directory: 'C:\\Users\\Skip/.ssh/known_hosts'
7.270 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\explorer\lib\", line 162, in run
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\", line 243, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\", line 1976, in do_welcome
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\", line 690, in changed_view
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\", line 1085, in _get_hosted_web_url
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\", line 44, in get_branch_url
  File "C:/Program Files (x86)/Bazaar/plugins\launchpad\", line 213, in _get_web_url
  File "C:/Program Files (x86)/Bazaar/plugins\launchpad\", line 200, in _possible_locations
  File "bzrlib\branch.pyo", line 207, in open_containing
  File "bzrlib\bzrdir.pyo", line 1302, in open_branch
  File "bzrlib\branch.pyo", line 2304, 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 63, in _send_request
  File "bzrlib\smart\protocol.pyo", line 1309, in call
  File "bzrlib\smart\protocol.pyo", line 1133, in _write_end
  File "bzrlib\smart\protocol.pyo", line 1099, in flush
  File "bzrlib\smart\medium.pyo", line 395, in accept_bytes
  File "bzrlib\smart\medium.pyo", line 977, in _accept_bytes
  File "bzrlib\smart\medium.pyo", line 793, in _accept_bytes
  File "bzrlib\smart\medium.pyo", line 817, in _ensure_connection
  File "bzrlib\transport\ssh.pyo", line 332, in connect_ssh
  File "bzrlib\transport\ssh.pyo", line 287, in _connect
  File "bzrlib\transport\ssh.pyo", line 257, in _raise_connection_error
SocketConnectionError: Unable to connect to SSH host; [Errno 11004] getaddrinfo failed

The host ( has gone away and been replaced with a new machine but I can't find any config file or anything where Bazaar would be picking up the old address.

I removed the existing id_rsa file hoping that would help, but it did not. I have uninstalled, reinstalled, and even upgraded Bazaar, that also had not helped.

Any idea how I could find where it might be referencing the old address?

Brian Cox

Question information

English Edit question
Bazaar Explorer Edit question
No assignee Edit question
Last query:
Last reply:
Martin Packman (gz) said : #1

This appears to be a bug in bzr explorer.

Can you try moving explorer/history.dat in your config dir to another name? Running `bzr version` on the command line will tell you where the config dir is.

Can you help with this problem?

Provide an answer of your own, or ask Brian Cox for more information if necessary.

To post a message you must log in.