KeyError: 77 in pycurl_errors.errorcode

Bug #155632 reported by Martin Pool
4
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

dulix@edulix-laptop:~/descargas$ bzr branch https://launchpad.net/dark-extermination
bzr: ERROR: exceptions.KeyError: 77

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 800, in run_bzr_catch_errors
    return run_bzr(argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 758, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 492, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 866, in run
    br_from = Branch.open(from_location)
  File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 127, in open
    possible_transports=possible_transports)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 542, in open
    return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 579, in open_from_transport
    redirected)
  File "/usr/lib/python2.5/site-packages/bzrlib/lazy_import.py", line 116, in __call__
    return obj(*args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/__init__.py", line 1552, in do_catching_redirections
    return action(transport)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 556, in find_format
    transport, _server_formats=_server_formats)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1260, in find_format
    return format.probe_transport(transport)
  File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1270, in probe_transport
    format_string = transport.get(".bzr/branch-format").read()
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/__init__.py", line 177, in get
    code, response_file = self._get(relpath, None)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_pycurl.py", line 147, in _get
    return self._get_full(relpath)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_pycurl.py", line 182, in _get_full
    self._curl_perform(curl, header)
  File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_pycurl.py", line 272, in _curl_perform
    e[0], _pycurl_errors.errorcode[e[0]], e, url)
KeyError: 77

bzr 0.91.0 on python 2.5.1.final.0 (linux2)
arguments: ['/usr/bin/bzr', 'branch', 'https://launchpad.net/dark-extermination']

** please send this report to <email address hidden>

----

I get a strange [1] error when I try to branch the project I created in
Launchpad.

I have Ubuntu Gutsy with the apt http://bazaar-vcs.org repository. I have
bzr-0.91-2 package installed from that repository. Note that this is my first
experiencie with bazaar so I'm a newbie =).

Can someone please tell how to fix this problem in a general way? MAybe
downgrading bazaar or something? I want to use bazaar for my project but I
also need to explain howto use it to some people in the project. That's
difficult if it doesn't even work to me hehe

I've found some related bugs that you might look into. I'mnot a bazaar
developer so I can't give a good opinion about this... See [2], [3] and [4]

Thanks in advance,
             Eduardo Robles Elvira (aka Edulix)

Revision history for this message
Martin Pool (mbp) wrote :

This might be a duplicate of bug 82086, related to problems with a bad server certificate.

It looks like this is actually a bug in pycurl though.

Maybe using urllib is the best workaround for now?

Revision history for this message
Martin Pool (mbp) wrote :

Aside from a likely pycurl bug that's giving the internal error, there is not actually a branch at that address, or indeed any branches for that project:

https://code.edge.launchpad.net/dark-extermination/

Revision history for this message
Vincent Ladeuil (vila) wrote :

 CURLE_SSL_CACERT_BADFILE, /* 77 - could not load CACERT file, missing
                                    or wrong format */

Will be reported in the clear with a recent bzr.dev since bug #147530 have been merged.

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.