Project

General

Profile

Bug #11226

Updated by Peter Amstutz about 7 years ago

We used to cache the discovery document in ~/.cache/arvados/discovery.    However, currently the discovery document actually lives in /tmp/google-api-python-client-discovery-doc.cache where it is manager by the Google API client discovery cache. 

 
   I don't think we intended for this behavior to change. 

 This is a problem particularly on a multi-user system such as a shell node. The file gets created in a global location like /tmp, then only the original user can update the file. 

 From looking at the code, the destination is chosen as @os.path.join(tempfile.gettempdir(), FILENAME)@ where @FILENAME = 'google-api-python-client-discovery-doc.cache'@ 

Back