error using branch behind proxy
Jeff Cunningham
jeffrey.k.cunningham at boeing.com
Sat Feb 24 00:05:54 GMT 2007
Hi;
I've just started using bazaar. 0.14 installed okay on a Gentoo system
- local installation in this case. I could create a repository, add
stuff, etc.
I then installed it on a Windows machine with your installer and
successfully created a local branch of the repo I just created.
But when I went to another account on the same Gentoo machine,
installed the same bzr source, and tried to grab the branch, it failed
with the following error message:
bzr: ERROR: exceptions.TypeError: iterable argument required
Traceback (most recent call last):
File "/home/jcunningham/lib/python/bzrlib/commands.py", line 650, in run_bzr_catch_errors
return run_bzr(argv)
File "/home/jcunningham/lib/python/bzrlib/commands.py", line 612, in run_bzr
ret = run(*run_argv)
File "/home/jcunningham/lib/python/bzrlib/commands.py", line 304, in run_argv_aliases
return self.run(**all_cmd_args)
File "/home/jcunningham/lib/python/bzrlib/builtins.py", line 712, in run
br_from = Branch.open(from_location)
File "/home/jcunningham/lib/python/bzrlib/branch.py", line 119, in open
control = bzrdir.BzrDir.open(base, _unsupported)
File "/home/jcunningham/lib/python/bzrlib/bzrdir.py", line 500, in open
return BzrDir.open_from_transport(t, _unsupported=_unsupported)
File "/home/jcunningham/lib/python/bzrlib/bzrdir.py", line 509, in open_from_transport
format = BzrDirFormat.find_format(transport)
File "/home/jcunningham/lib/python/bzrlib/bzrdir.py", line 1059, in find_format
return format.probe_transport(transport)
File "/home/jcunningham/lib/python/bzrlib/bzrdir.py", line 1069, in probe_transport
format_string = transport.get(".bzr/branch-format").read()
File "/home/jcunningham/lib/python/bzrlib/transport/http/__init__.py", line 226, in get
code, response_file = self._get(relpath, None)
File "/home/jcunningham/lib/python/bzrlib/transport/http/_urllib.py", line 130, in _get
response = self._perform(request)
File "/home/jcunningham/lib/python/bzrlib/transport/http/_urllib.py", line 102, in _perform
response = self._opener.open(request)
File "/usr/lib/python2.4/urllib2.py", line 356, in open
req = meth(req)
File "/home/jcunningham/lib/python/bzrlib/transport/http/_urllib2_wrappers.py", line 648, in <lambda>
lambda request: self.set_proxy(request, 'http'))
File "/home/jcunningham/lib/python/bzrlib/transport/http/_urllib2_wrappers.py", line 707, in set_proxy
if '@' in host:
TypeError: iterable argument required
bzr 0.14.0 on python 2.4.3.final.0 (linux2)
arguments: ['/home/jcunningham/bin/bzr', 'branch', 'http://medea.sea.boeing.com/~jcunningham/imagelib', 'imagelib']
** please send this report to bazaar at lists.ubuntu.com
It does works if I do it using sftp://... , but not via http. I'm
running apache to expose the repo, and that obviously works because
the Windows client worked.
I browsed through some of the list archives and spotted this one:
https://lists.ubuntu.com/archives/bazaar/2007q1/022220.html
I made that change but it didn't fix my problem.
I can't update my copy of bzr using bzr because of the catch-22.
Any advice? I am behind a firewall here. http_proxy is set correctly and works as it should for everything else. The last line in the error message makes it look like it has something to do with 'set_proxy'.
I don't know python, so I'm pretty useless at troubleshooting this beyond here.
--
Jeffrey Cunningham
Advanced ISR Systems
The Boeing Company
More information about the bazaar
mailing list