"necessary data rewind wasn't possible" using pycurl against https
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
I ran the command:
bzr co https://....
and this is what was spit out
bzr: failed to report crash using apport:
OSError(13, 'Permission denied')
bzr: ERROR: pycurl.error: (65, "necessary data rewind wasn't possible")
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
branch_
File "/usr/lib/
bzrdir = klass.open(
File "/usr/lib/
return BzrDir.
File "/usr/lib/
redirected)
File "/usr/lib/
return obj(*args, **kwargs)
File "/usr/lib/
return action(transport)
File "/usr/lib/
transport, _server_
File "/usr/lib/
return format.
File "/usr/lib/
server_version = medium.
File "/usr/lib/
client_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
data = self._medium.
File "/usr/lib/
code, body_filelike = t._post(bytes)
File "/usr/lib/
self.
File "/usr/lib/
curl.perform()
error: (65, "necessary data rewind wasn't possible")
bzr 2.2.1 on python 2.6.6 (Linux-
arguments: ['/usr/bin/bzr', 'co', 'https://<email address hidden>
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.utf8'
plugins:
bash_completion /usr/lib/
bzrtools /usr/lib/
launchpad /usr/lib/
netrc_
news_merge /usr/lib/
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
Two workarounds you can try:
* change the URL to nosmart+https://...
* change the URL to https+urllib://...
(rather than https://...)
I wonder why trying a POST over HTTPS is causing that error... if you can, try installing bzr 2.3 (there's a PPA with debs for maverick) and see if it helps, I think there's been some small changes to the pycurl support in 2.3 that might help.