bzr crashed branching inx from LP

Bug #247270 reported by KarlGoetz
2
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

I suspect this bug is relatd to #198519 ( 'Connection timed out' on lp branch attempt shouldn't result in a crash ), but i'll file it incase:

When attempting to branch a project hosted by LP i recieved the following error:

 bzr branch lp:inx
bzr: ERROR: socket.gaierror: (-2, 'Name or service not known')

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 846, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.4/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.4/site-packages/bzrlib/builtins.py", line 915, in run
    accelerator_tree, br_from = bzrdir.BzrDir.open_tree_or_branch(
  File "/usr/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 789, in open_tree_or_branch
    bzrdir = klass.open(location)
  File "/usr/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 666, in open
    t = get_transport(base, possible_transports=possible_transports)
  File "/usr/lib/python2.4/site-packages/bzrlib/lazy_import.py", line 125, in __call__
    return obj(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/bzrlib/transport/__init__.py", line 1527, in get_transport
    base = directories.dereference(base)
  File "/usr/lib/python2.4/site-packages/bzrlib/directory_service.py", line 52, in dereference
    return service().look_up(name, url)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/launchpad/lp_directory.py", line 60, in look_up
    return self._resolve(url)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/launchpad/lp_directory.py", line 76, in _resolve
    result = resolve.submit(service)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/launchpad/lp_registration.py", line 182, in submit
    self._authenticated)
  File "/usr/lib/python2.4/site-packages/bzrlib/plugins/launchpad/lp_registration.py", line 147, in send_request
    result = method(*method_params)
  File "xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
  File "xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
  File "xmlrpclib.py", line 1129, in request
    self.send_content(h, request_body)
  File "xmlrpclib.py", line 1243, in send_content
    connection.endheaders()
  File "httplib.py", line 798, in endheaders
    self._send_output()
  File "httplib.py", line 679, in _send_output
    self.send(msg)
  File "httplib.py", line 646, in send
    self.connect()
  File "httplib.py", line 1072, in connect
    sock.connect((self.host, self.port))
  File "<string>", line 1, in connect
gaierror: (-2, 'Name or service not known')

bzr 1.5 on python 2.4.4 (linux2)
arguments: ['/usr/bin/bzr', 'branch', 'lp:inx']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_AU.UTF-8'
plugins:
  launchpad /usr/lib/python2.4/site-packages/bzrlib/plugins/launchpad [unknown]
*** Bazaar has encountered an internal error.
    Please report a bug at https://bugs.launchpad.net/bzr/+filebug
    including this traceback, and a description of what you
    were doing when the error occurred.

Revision history for this message
James Westby (james-w) wrote :

Hi,

Thanks for taking the time to report this bug.

I have marked it as a duplicate of bug 198519, as while they
are not identical the while fixing one it will be easy to fix the other.

Thanks,

James

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.