URLError handling with pycurl can fail
Robert Collins
robertc at robertcollins.net
Sun Sep 10 22:28:05 BST 2006
On Thu, 2006-08-31 at 18:49 +0200, Christian Bjälevik wrote:
> Format <RepositoryFormat6> for
> http://people.ubuntu.com/~mvo/bzr/update-manager/update-manager--dapper/.bzr/ is deprecated - please use 'bzr upgrade' to get better performance
> bzr: ERROR: exceptions.AttributeError: URLError instance has no
> attribute 'code'
> ...
> File
> "/usr/lib/python2.4/site-packages/bzrlib/transport/http/_urllib.py",
> line 117, in has
> mutter('url error code: %s for has url: %r', e.code, abspath)
> AttributeError: URLError instance has no attribute 'code'
> bzr 0.9.0 on python 2.4.3.final.0 (linux2)
> arguments: ['/usr/bin/bzr', 'branch',
> 'http://people.ubuntu.com/~mvo/bzr/update-manager/update-manager--dapper/', 'dapper']
Looks like a HTTP error of some sort happened during access to the
branch, and it did not have a .code attribute so rather than being
handled it threw all the way up.
mvo should do 'bzr upgrade' to that branch as a separate issue.
affects /products/bzr
--
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060911/e0cbde87/attachment.pgp
More information about the bazaar
mailing list