-
Notifications
You must be signed in to change notification settings - Fork 272
file_cache is unavailable when using oauth2client >= 4.0.0 or google-auth #194
Comments
is there any update on this? |
@kuldeeprishi when does this error happen? could you give more context? |
I'm getting the same error. The former does not suffice imo. I don't wanna suppress warnings, I'd like them not to occur. For me this happens when I initialize the drive object multiple times (I have to do this, since the credential file gets deleted regularly on my hoster (Heroku)) and then try to list files on gdrive. CodeInitializing
ListFilesThis is where the error occurs, after having initialized the client 2 times in short succession.
Full error message
|
@Zukunftsmusik hmm 🤔 it looks like https://github.com/gsuitedevs/PyDrive/blob/master/pydrive/auth.py#L523 already sets |
That's odd. I'm running version 1.3.1 (updated 2016 according to PyPi) and the warning occurs. I'll try using |
Yep, that did it. |
@Zukunftsmusik you can alternatively use PyDrive2 that we maintain. It has a lot of updates and other fixes. |
The text was updated successfully, but these errors were encountered: