error pulling from svn repo - unable to handle http code 401
Gary Wilson Jr.
gary.wilson at gmail.com
Sat May 22 16:56:42 BST 2010
Recently upgraded my laptop to 10.04 and having issues with an
existing bzr branch from a svn repo from before the upgrade. Trying
to pull updates results in things hanging for a while, then finally
coming back with the following error:
$ bzr -Dtransport pull
Using saved parent location: https://server.com/repos/proj/trunk
bzr: ERROR: Invalid http response for
https://server.com/repos/proj/trunk/.bzr/branch-format: Unable to
handle http code 401: expected 200 or 404 for full response.
This works on my other machine that I updated to 10.04. Any ideas as
to what's going on here?
FYI, the bzr log looks like this:
Sat 2010-05-22 09:31:59 -0500
0.039 bazaar version: 2.1.1
0.039 bzr arguments: [u'-Dtransport', u'pull']
0.054 looking for plugins in /home/user/.bazaar/plugins
0.054 looking for plugins in /usr/lib/python2.6/dist-packages/bzrlib/plugins
0.165 encoding stdout as sys.stdout encoding 'UTF-8'
0.211 opening working tree '/home/user/bzr/proj/trunk'
0.244 bzr-svn: using Subversion 1.6.6 ()
222.329 Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line
853, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line
1055, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line
661, in run_argv_aliases
return self.run_direct(**all_cmd_args)
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line
665, in run_direct
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 122,
in run_simple
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/cleanup.py", line 156,
in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/bzrlib/builtins.py", line 993, in run
possible_transports=possible_transports)
File "/usr/lib/python2.6/dist-packages/bzrlib/branch.py", line 169, in open
possible_transports=possible_transports)
File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 843, in open
return BzrDir.open_from_transport(t, _unsupported=_unsupported)
File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 873,
in open_from_transport
redirected)
File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py",
line 1644, in do_catching_redirections
return action(transport)
File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 860,
in find_format
transport, _server_formats=_server_formats)
File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1820,
in find_format
return format.probe_transport(transport)
File "/usr/lib/python2.6/dist-packages/bzrlib/bzrdir.py", line 1830,
in probe_transport
format_string = transport.get_bytes(".bzr/branch-format")
File "/usr/lib/python2.6/dist-packages/bzrlib/transport/__init__.py",
line 609, in get_bytes
f = self.get(relpath)
File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/__init__.py",
line 126, in get
code, response_file = self._get(relpath, None)
File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_pycurl.py",
line 169, in _get
return self._get_full(relpath)
File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_pycurl.py",
line 213, in _get_full
curl, 'expected 200 or 404 for full response.')
File "/usr/lib/python2.6/dist-packages/bzrlib/transport/http/_pycurl.py",
line 307, in _raise_curl_http_error
url, 'Unable to handle http code %d%s' % (code,msg))
InvalidHttpResponse: Invalid http response for
https://server.com/repos/proj/trunk/.bzr/branch-format: Unable to
handle http code 401: expected 200 or 404 for full response.
222.329 Transferred: 3KiB (0.0K/s r:2K w:1K)
222.330 return code 3
Gary
More information about the bazaar
mailing list