Skip to content
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

Closed
giordyb opened this issue Jan 27, 2020 · 3 comments
Closed

flyte-cli setup-config throws JSONDecodeError #163

giordyb opened this issue Jan 27, 2020 · 3 comments
Assignees
Labels
bug Something isn't working flytekit FlyteKit Python related issue
Milestone

Comments

@giordyb
Copy link

giordyb commented Jan 27, 2020

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

@kumare3 kumare3 added the bug Something isn't working label Feb 9, 2020
@kumare3
Copy link
Contributor

kumare3 commented Feb 9, 2020

@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.

@kumare3 kumare3 added this to the 0.3.0 milestone Mar 30, 2020
@EngHabu
Copy link
Contributor

EngHabu commented Mar 30, 2020

@wild-endeavor has this been resolved?

@wild-endeavor
Copy link
Contributor

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.

@EngHabu EngHabu modified the milestones: 0.3.0, 0.4.0 Apr 30, 2020
@kumare3 kumare3 modified the milestones: 0.4.0, 0.5.0 May 28, 2020
@EngHabu EngHabu removed this from the 0.5.0 milestone Jun 25, 2020
@kumare3 kumare3 added this to the 0.6.0 milestone Jul 6, 2020
@kumare3 kumare3 modified the milestones: 0.6.0, 0.7.0 Aug 5, 2020
@EngHabu EngHabu modified the milestones: 0.7.0, 0.8.0 Aug 5, 2020
@anandswaminathan anandswaminathan modified the milestones: 0.8.0, 0.9.0 Sep 30, 2020
@EngHabu EngHabu modified the milestones: 0.9.0, 0.10.0 Nov 4, 2020
@EngHabu EngHabu removed this from the 0.10.0 milestone Jan 11, 2021
@EngHabu EngHabu added this to the 0.18.0 milestone Aug 31, 2021
@pingsutw pingsutw self-assigned this Sep 10, 2021
@wild-endeavor wild-endeavor added the flytekit FlyteKit Python related issue label Sep 14, 2021
eapolinario pushed a commit to eapolinario/flyte that referenced this issue Dec 6, 2022
* 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
eapolinario pushed a commit to eapolinario/flyte that referenced this issue Dec 6, 2022
* 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]>
eapolinario pushed a commit to eapolinario/flyte that referenced this issue Dec 20, 2022
- In the case when a configmap/secret is not found, the pod stays in
pending

Signed-off-by: Ketan Umare <[email protected]>
eapolinario pushed a commit to eapolinario/flyte that referenced this issue Dec 20, 2022
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>
eapolinario pushed a commit to eapolinario/flyte that referenced this issue Dec 20, 2022
eapolinario pushed a commit to eapolinario/flyte that referenced this issue Aug 9, 2023
* 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
eapolinario pushed a commit to eapolinario/flyte that referenced this issue Aug 21, 2023
- In the case when a configmap/secret is not found, the pod stays in
pending

Signed-off-by: Ketan Umare <[email protected]>
eapolinario pushed a commit to eapolinario/flyte that referenced this issue Aug 21, 2023
* 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]>
eapolinario pushed a commit that referenced this issue Sep 6, 2023
eapolinario pushed a commit to eapolinario/flyte that referenced this issue Apr 30, 2024
austin362667 pushed a commit to austin362667/flyte that referenced this issue May 7, 2024
robert-ulbrich-mercedes-benz pushed a commit to robert-ulbrich-mercedes-benz/flyte that referenced this issue Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working flytekit FlyteKit Python related issue
Projects
None yet
Development

No branches or pull requests

6 participants