-
Notifications
You must be signed in to change notification settings - Fork 672
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
flyte-cli setup-config throws JSONDecodeError #163
Comments
@giordyb thank you for opening the issue, we will get this resolved soon. Also, I think you are on our slack channel, we should be able to unblock you. But, I will definitely make it a point to update the issue so that we can keep track and educate other new members better. |
@wild-endeavor has this been resolved? |
No, this is an admin change we'll need to make. Currently the endpoint only works I think when auth is enabled on the admin service. The admin auth bits need some tlc in the coming weeks. |
* install the sagemaker plugin * upgrade flyteplugin * upgrade dependency on flyteplugins * upgrade flyteplugins * upgrade flyteplugins * go mod * go mod * go mod * add to sandbox config and pull latest flyteidl and flyteplugins * flyteplugins v0.4.0
* Get latest changes for secrets in flyteidl Signed-off-by: Ketan Umare <[email protected]> * go mod tidy Signed-off-by: Ketan Umare <[email protected]> * Update propeller and go mod tidy Signed-off-by: Ketan Umare <[email protected]>
- In the case when a configmap/secret is not found, the pod stays in pending Signed-off-by: Ketan Umare <[email protected]>
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7. - [Release notes](https://github.com/wycats/handlebars.js/releases) - [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md) - [Commits](handlebars-lang/handlebars.js@v4.7.6...v4.7.7) Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* install the sagemaker plugin * upgrade flyteplugin * upgrade dependency on flyteplugins * upgrade flyteplugins * upgrade flyteplugins * go mod * go mod * go mod * add to sandbox config and pull latest flyteidl and flyteplugins * flyteplugins v0.4.0
- In the case when a configmap/secret is not found, the pod stays in pending Signed-off-by: Ketan Umare <[email protected]>
* Get latest changes for secrets in flyteidl Signed-off-by: Ketan Umare <[email protected]> * go mod tidy Signed-off-by: Ketan Umare <[email protected]> * Update propeller and go mod tidy Signed-off-by: Ketan Umare <[email protected]>
Signed-off-by: Daniel Rammer <[email protected]>
Hi,
When I try to run
flyte-cli setup-config -h localhost:30081 -i
I get the following error:
elcome to Flyte CLI! Version: 0.4.4 Traceback (most recent call last): File "/Users/biagio/opt/anaconda3/envs/yolo_train_framework/bin/flyte-cli", line 8, in <module> sys.exit(_flyte_cli()) File "/Users/biagio/opt/anaconda3/envs/yolo_train_framework/lib/python3.6/site-packages/click/core.py", line 764, in __call__ return self.main(*args, **kwargs) File "/Users/biagio/opt/anaconda3/envs/yolo_train_framework/lib/python3.6/site-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/Users/biagio/opt/anaconda3/envs/yolo_train_framework/lib/python3.6/site-packages/click/core.py", line 1137, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/Users/biagio/opt/anaconda3/envs/yolo_train_framework/lib/python3.6/site-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, **ctx.params) File "/Users/biagio/opt/anaconda3/envs/yolo_train_framework/lib/python3.6/site-packages/click/core.py", line 555, in invoke return callback(*args, **kwargs) File "/Users/biagio/opt/anaconda3/envs/yolo_train_framework/lib/python3.6/site-packages/flytekit/clis/flyte_cli/main.py", line 1522, in setup_config data = response.json() File "/Users/biagio/opt/anaconda3/envs/yolo_train_framework/lib/python3.6/site-packages/requests/models.py", line 897, in json return complexjson.loads(self.text, **kwargs) File "/Users/biagio/opt/anaconda3/envs/yolo_train_framework/lib/python3.6/site-packages/simplejson/__init__.py", line 525, in loads return _default_decoder.decode(s) File "/Users/biagio/opt/anaconda3/envs/yolo_train_framework/lib/python3.6/site-packages/simplejson/decoder.py", line 370, in decode obj, end = self.raw_decode(s) File "/Users/biagio/opt/anaconda3/envs/yolo_train_framework/lib/python3.6/site-packages/simplejson/decoder.py", line 400, in raw_decode return self.scan_once(s, idx=_w(s, idx).end()) simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
I'm running flyte-cli on MacOS with the sandbox setup on Docker for Mac with K8s
The text was updated successfully, but these errors were encountered: