bumplzz69 / google-cloud-sdk

Automatically exported from code.google.com/p/google-cloud-sdk
0 stars 0 forks source link

gcloud command not working on windows 7 #126

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
Double click on Google Cloud SDK shell
at propt, type gcloud -h

What is the expected output? What do you see instead?
I expect to see the help menu
instead I see errors.

What is the output of 'gcloud info'?
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Greg>gcloud info
Traceback (most recent call last):
  File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin\..\./lib\googlecl
oudsdk\gcloud\gcloud.py", line 196, in <module>
    _cli = CreateCLI()
  File "C:\Program Files\Google\Cloud SDK\google-cloud-sdk\bin\..\./lib\googlecl
oudsdk\gcloud\gcloud.py", line 140, in CreateCLI
    component='alpha')
TypeError: AddReleaseTrack() got an unexpected keyword argument 'component'

C:\Users\Greg>

Please provide any additional information below.
I just installed the SDK.

Original issue reported on code.google.com by kee...@gmail.com on 5 Apr 2015 at 7:45

GoogleCodeExporter commented 9 years ago
Thanks for the report.  I'd like to try to reproduce this for troubleshooting.  
Can you please respond and explain how you installed the cloud sdk (there are a 
few different ways to do it)?  Thanks!

Original comment by jeffvaug...@google.com on 6 Apr 2015 at 6:23

GoogleCodeExporter commented 9 years ago
I think I just pulled a copy from https://cloud.google.com/sdk/ -- but I
may have already had a copy of the SDK on my computer and just reinstalled.

Original comment by kee...@gmail.com on 6 Apr 2015 at 6:35

GoogleCodeExporter commented 9 years ago
Hmmm... did you run `gcloud components updgrade` as part of the your 
installation process?  I'm wondering if an upgrade got into a weird state.

Original comment by jeffvaug...@google.com on 6 Apr 2015 at 8:24

GoogleCodeExporter commented 9 years ago
No.  I'd like to put in a feature request: a shell window in the web
browser that could be like a ssh session to a one-time-use micro-vm
instance where I could issue the gcloud commands securely.  That would
avoid the windows command shell altogether, and enable you guys to detect
errors right away for stuff like this bug.

Original comment by kee...@gmail.com on 6 Apr 2015 at 9:36

GoogleCodeExporter commented 9 years ago
i encounter the same problem  helpppp (please)
1. tried to re-install - didn't work

Original comment by Maggie...@gmail.com on 8 Apr 2015 at 11:03

GoogleCodeExporter commented 9 years ago
Keefeg, It's not quite as smooth as what you're proposing, but you can create a 
linux VM and use the ssh button in the developer console (web UI) to launch ssh 
in tab.  Maybe a  helpful work arround.

Maggie, Thanks we're investigating, but haven't been able to reproduce yet. 

Original comment by jeffvaug...@google.com on 8 Apr 2015 at 4:07

GoogleCodeExporter commented 9 years ago

Original comment by jeffvaug...@google.com on 8 Apr 2015 at 4:07

GoogleCodeExporter commented 9 years ago
I reinstalled and the problem remained too.  Then i deleted the entire
google cloud directory and reinstalled and then it worked.

Original comment by kee...@gmail.com on 8 Apr 2015 at 4:10

GoogleCodeExporter commented 9 years ago
It looks like the most likely issue is that an open terminal window or other 
process is preventing the installer from completely deleting old files during 
component upgrade.  We're aware this can be a problem, and it's in the queue to 
fix.

If anyone else encounters this issue it would be helpful if you could run 

  tree "c:\Program Files\Google\Cloud SDK" /F  > tree.txt

and send us the content of tree.txt.

Original comment by jeffvaug...@google.com on 8 Apr 2015 at 7:23

GoogleCodeExporter commented 9 years ago
sorry , Already deleted and installed in another directory and it worked . 
thanks 

Original comment by Maggie...@gmail.com on 8 Apr 2015 at 9:00