@Jean-Baptiste: Can you try something for me please?
After you get the traceback from the sample code in comment #2, try it exactly the same way again. For me the second time works perfectly (no traceback). I wonder if something's getting cached but not accessed correctly the first time, whereas the second time you run it, the cached file exists and it succeeds.
I think the _ssl traceback is masking a an ENOENT IOError. See this Python issue for why I think that:
@Jean-Baptiste: Can you try something for me please?
After you get the traceback from the sample code in comment #2, try it exactly the same way again. For me the second time works perfectly (no traceback). I wonder if something's getting cached but not accessed correctly the first time, whereas the second time you run it, the cached file exists and it succeeds.
I think the _ssl traceback is masking a an ENOENT IOError. See this Python issue for why I think that:
http:// bugs.python. org/issue9706
and especially this comment:
http:// bugs.python. org/issue9706# msg115182
If that's correct, then the bug is probably in launchpadlib.