push on bzr+http, pycurl fails with: necessary data rewind wasn't possible

Bug #207734 reported by B. A. on 2008-03-27
Affects Status Importance Assigned to Milestone

Bug Description

On Windows:

Z:\>bzr push --remember bzr+http://bogdano@blablabla/bzr/foo/bar

bzr: ERROR: pycurl.error: (65, "necessary data rewind wasn't possible\n")

Traceback (most recent call last):
 File "bzrlib\commands.pyc", line 834, in run_bzr_catch_errors
 File "bzrlib\commands.pyc", line 790, in run_bzr
 File "bzrlib\commands.pyc", line 492, in run_argv_aliases
 File "bzrlib\builtins.pyc", line 732, in run
 File "bzrlib\bzrdir.pyc", line 688, in open_from_transport
 File "bzrlib\transport\__init__.pyc", line 1664, in do_catching_redirections
 File "bzrlib\bzrdir.pyc", line 665, in find_format
 File "bzrlib\bzrdir.pyc", line 1422, in find_format
 File "bzrlib\bzrdir.pyc", line 2408, in probe_transport
 File "bzrlib\smart\protocol.pyc", line 589, in query_version
 File "bzrlib\smart\protocol.pyc", line 478, in call
 File "bzrlib\smart\medium.pyc", line 313, in finished_writing
 File "bzrlib\transport\http\__init__.pyc", line 533, in _finished_writing
 File "bzrlib\transport\http\__init__.pyc", line 517, in send_http_smart_reques
 File "bzrlib\transport\http\_pycurl.pyc", line 268, in _post
 File "bzrlib\transport\http\_pycurl.pyc", line 325, in _curl_perform
error: (65, "necessary data rewind wasn't possible\n")

bzr 1.3 on python 2.5.2.final.0 (win32)
arguments: ['bzr', 'push', '--remember', 'bzr+http://bogdano@blablabla/bzr/foo/bar']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
*** 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.

When I "disable" pycurl, it doesn't happen.

B. A. (debogdano) on 2008-03-27
description: updated
B. A. (debogdano) wrote :

I also had http_proxy set to "".

Andrew Bennetts (spiv) wrote :

Possibly a duplicate of bug 241698, which also involves a proxy?

B. A. (debogdano) wrote :

It seems so. And possibly http_proxy also began with "http://" as it was reported in the other ticket, I will check it as soon as I have access to the Windows environment.

Vincent Ladeuil (vila) on 2008-09-05
Changed in bzr:
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers