opening a source directory from openbravo

Bug #758063 reported by Guy Payeur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
New
Undecided
Unassigned

Bug Description

bzr: ERROR: exceptions.KeyError: 'port'

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer/lib/explorer.py", line 1450, in callable_with_cleanup
    task_callable()
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer/lib/explorer.py", line 1611, in _open_location_task
    self._do_view_action, self.dry_run)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer/lib/location.py", line 160, in __init__
    self.reopen_location()
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer/lib/location.py", line 222, in reopen_location
    self.location)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1063, in open_containing_tree_branch_or_repository
    bzrdir, relpath = klass.open_containing(location)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 967, in open_containing
    return BzrDir.open_containing_from_transport(transport)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 988, in open_containing_from_transport
    result = BzrDir.open_from_transport(a_transport)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 941, in open_from_transport
    redirected)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py", line 1657, in do_catching_redirections
    return action(transport)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 928, in find_format
    transport, _server_formats=_server_formats)
  File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1949, in find_format
    return format.probe_transport(transport)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/format.py", line 92, in probe_transport
    transport = get_svn_ra_transport(transport)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/transport.py", line 154, in get_svn_ra_transport
    dav_entries = dav_options(bzr_transport, url)
  File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/svn/transport.py", line 92, in dav_options
    resp = transport._perform(req)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_urllib.py", line 79, in _perform
    response = self._opener.open(request)
  File "/usr/lib/python2.6/urllib2.py", line 397, in open
    response = meth(req, response)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 1564, in http_response
    code, msg, hdrs)
  File "/usr/lib/python2.6/urllib2.py", line 429, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 842, in http_error_302
    return self.parent.open(redirected_req)
  File "/usr/lib/python2.6/urllib2.py", line 397, in open
    response = meth(req, response)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 1564, in http_response
    code, msg, hdrs)
  File "/usr/lib/python2.6/urllib2.py", line 429, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.6/urllib2.py", line 369, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 1475, in http_error_401
    return self.auth_required(req, headers)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 1087, in auth_required
    matching_handler = self.auth_match(server_header, auth)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 1325, in auth_match
    user, password = self.get_user_password(auth)
  File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 1188, in get_user_password
    port=auth['port'], path=auth['path'],
KeyError: 'port'

bzr 2.2.1 on python 2.6.6 (linux2)
arguments: ['/usr/bin/bzr', 'explorer']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_CA.utf8'
plugins:
  bash_completion /usr/lib/python2.6/dist-packages/bzrlib/plugins/bash_completion [2.2.1]
  bzrtools /usr/lib/python2.6/dist-packages/bzrlib/plugins/bzrtools [2.2.0]
  dbus /usr/lib/python2.6/dist-packages/bzrlib/plugins/dbus [0.1.0dev]
  explorer /usr/lib/python2.6/dist-packages/bzrlib/plugins/explorer [1.1.0]
  fastimport /usr/lib/python2.6/dist-packages/bzrlib/plugins/fastimport [0.9.0dev]
  gtk /usr/lib/python2.6/dist-packages/bzrlib/plugins/gtk [0.99.0]
  hg /usr/lib/python2.6/dist-packages/bzrlib/plugins/hg [0.2.0dev]
  launchpad /usr/lib/python2.6/dist-packages/bzrlib/plugins/launchpad [2.2.1]
  netrc_credential_store /usr/lib/python2.6/dist-packages/bzrlib/plugins/netrc_credential_store [2.2.1]
  news_merge /usr/lib/python2.6/dist-packages/bzrlib/plugins/news_merge [2.2.1]
  qbzr /usr/lib/python2.6/dist-packages/bzrlib/plugins/qbzr [0.19.1]
  rewrite /usr/lib/python2.6/dist-packages/bzrlib/plugins/rewrite [0.6.1]
  search /usr/lib/python2.6/dist-packages/bzrlib/plugins/search [1.7.0dev]
  svn /usr/lib/python2.6/dist-packages/bzrlib/plugins/svn [1.0.3]
  upload /usr/lib/python2.6/dist-packages/bzrlib/plugins/upload [1.0.0dev]
  xmloutput /usr/lib/python2.6/dist-packages/bzrlib/plugins/xmloutput [0.8.6]

Revision history for this message
Martin Pool (mbp) wrote :

This has been fixed in bzr 2.3.

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.