Python 3 fails with UnicodeDecodeError like
Could not load cache: UnicodeDecodeError('ascii', b'\x07\xe0\x05\x02\r\t6\n\x92\xfd', 1, 2, 'ordinal not in range(128)')Some unitttest fails for that reason, see https://integration.wikimedia.org/ci/job/tox-jessie/7513/console, also getversion_svn_setuptools call is broken (see T132292)
The problem in inside api.py code: CachedRequest.__load_cache() when printing the Exception message:
except Exception as e:
pywikibot.output("Could not load cache: %r" % e)
return FalseThe problem might be that the exception is catched anywhere in upper level.