Google cloud storage gcloud init cli命令:错误:gcloud崩溃(ValueError):查询包含空字符

Google cloud storage gcloud init cli命令:错误:gcloud崩溃(ValueError):查询包含空字符,google-cloud-storage,gcloud,gsutil,Google Cloud Storage,Gcloud,Gsutil,我正在尝试初始化项目的gcloud设置。但是当我运行gcloud init命令时,它给出了错误gcloud crash 它以前是工作的,但今天突然这个命令崩溃了。我尝试了“gcloud auth login”并粘贴了凭据,但仍然出现相同的错误 gcloud init Welcome! This command will take you through the configuration of gcloud. Settings from your current con

我正在尝试初始化项目的gcloud设置。但是当我运行gcloud init命令时,它给出了错误gcloud crash

它以前是工作的,但今天突然这个命令崩溃了。我尝试了“gcloud auth login”并粘贴了凭据,但仍然出现相同的错误

    gcloud init
    Welcome! This command will take you through the configuration of gcloud.

    Settings from your current configuration [default] are:
    core:
    disable_usage_reporting: 'False'

    Pick configuration to use:
    [1] Re-initialize this configuration [default] with new settings
    [2] Create a new configuration
    Please enter your numeric choice:  1

    Your current configuration has been set to: [default]

    You can skip diagnostics next time by using the following flag:
    gcloud init --skip-diagnostics

    Network diagnostic detects and fixes local network connection issues.
    Checking network connection...done.
    Reachability Check passed.
    Network diagnostic passed (1/1 checks passed).

    ERROR: gcloud crashed (ValueError): the query contains a null character

    If you would like to report this issue, please run the following command:
    gcloud feedback

    To check gcloud for common problems, please run the following command:
    gcloud info --run-diagnostics

The actual results should be like below: 
    gcloud init

    Welcome! This command will take you through the configuration of gcloud.

    Settings from your current configuration [default] are:
    core:
    account: prajakta@gmail.com
    disable_usage_reporting: 'False'
    project: default-1234

    Pick configuration to use:
    [1] Re-initialize this configuration [default] with new settings
    [2] Create a new configuration
    Please enter your numeric choice:  1

    Your current configuration has been set to: [default]

    You can skip diagnostics next time by using the following flag:
    gcloud init --skip-diagnostics

    Network diagnostic detects and fixes local network connection issues.
    Checking network connection...done.
    Reachability Check passed.
    Network diagnostic passed (1/1 checks passed).

   Choose the account you would like to use to perform operations for
   this configuration:
   [1] prajakta@gmail.com
   [2] Log in with a new account
   Please enter your numeric choice:  1

   Pick cloud project to use:
   [1] default-1234
   [2] abc-project
   [3] Create a new project
   Please enter numeric choice or text value (must exactly match list
   item):  1

   Your current project has been set to: [default-1234].

   Your Google Cloud SDK is configured and ready to use!

从您包含的输出来看,它似乎已成功完成:

Your Google Cloud SDK is configured and ready to use!
你能使用任何命令吗

gcloud config list
gcloud auth list
gcloud projects list
目前尚不清楚您使用的是哪种操作系统,但很可能是某个相关的软件被升级并导致了中断;和|或云SDK(aka
gcloud
)已在您的计算机上升级,并且已损坏

您最好联系Google云支持部门,或者如果您没有支持合同,请在Google issue tracker for gcloud上提交问题,网址为:


NB您的问题中包含了您的电子邮件地址和几个项目,您可能希望对它们进行修订,因为它们不是帮助回答问题所必需的。

您解决了这个问题吗?