modxevil / google-cloud-sdk

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

gcloud autocomplete runs very slow #512

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
For every `tab` (ask for autocompletion) after gcloud, it freezes my terminal 2 
or 3 seconds. If I keep on pressing `tab` during freezing period (a natural 
behaviour ...), it pops suggested information PER `tab` I pressed.

What is the expected output? 

1. No freezing time is the best solution
2. Otherwise, stop over-reacting on my following `tabs` during freezing time is 
still a good solution

$ gcloud info

Google Cloud SDK [94.0.0]

Platform: [Mac OS X, x86_64]
Python Version: [2.7.10 (default, Aug 26 2015, 18:17:29)  [GCC 4.2.1 Compatible 
Apple LLVM 6.0 (clang-600.0.56)]]
Python Location: 
[/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.ap
p/Contents/MacOS/Python]
Site Packages: [Disabled]

Installation Root: [/Users/mondwan/google-cloud-sdk]
Installed Components:
  core: [2016.01.22]
  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/mondwan/google-cloud-sdk/bin:/opt/local/bin:/opt/local/sbin:/opt/local/b
in:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/Ap
plications/androidSDK/sdk//platform-tools:/Applications/androidSDK/sdk//tools]
Cloud SDK on PATH: [True]

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

Account: [victor2wen@gmail.com]
Project: [amazing-bonbon-120603]

Current Properties:
  [core]
    project: [amazing-bonbon-120603]
    account: [victor2wen@gmail.com]
    disable_usage_reporting: [False]
  [compute]
    region: [asia-east1]
    zone: [asia-east1-b]

Logs Directory: [/Users/mondwan/.config/gcloud/logs]
Last Log File: 
[/Users/mondwan/.config/gcloud/logs/2016.01.31/15.39.10.274562.log]

Original issue reported on code.google.com by victor2...@gmail.com on 31 Jan 2016 at 7:55