Crash with authenticated https checkout
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Vincent Ladeuil |
Bug Description
When checking out from an authenticated https repository, I get the following backtrace:
mathrick@
bzr: ERROR: exceptions.
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/
br_from = Branch.
File "/usr/lib/
control = bzrdir.
File "/usr/lib/
return BzrDir.
File "/usr/lib/
redirected)
File "/usr/lib/
return obj(*args, **kwargs)
File "/usr/lib/
return action(transport)
File "/usr/lib/
transport, _server_
File "/usr/lib/
return format.
File "/usr/lib/
format_string = transport.
File "/usr/lib/
code, response_file = self._get(relpath, None)
File "/usr/lib/
return self._get_
File "/usr/lib/
self.
File "/usr/lib/
e[0], _pycurl_
KeyError: 77
bzr 0.90.0 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'get', 'https:/
** please send this report to <email address hidden>
Changed in bzr: | |
importance: | Undecided → High |
status: | New → Confirmed |
Am Mittwoch, den 19.09.2007, 22:30 +0000 schrieb mathrick: hatsumi: /tmp$ bzr get https:/ /beta.aimido. de/svn/ src2/trunk KeyError: 77 python2. 5/site- packages/ bzrlib/ commands. py", line 817, in run_bzr_ catch_errors python2. 5/site- packages/ bzrlib/ commands. py", line 779, in run_bzr python2. 5/site- packages/ bzrlib/ commands. py", line 477, in run_argv_aliases **all_cmd_ args) python2. 5/site- packages/ bzrlib/ builtins. py", line 857, in run open(from_ location) python2. 5/site- packages/ bzrlib/ branch. py", line 131, in open BzrDir. open(base, _unsupported) python2. 5/site- packages/ bzrlib/ bzrdir. py", line 531, in open open_from_ transport( t, _unsupported= _unsupported) python2. 5/site- packages/ bzrlib/ bzrdir. py", line 568, in open_from_transport python2. 5/site- packages/ bzrlib/ lazy_import. py", line 116, in __call__ python2. 5/site- packages/ bzrlib/ transport/ __init_ _.py", line 1505, in do_catching_ redirections python2. 5/site- packages/ bzrlib/ bzrdir. py", line 545, in find_format formats= _server_ formats) python2. 5/site- packages/ bzrlib/ bzrdir. py", line 1249, in find_format probe_transport (transport) python2. 5/site- packages/ bzrlib/ bzrdir. py", line 1259, in probe_transport get(".bzr/ branch- format" ).read( ) python2. 5/site- packages/ bzrlib/ transport/ http/__ init__. py", line 177, in get python2. 5/site- packages/ bzrlib/ transport/ http/_pycurl. py", line 152, in _get full(relpath) python2. 5/site- packages/ bzrlib/ transport/ http/_pycurl. py", line 187, in _get_full perform( curl, header) python2. 5/site- packages/ bzrlib/ transport/ http/_pycurl. py", line 277, in _curl_perform errors. errorcode[ e[0]], e, url)
> Public bug reported:
>
> When checking out from an authenticated https repository, I get the
> following backtrace:
>
> mathrick@
> bzr: ERROR: exceptions.
>
> 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/
> br_from = Branch.
> File "/usr/lib/
> control = bzrdir.
> File "/usr/lib/
> return BzrDir.
> File "/usr/lib/
> redirected)
> File "/usr/lib/
> return obj(*args, **kwargs)
> File "/usr/lib/
> return action(transport)
> File "/usr/lib/
> transport, _server_
> File "/usr/lib/
> return format.
> File "/usr/lib/
> format_string = transport.
> File "/usr/lib/
> code, response_file = self._get(relpath, None)
> File "/usr/lib/
> return self._get_
> File "/usr/lib/
> self._curl_
> File "/usr/lib/
> e[0], _pycurl_
> KeyError: 77
You should be able to work around this by prefixing the URL with svn+,
e.g.:
svn+https:/ /beta.aimido. de/svn/ src2/trunk
Cheers,
Jelmer
-- samba.org/ ~jelmer/
Jelmer Vernooij <email address hidden> - http://
Jabber: <email address hidden>