[0.14] bzrlib.errors.TransportError: Transport error: (patch confirmed)
Jari Aalto
jari.aalto at cante.net
Sun Feb 11 15:20:20 GMT 2007
John Arbash Meinel <john at arbash-meinel.com> writes:
> I agree it should describe what is going on. You are getting a 403 error.
>
> Try the attached patch. I think I also found a bug in the 404 handler
> (it was directly using HTTPError, but I couldn't find that imported
> anywhere. Which surprises me a lot, because we do quite a few NoSuchFile
> tests.)
>
> John
> =:->
>
> === modified file 'bzrlib/transport/http/_urllib2_wrappers.py'
> --- bzrlib/transport/http/_urllib2_wrappers.py 2006-12-13 15:08:39 +0000
> +++ bzrlib/transport/http/_urllib2_wrappers.py 2007-02-11 13:43:48 +0000
Applied and now the error message is crystal clear.
bzr: ERROR: Transport error: Server refuses to fullfil the request for url http://cante.net/~jaalto/tmp/debian/lintian/bzr/.bzr/repository/knits/73/deppages.pl.svnbase-20070127160513-y42un55ne62evt10-509.kndx (code: 403, msg: Forbidden, headers: Date: Sun, 11 Feb 2007 15:18:26 GMT
Server: Apache
Content-Length: 318
Keep-Alive: timeout=15, max=14
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1)
Thanks,
Jari
More information about the bazaar
mailing list