Comment 0 for bug 271573

Revision history for this message
David Cournapeau (david-ar) wrote : bzr cannot access launchpad branch behind https proxy

I tried the following:

bzr branch http://bazaar.launchpad.net/~david-ar/vbem/trunk

Which returns:

bzr: ERROR: Not a branch: "https://code.launchpad.net/".

The error does seem bogus. The full log:

0.062 encoding stdout as sys.stdout encoding 'UTF-8'
0.063 bzr arguments: [u'branch', u'http://bazaar.launchpad.net/~david-ar/vbem/trunk']
0.063 looking for plugins in /home/cournapeau/.bazaar/plugins
0.066 looking for plugins in /export/bbc8/local/lib/python2.4/site-packages/bzrlib/plugins
0.067 Plugin name __init__ already loaded
0.067 Plugin name __init__ already loaded
0.141 looking for plugins in /usr/lib/python2.4/site-packages/bzrlib/plugins
0.152 encoding stdout as sys.stdout encoding 'UTF-8'
0.182 failed to import pycurl: No module named pycurl
0.182 failed to instantiate transport <bzrlib.registry._LazyObjectGetter object at -48519fd4, module='bzrlib.transport.http._pycurl' attribute='PyCurlTransport'> for 'http://bazaar.launchpad.net/~david-ar/vbem/trunk': <bzrlib.errors.DependencyNotPresent instance at 0xb7909bec>
0.763 Traceback (most recent call last):
  File "/home/cournapeau/local/stow/bzr-1.6.1/lib/python2.4/site-packages/bzrlib/commands.py", line 857, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/home/cournapeau/local/stow/bzr-1.6.1/lib/python2.4/site-packages/bzrlib/commands.py", line 797, in run_bzr
    ret = run(*run_argv)
  File "/home/cournapeau/local/stow/bzr-1.6.1/lib/python2.4/site-packages/bzrlib/commands.py", line 499, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/home/cournapeau/local/stow/bzr-1.6.1/lib/python2.4/site-packages/bzrlib/builtins.py", line 839, in run
    accelerator_tree, br_from = bzrdir.BzrDir.open_tree_or_branch(
  File "/home/cournapeau/local/stow/bzr-1.6.1/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 878, in open_tree_or_branch
    bzrdir = klass.open(location)
  File "/home/cournapeau/local/stow/bzr-1.6.1/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 756, in open
    return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  File "/home/cournapeau/local/stow/bzr-1.6.1/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 793, in open_from_transport
    redirected)
  File "/home/cournapeau/local/stow/bzr-1.6.1/lib/python2.4/site-packages/bzrlib/lazy_import.py", line 125, in __call__
    return obj(*args, **kwargs)
  File "/home/cournapeau/local/stow/bzr-1.6.1/lib/python2.4/site-packages/bzrlib/transport/__init__.py", line 1620, in do_catching_redirections
    transport = redirected(transport, e, redirection_notice)
  File "/home/cournapeau/local/stow/bzr-1.6.1/lib/python2.4/site-packages/bzrlib/bzrdir.py", line 777, in redirected
    raise errors.NotBranchError(path=e.target)
NotBranchError: Not a branch: "https://code.launchpad.net/".

0.763 return code 3