Windows 7x64 专业版
gsutil 错误:
C:\Users\Chris>gsutil.py ls
Failure: invalid literal for int() with base 10: ''.
我已经根据安装 gsutil 文档验证了所有设置。
我做错了什么,或者安装文档有什么问题需要更正以使其正常工作?
Python版本:2.7.4
编辑:
这是 gsutil 调试开关的输出:
C:\>python C:\gsutil\gsutil -D ls
***************************** WARNING *****************************
*** You are running gsutil with debug output enabled.
*** Be aware that debug output includes authentication credentials.
*** Do not share (e.g., post to support forums) debug output
*** unless you have sanitized authentication tokens in the
*** output, or have revoked your credentials.
***************************** WARNING *****************************
Traceback (most recent call last):
File "C:\gsutil\gsutil", line 72, in <module>
gslib.__main__.main()
File "C:\gsutil\gslib\__main__.py", line 151, in main
command_runner.RunNamedCommand('ver')
File "C:\gsutil\gslib\command_runner.py", line 92, in RunNamedCommand
if self._MaybeCheckForAndOfferSoftwareUpdate(command_name, debug):
File "C:\gsutil\gslib\command_runner.py", line 160,
in_MaybeCheckForAndOfferSoftwareUpdate
last_checked_ts = int(f.readline())
ValueError: invalid literal for int() with base 10: ''