-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CLI, wsk property get results in runtime error: index out of range Application exited unexpectedly error #486
Comments
Can someone help on it? |
Which OS are you guys using? |
I am using macOS. |
@archanaagrawal14 Are you using the m1 mac or amd64? |
Using M2 chip |
Are you using this version of CLI?
You need to configure |
Have you tried with the CLI 1.2.0? https://github.com/apache/openwhisk-cli/releases/tag/1.2.0 Are you able to run the macbook16:OpenWhisk_CLI-1.2.0-mac-amd64 style95$ ./wsk
____ ___ _ _ _ _ _
/\ \ / _ \ _ __ ___ _ __ | | | | |__ (_)___| | __
/\ /__\ \ | | | | '_ \ / _ \ '_ \| | | | '_ \| / __| |/ /
/ \____ \ / | |_| | |_) | __/ | | | |/\| | | | | \__ \ <
\ \ / \/ \___/| .__/ \___|_| |_|__/\__|_| |_|_|___/_|\_\
\___\/ tm |_|
Usage:
wsk [command]
Available Commands:
action work with actions
activation work with activations
api work with APIs
help Help about any command
list list entities in the current namespace
namespace work with namespaces
package work with packages
project The OpenWhisk Project Management Tool
property work with whisk properties
rule work with rules
sdk work with the sdk
trigger work with triggers
Flags:
--apihost HOST whisk API HOST
--apiversion VERSION whisk API VERSION
-u, --auth KEY authorization KEY
--cert string client cert
-d, --debug debug level output
-h, --help help for wsk
-i, --insecure bypass certificate checking
--key string client key
-v, --verbose verbose output
Use "wsk [command] --help" for more information about a command. |
Both the wsk version from brew install wsk and the latest wsk from the releases.
I have been trying to install wsk and configure to start experimenting with the framework locally.
However, I'm running into a major issue.
After setting apihost and auth, I wanted to see if they were set correctly so I run the command:
wsk property get
and the output I get is this
I tried removing ~/.wskprops file, reinstalling wsk but I still get the same error.
This is the output of
wsk property get --debug
:On the documentation webpage (https://openwhisk.apache.org/documentation.html), it tells me to also have the --namespace argument but I get unknown flag: --namespace so I asked on the openwhisk slack channel and someone told me to drop the --namespace flag since it is not used anymore. However, towards the end of the debug message output, it seems like there is no namespace set and I'm not sure how to fix that problem.
Could I get some help?
The text was updated successfully, but these errors were encountered: