我們正在從谷歌的BigQuery以下錯誤而刀片:錯誤在授權過程
**號的OAuth2憑證發現,開始授權過程**
== Platform ==
CPython:2.7.5:Windows-2008ServerR2-6.1.7601-SP1
== bq version ==
v2.0.17
== Command line ==
['C:\\LogsReceiverService\\bq-script.py', 'load', '--nosync', '--credential_file=C:\\LogsReceiverService\\.bigquery.v2.token', '--source_format=NEWLINE_DELIMITED_JSON', '--project_id=playscape-proj', '--max_bad_records=99999', 'PROD_DATASET.CLIENT_LOGS_20160424', 'D:\\GameConsoleLogs\\Logs_BigQuery\\GameConsoleClientLog.log.1.gz']
== UTC timestamp ==
2016-04-24 13:32:53
== Error trace ==
File "build\bdist.win32\egg\bq.py", line 783, in RunSafely
return_value = self.RunWithArgs(*args, **kwds)
File "build\bdist.win32\egg\bq.py", line 999, in RunWithArgs
client = Client.Get()
File "build\bdist.win32\egg\bq.py", line 604, in Get
cls.client = Client.Create()
File "build\bdist.win32\egg\bq.py", line 584, in Create
credentials = _GetCredentialsFromFlags()
File "build\bdist.win32\egg\bq.py", line 390, in _GetCredentialsFromFlags
credentials = credentials_getter(storage)
File "build\bdist.win32\egg\bq.py", line 330, in _GetCredentialsFromOAuthFlow
credentials = oauth2client.tools.run(flow, storage)
File "build\bdist.win32\egg\oauth2client\util.py", line 132, in positional_wrapper
return wrapped(*args, **kwargs)
File "build\bdist.win32\egg\oauth2client\old_run.py", line 149, in run
code = raw_input('Enter verification code: ').strip()
========================================
該消息還包括一個鏈接令牌密鑰,但我們不確定我們應該如何處理它。
你能幫忙嗎?謝謝
當我運行'bq init --delete_credentials'時,我得到了這個錯誤信息'The'init'命令不再需要與Cloud SDK'。 –