Comment 11 for bug 365874

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 365874] Re: curl error: necessary data rewind wasn't possible

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

unchiujar wrote:
> An alternative method of hacking around this problem is to install
> virtualenv http://pypi.python.org/pypi/virtualenv
>
> Create virtual environment:
> virtualenv -p python2.4 /usr/share/virtual_python2.4
>
> Edit the bazaar executable:
>
> nano -w $(which bzr)
>
> and replace #!/usr/bin/python with
> #!/usr/share/virtual_python2.4/bin/python
>
> Also run export PYTHONPATH=/usr/share/pyshared to give the path to
> bzrlib
>
> This keeps the current version of python while running bzr with python
> 2.4
>

My guess is that it isn't python2.5 or 2.6 but that you don't have
pycurl installed in python2.4.

You can directly work around it with "http+urllib://" style urls, or
disable/uninstall pycurl.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAksBhG0ACgkQJdeBCYSNAAPWEgCePR17WjQNmS1CEgrYwQh9ztsy
OQAAoJoccsa1YSOHP4WpvDAeAzqUDlS2
=Rsnp
-----END PGP SIGNATURE-----