I cant see why either auth or timeouts would make any difference. I'm wondering if it is the actual cache file being deleted or the entire temp dir.
Maybe stick a deliberate exception in there. Something like (at line 103)
from calibre import walk
raise Exception(str(list(walk(rd.tdir)))
then if you happen to reproduce the error, it will at least tell us if it is a singe file going missing or the entire cache.
|