bzr error detail

Vincent Ladeuil v.ladeuil+lp at free.fr
Thu Feb 7 07:21:59 GMT 2008


>>>>> "Duane" == Duane Edmonds <duane.edmonds at gmail.com> writes:

    Duane> dedmonds at coffee:~/code$ bzr branch lp:gc gnome-do
    Duane> http://code.launchpad.net/gc/ is redirected to
    Duane> https://code.launchpad.net/gc/
    Duane> bzr: ERROR: exceptions.KeyError: 77

<snip/>

    Duane> bzr 0.90.0 on python 2.5.1.final.0 (linux2)
    Duane> arguments: ['/usr/bin/bzr', 'branch', 'lp:gc', 'gnome-do']

Using a more recent version of bzr would have shown you
CURLE_SSL_CACERT_BADFILE instead of this ugly 77.

That means pycurl can't find the ssl certificates or that they
are corrupted (unlikely).

Presumably you don't have the ssl-certs package installed if
you're running a Debian derivative (including Ubuntu).

So I would recommend:

- installing a more recent version of bzr,
- installing the missing ssl-certs package (or equivalent
  depending on your distribution).

Alternatively you can force the use of the urllib http
implementation which doesn't verify the ssl certificate validity
by doing:

  bzr branch https+urllib://code.launchpad.net/~do-core/gc/trunk gnome-do

or avoid https :) :

 bzr branch http://bazaar.launchpad.net/~do-core/gc/trunk gnome-do

Hth,

   Vincent



More information about the bazaar mailing list