GAM-team / GAM-team/got-your-back

Installation of GYB fail because of json.decoder.JSONDecodeError

Open
#388 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
3.1k
Forks
245
PR merge metrics
No merged PRs in 30d

Description

The issue tracker is for reporting product deficiencies. How do I questions should be posted to the discussion forum at https://groups.google.com/group/got-your-back. When in doubt, start at the discussion forum and return here only when instructed to do so.

Please confirm the following:
* I have upgraded to the latest GYB release from https://github.com/jay0lee/got-your-back/releases and I still have this issue.
* I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/got-your-back/wiki

Full steps to reproduce the issue:
1. On PRETTY_NAME="Ubuntu 22.04 LTS" and Python3 --version = Python 3.9.13
2. Executing : bash <(curl -s -S -L https://gyb-shortn.jaylee.us/gyb-install)

Expected outcome (what are you trying to do?):
Installation successfully.

Actual outcome (what errors or bad behavior do you see instead?):
`Traceback (most recent call last):
File "", line 7, in
File "/usr/lib/python3.9/json/__init__.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)
Traceback (most recent call last):
File "", line 7, in
File "/usr/lib/python3.9/json/__init__.py", line 293, in load
return loads(fp.read(),
File "/usr/lib/python3.9/json/__init__.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 2 column 1 (char 1)
`

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the failure on Ubuntu 22.04 with Python 3.9.13 by running the reported bash installer command. Start with the installer fetched from https://gyb-shortn.jaylee.us/gyb-install and trace the JSON input that produces the Python traceback. Done means the documented installation command completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, python
Domain
cli, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.