Quentin123345 / google-cloud-sdk

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

gcloud init crashes #465

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago

michalpecek-macpro:~ michalpecek$ gcloud init
Welcome! This command will take you through the configuration of gcloud.

Settings from your current configuration [default] are:
[core]
account = michalpecek@google.com
disable_usage_reporting = False
[meta]
active_config = default

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]

Pick credentials to use:
 [1] michalpecek@google.com
 [2] Login with new credentials
Please enter your numeric choice:  1

You are now logged in as: [michalpecek@google.com]

Enter project id you would like to use:  google.com:hauler
Your current project has been set to: [google.com:hauler].

Your project default compute zone has been set to [us-central1-f].
You can change it by running [gcloud config set compute/zone NAME].

Your project default compute region has been set to [us-central1].
You can change it by running [gcloud config set compute/region NAME].

Could not retrieve list of repos via [gcloud alpha source repos list]
Perhaps alpha commands are not enabled or the repos list command failed.

Generally projects have a repository named [default]. Would you like 
to try clone it? (Y/n)?  y

Where would you like to clone [default] repository to 
[/Users/michalpecek/default]:haulerV2
Directory [haulerV2] already exists
Where would you like to clone [default] repository to 
[/Users/michalpecek/default]:hauler_default
No such directory []
Would you like to create it (Y/n)?  y

You can use [gcloud config] to change more gcloud settings.

Your current configuration is: [default]

[compute]
region = us-central1
zone = us-central1-f
[core]
account = michalpecek@google.com
disable_usage_reporting = False
project = google.com:hauler
[meta]
active_config = default
ERROR: gcloud crashed (OSError): [Errno 2] No such file or directory: ''

If you would like to report this issue, please run the following command:
  gcloud feedback
michalpecek-macpro:~ michalpecek$ gcloud feedback

We appreciate your feedback.

If you have a question, post it on Stack Overflow using the "gcloud" tag at
[http://stackoverflow.com/questions/tagged/gcloud].

For general feedback, use our groups page
[https://groups.google.com/forum/?fromgroups#!forum/google-cloud-sdk],
send a mail to [google-cloud-sdk@googlegroups.com] or visit the [#gcloud] IRC
channel on freenode.

Which recent gcloud invocation would you like to provide feedback 
about?
 [1] [2016.01.11/13.07.27.151296.log]: [gcloud init] (crash detected)
 [2] [2016.01.11/13.05.44.128481.log]: [gcloud init] (crash detected)
 [3] [2016.01.11/13.02.15.749428.log]: [gcloud components update]
 [4] None of these
Please enter your numeric choice (1):  1

Would you like to file a bug using our issue tracker site at 
[https://code.google.com/p/google-cloud-sdk/issues] (will open a new 
browser tab)? (Y/n)?  y

WARNING: Truncating included information. Please consider including the 
remainder:
================================================================== TRUNCATED 
INFORMATION (PLEASE CONSIDER INCLUDING) 
==================================================================
WARNING: There are old versions of the Google Cloud Platform tools on your 
system PATH.
  /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/dev_appserver.py

Installation Properties: [/Users/michalpecek/google-cloud-sdk/properties]
User Config Directory: [/Users/michalpecek/.config/gcloud]
User Properties: [/Users/michalpecek/.config/gcloud/properties]
Current Workspace: [None]
Workspace Config Directory: [None]
Workspace Properties: [None]

Account: [michalpecek@google.com]
Project: [google.com:hauler]

Current Properties:
  [core]
    project: [google.com:hauler]
    account: [michalpecek@google.com]
    disable_usage_reporting: [False]
  [compute]
    region: [us-central1]
    zone: [us-central1-f]

Logs Directory: [/Users/michalpecek/.config/gcloud/logs]
Last Log File: 
[/Users/michalpecek/.config/gcloud/logs/2016.01.11/13.07.27.151296.log]
================================================================ END TRUNCATED 
INFORMATION (PLEASE CONSIDER INCLUDING) 
================================================================
WARNING: The output of gcloud info is too long to pre-populate the new issue 
form.
WARNING: Please consider including the remainder (above).
Opening your browser to a new Google Cloud SDK issue.

Traceback (most recent call last):
  File "calliope/cli.py", line 609, in Execute
    result = args.cmd_func(cli=self, args=args)
  File "calliope/backend.py", line 1228, in Run
    resources = command_instance.Run(args)
  File "surface/init.py", line 94, in Run
    self._PickRepo()
  File "surface/init.py", line 326, in _PickRepo
    self._CloneRepo(repo_name)
  File "surface/init.py", line 346, in _CloneRepo
    files.MakeDir(parent_dir)
  File "core/util/files.py", line 47, in MakeDir
    os.makedirs(path, mode=mode)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/os.py", line 157, in makedirs
    mkdir(name, mode)
OSError: [Errno 2] No such file or directory: ''

Installation information:

Google Cloud SDK [91.0.1]

Platform: [Mac OS X, x86_64]
Python Version: [2.7.10 (default, Oct 23 2015, 18:05:06)  [GCC 4.2.1 Compatible 
Apple LLVM 7.0.0 (clang-700.0.59.5)]]
Python Location: [/usr/bin/python]
Site Packages: [Disabled]

Installation Root: [/Users/michalpecek/google-cloud-sdk]
Installed Components:
  core: [2015.12.16]
  core-nix: [2015.11.24]
  gcloud: []
  gsutil-nix: [4.15]
  gsutil: [4.16]
  bq: [2.0.18]
  bq-nix: [2.0.18]
System PATH: 
[/Users/michalpecek/google-cloud-sdk/bin:/usr/local/git/current/bin:/usr/local/b
in:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin]
Cloud SDK on PATH: [True]

[output truncated]

Original issue reported on code.google.com by michalpe...@google.com on 11 Jan 2016 at 1:11

GoogleCodeExporter commented 8 years ago

Original comment by z...@google.com on 12 Jan 2016 at 10:49