Using bzr with pycurl on Windows
John Arbash Meinel
john at arbash-meinel.com
Wed May 25 17:07:00 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 5/25/2011 7:02 PM, Eli Zaretskii wrote:
> I tried to use bzr-git to clone this package:
>
> https://github.com/dlitz/pycrypto.git
>
> It got stuck after saying this (in .bzr.log only):
>
> 0.672 failed to import pycurl: No module named pycurl
> 0.672 failed to instantiate transport <bzrlib.registry._LazyObjectGetter object at 1085ad0, module='bzrlib.transport.http._pycurl' attribute='PyCurlTransport' imported=False> for 'https://github.com/dlitz/pycrypto.git': DependencyNotPresent(Unable to import library "pycurl": No module named pycurl)
>
> (Should it hang like that, btw?)
>
> I found this page:
>
> http://wiki.bazaar.canonical.com/PyCurl
>
It shouldn't hang, but it isn't because of pycurl. This is just a note
saying you don't have pycurl so we fall back to using urllib. We don't
need pycurl, we just try it first.
> which seems to give hope that PyCurl is workable on Windows. I
> installed libcurl from the first of the two links on that page, but
> bumped into a problem with the second link, viz.:
>
> http://pycurl.sourceforge.net/download/
>
> The standalone Windows installers there refuse to work, saying that
> they don't find Python on my machine (which is true). And if I
> install pycurl-7.19.0.tar.gz (just the Python part of it) into
> site-packages directory, I get gobs of exceptions (I can show the
> details if someone is willing to see).
>
> Did someone succeed in installing PyCurl on Windows and using bzr-git
> in conjunction with https protocol?
>
> TIA
>
I don't know what is up with bzr-git, but it has nothing to do with
pycurl. If you are hung w/ bzr-git, you might try Ctrl+Pause/Break,
which should drop you into a debugger, and you can do stuff like "bt" to
get the backtrace to see what is going on.
However, bzr-git could be hung in git code, or somewhere in C land. So
that isn't guaranteed to work.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk3dNzQACgkQJdeBCYSNAAO/DgCcD3fVCg00/VTi2kWzluPgAPJm
f6EAnAghuCGoDwWoEHmi7XADsjnR78R+
=01fx
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list