Unable to run gcloud on Windows

237 views
Skip to first unread message

Junxian Zhu

unread,
Aug 9, 2014, 10:14:08 PM8/9/14
to google-c...@googlegroups.com
Hi,

I downloaded and installed Google Cloud SDK on Windows 8.1 but whenever I run gcloud auth login, I receive following error:



C:\Program Files\Google\Cloud SDK>gcloud auth login
Traceback (most recent call last):
  File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin\..\./lib\googlecloudsdk\gcloud\gcloud.py", line 64, in <m
odule>
    resource_registration.RegisterReleasedAPIs()
  File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin\..\./lib\googlecloudsdk\core\util\resource_registration.p
y", line 23, in RegisterReleasedAPIs
    resources.RegisterAPI(dns_v1beta1.DnsV1beta1(get_credentials=False))
  File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin\..\./lib\googlecloudapis\dns\v1beta1\dns_v1beta1_client.p
y", line 34, in __init__
    additional_http_headers=additional_http_headers)
TypeError: __init__() got an unexpected keyword argument 'additional_http_headers'

Junxian Zhu

unread,
Aug 9, 2014, 10:14:43 PM8/9/14
to google-c...@googlegroups.com
I googled below error but can't find much useful information, any help is appreciated. 

Rajeev Dayal

unread,
Aug 11, 2014, 10:06:20 AM8/11/14
to Junxian Zhu, google-c...@googlegroups.com
Hi Junxian,

We'll look into this. Do you mind filing a bug in the issue tracker for this?


Thanks,
Rajeev


--
You received this message because you are subscribed to the Google Groups "google-cloud-sdk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-s...@googlegroups.com.
To post to this group, send email to google-c...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-cloud-sdk.

Glenn Fowler

unread,
Aug 11, 2014, 3:08:09 PM8/11/14
to google-c...@googlegroups.com, thorv...@gmail.com
hi Junxian,

can you attach this file in a response
C:\Program Files\Google\Cloud SDK\google-cloud-sdk\lib\googlecloudapis\apitools\base\py\base_api.py
thanks
-glenn
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sdk+unsubscribe@googlegroups.com.
To post to this group, send email to google-cloud-sdk@googlegroups.com.

Junxian Zhu

unread,
Aug 12, 2014, 10:00:58 AM8/12/14
to Glenn Fowler, google-c...@googlegroups.com
Thanks all, now I am receiving a different error message and I logged an issue: https://code.google.com/p/google-cloud-sdk/issues/detail?id=62&thanks=62&ts=1407851956

Petri Panula

unread,
Aug 27, 2014, 5:15:51 AM8/27/14
to google-c...@googlegroups.com
Hi, 

I have the same problem with Windows 7.. How you guys solved this?? Thanks...

Traceback (most recent call last):
  File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin\..\./lib\googlecloudsdk\gcloud\gcloud.py", line 78, in <m
odule>
    resource_registration.RegisterReleasedAPIs()
  File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin\..\./lib\googlecloudsdk\core\util\resource_registration.p
y", line 24, in RegisterReleasedAPIs
    resources.RegisterAPI(projects_v1.DeveloperprojectsV1(get_credentials=False))
  File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin\..\./lib\googlecloudapis\developerprojects\v1\developerpr
ojects_v1_client.py", line 34, in __init__
    additional_http_headers=additional_http_headers)
TypeError: __init__() got an unexpected keyword argument 'additional_http_headers'


Petri Panula

unread,
Aug 27, 2014, 6:58:23 AM8/27/14
to google-c...@googlegroups.com
And I was able to solve this:

Manually removed directory: C:\Program Files\Google\Cloud SDK

Then rerun: GoogleCloudSDKInstaller.exe

And make sure that you have connection to needed DL servers (I was first behind company firewall and installer didn't download all files - and no complains either by installer...)

Then I was OK again...

-Pete

Rajeev Dayal

unread,
Aug 27, 2014, 9:41:55 AM8/27/14
to Petri Panula, google-c...@googlegroups.com
Glad it's now working. If you run into this problem again, do let us know.


--
You received this message because you are subscribed to the Google Groups "google-cloud-sdk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-s...@googlegroups.com.
To post to this group, send email to google-c...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages