[Yum-devel] [urlgrabber] keepalive broken
Michael Stenner
mstenner at linux.duke.edu
Thu Dec 7 23:49:44 UTC 2006
James,
I've done a lot of hacking on this today and found several problems.
Basically, I didn't realize that the newest stable release of m2crypto
isn't new enough to provide the feature you include. Since it
silently falls back to regular stuff if it doesn't find the required
m2crypto modules, it was never actually using m2crypto for me and I
didn't notice it. Oops.
In all the poking around today and think I got a handle on everything
inside urlgrabber. Shame on me for not looking closely enough at your
previous patch.
I fixed the caching problem with some fairly large changes (all
internal) and I've reinstalled the newest m2crypto. Thing is... I
can't get anything to work with it. I keep getting an error here:
File "/home/mstenner/dvl/urlgrabber/M2Crypto/SSL/Context.py", line
43, in __init__
map()[long(self.ctx)] = self
ValueError: invalid literal for long(): _80d4130a_p_SSL_CTX
If you're not seeing this, then I'd appreciate your help figuring out
what the hell is going on with m2crypto.
All of this is eroding my confidence in m2crytpo. I like having the
option there, but I may want to find a clean way for us to
disable/enable this feature (and I'm not sure what the default should
be) rather than simply relying on m2crypto's presence or absence.
If it would help, I can get you snapshot of what I've got right now.
Any thoughts?
-Michael
--
Michael D. Stenner mstenner at ece.arizona.edu
ECE Department and Optical Sciences Center 520-626-1619
University of Arizona ECE 524G
More information about the Yum-devel
mailing list