[Bug 365874] Re: curl error: necessary data rewind wasn't possible
Lluís Vilanova
xscript at gmx.net
Mon Feb 27 18:51:04 UTC 2012
I tried these two commands in the recent bazaar 2.5.0, resulting in the
attached failure log:
bzr co https://code.server/bzr/project
bzr co https://user@code.server/bzr/project
As others said, using "https+urllib" works around the problem, but it is
still a hassle to have it failing by default.
** Attachment added: "log"
https://bugs.launchpad.net/bzr/+bug/365874/+attachment/2788658/+files/log
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bzr in Ubuntu.
https://bugs.launchpad.net/bugs/365874
Title:
curl error: necessary data rewind wasn't possible
Status in Bazaar Version Control System:
Confirmed
Status in “bzr” package in Ubuntu:
Triaged
Bug description:
I've been using bzr 1.13 and bzr-svn 0.5.3 with Fedora 8 and pushing
and pulling to/from a SourceForge project svn repo. I recently
updated to Fedora 10, and I now receive this error on `bzr up`:
[t_mattjo at Phaethon fheroes2-trunk]$ bzr switch https://revvy@fheroes2.svn.sourceforge.net/svnroot/fheroes2/trunk/fheroes2
bzr: ERROR: pycurl.error: (65, "necessary data rewind wasn't possible")
Traceback (most recent call last):
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 716, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 911, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.5/site-packages/bzrlib/commands.py", line 547, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.5/site-packages/bzrlib/builtins.py", line 5170, in run
to_branch = Branch.open(to_location)
File "/usr/lib/python2.5/site-packages/bzrlib/branch.py", line 123, in open
possible_transports=possible_transports)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 799, in open
return BzrDir.open_from_transport(t, _unsupported=_unsupported)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 827, in open_from_transport
redirected)
File "/usr/lib/python2.5/site-packages/bzrlib/transport/__init__.py", line 1680, in do_catching_redirections
return action(transport)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 814, in find_format
transport, _server_formats=_server_formats)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 1667, in find_format
return format.probe_transport(transport)
File "/usr/lib/python2.5/site-packages/bzrlib/bzrdir.py", line 2779, in probe_transport
server_version = medium.protocol_version()
File "/usr/lib/python2.5/site-packages/bzrlib/smart/medium.py", line 611, in protocol_version
client_protocol.query_version()
File "/usr/lib/python2.5/site-packages/bzrlib/smart/protocol.py", line 777, in query_version
self.call('hello')
File "/usr/lib/python2.5/site-packages/bzrlib/smart/protocol.py", line 617, in call
self._request.finished_writing()
File "/usr/lib/python2.5/site-packages/bzrlib/smart/medium.py", line 436, in finished_writing
self._finished_writing()
File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/__init__.py", line 647, in _finished_writing
data = self._medium.send_http_smart_request(self._buffer)
File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/__init__.py", line 616, in send_http_smart_request
code, body_filelike = t._post(bytes)
File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_pycurl.py", line 268, in _post
self._curl_perform(curl, header, ['Expect: '])
File "/usr/lib/python2.5/site-packages/bzrlib/transport/http/_pycurl.py", line 356, in _curl_perform
curl.perform()
error: (65, "necessary data rewind wasn't possible")
bzr 1.13.1 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'switch', 'https://revvy@fheroes2.svn.sourceforge.net/svnroot/fheroes2/trunk/fheroes2']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
automv /home/t_mattjo/.bazaar/plugins/automv [unknown]
bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.13]
dns_cache /home/t_mattjo/.bazaar/plugins/dns_cache [unknown]
extmerge /home/t_mattjo/.bazaar/plugins/extmerge [unknown]
lastlog /home/t_mattjo/.bazaar/plugins/lastlog [unknown]
launchpad /usr/lib/python2.5/site-packages/bzrlib/plugins/launchpad [unknown]
lessdiff /home/t_mattjo/.bazaar/plugins/lessdiff [unknown]
lesslog /home/t_mattjo/.bazaar/plugins/lesslog [unknown]
netrc_credential_store /usr/lib/python2.5/site-packages/bzrlib/plugins/netrc_credential_store [unknown]
precommit_bugtraq /home/t_mattjo/.bazaar/plugins/precommit_bugtraq [unknown]
search /home/t_mattjo/.bazaar/plugins/search [1.7dev]
stats /home/t_mattjo/.bazaar/plugins/stats [unknown]
svn /home/t_mattjo/.bazaar/plugins/svn [0.5.3]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
I've tried using svn+https:// along with http://, but neither makes
any difference.
To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/365874/+subscriptions
More information about the foundations-bugs
mailing list