socket.gaierror: (-5, 'No address associated with hostname')
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
I have set http_proxy in .bashrc. And I can use w3m access the web in console.
bzr branch lp:mysql-server/5.1 mysql-5.1
get:
bzr: ERROR: socket.gaierror: (-5, 'No address associated with hostname')
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
from_location)
File "/usr/lib/
bzrdir = klass.open(
File "/usr/lib/
t = get_transport(base, possible_
File "/usr/lib/
return obj(*args, **kwargs)
File "/usr/lib/
base = directories.
File "/usr/lib/
return service(
File "/usr/lib/
return self._resolve(url)
File "/usr/lib/
result = resolve.
File "/usr/lib/
self.
File "/usr/lib/
result = method(
File "/usr/lib/
return self.__
File "/usr/lib/
verbose=
File "/usr/lib/
self.
File "/usr/lib/
connection.
File "/usr/lib/
self.
File "/usr/lib/
self.send(msg)
File "/usr/lib/
self.connect()
File "/usr/lib/
sock.
File "<string>", line 1, in connect
gaierror: (-5, 'No address associated with hostname')
bzr 1.3.1 on python 2.5.2.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'branch', 'lp:mysql-server/5.1', 'mysql-5.1']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
launchpad /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
This is a duplicate of bug #271573
See https:/ /bugs.edge. launchpad. net/python/ +bug/186920/ comments/ 31 for a possible way to address the problem, but noone has written the relevant fix so far.