Google-api-python-client Broken Because Of Oauth2?
I am trying to check if a certain dataset exists in bigquery using the Google Api Client in Python. It always worked untill the last update where I got this strange error I don't k
Solution 1:
It looks like the error is in the PyCrypto module, which appears to be used under the hood by Google's OAuth2 implementation. If your code is calling os.fork()
at some point, you may need to call Crypto.Random.atfork()
afterward in both the parent and child process in order to update the module's internal state.
See here for PyCrypto docs; search for "atfork" for more info: https://github.com/dlitz/pycrypto
This question and answer might also be relevant: PyCrypto : AssertionError("PID check failed. RNG must be re-initialized after fork(). Hint: Try Random.atfork()")
Post a Comment for "Google-api-python-client Broken Because Of Oauth2?"