我剛剛在CloudFOundry註冊了一個新帳戶,並且無法通過vmc登錄。CloudFoundry登錄錯誤:「參數數量錯誤(1 for 2)」
我設定的目標確定http://api.cloudfoundry.com
這裏從VMC info命令
VMware's Cloud Application Platform
target: http://api.cloudfoundry.com
version: 0.999
support: http://support.cloudfoundry.com
導致當我運行以下命令:
VMC登錄[email protected] --password myPasswd
我得到以下結果:
target: http://api.cloudfoundry.com
Authenticating... FAILED
ArgumentError: wrong number of arguments (1 for 2)
For more information, see ~/.vmc/crash
這裏是〜/ VMC /墜毀內容
Time of crash: Wed Feb 06 11:57:38 -0500 2013
ArgumentError: wrong number of arguments (1 for 2)
vmc-0.4.7/lib/vmc/cli/start/login.rb:74:in `login'
vmc-0.4.7/lib/vmc/cli/start/login.rb:74:in `login'
interact-0.5.2/lib/interact/progress.rb:98:in `with_progress'
vmc-0.4.7/lib/vmc/cli/start/login.rb:72:in `login'
mothership-0.3.5/lib/mothership/base.rb:61:in `send'
mothership-0.3.5/lib/mothership/base.rb:61:in `run'
mothership-0.3.5/lib/mothership/command.rb:68:in `invoke'
mothership-0.3.5/lib/mothership/command.rb:82:in `instance_exec'
mothership-0.3.5/lib/mothership/command.rb:82:in `invoke'
mothership-0.3.5/lib/mothership/base.rb:50:in `execute'
vmc-0.4.7/lib/vmc/cli.rb:106:in `execute'
mothership-0.3.5/lib/mothership.rb:45:in `start' vmc-0.4.7/bin/vmc:11
/usr/bin/vmc:19:in `load' /usr/bin/vmc:19
我不能相信,我不能得到關於這個問題的搜索結果。謝謝你的幫助。
實際上,此更改已在最新版本的vmc源代碼(https://github.com/cloudfoundry/vmc /blob/master/lib/vmc/cli/start/login.rb#L46)。最新的預發佈版本的vmc應該有這個改變。您可以通過執行'gem install vmc --pre'來嘗試。 –