Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

JSON output doesn't work anymore #1

Open
Flopsey opened this issue Jan 5, 2021 · 1 comment · May be fixed by #2
Open

JSON output doesn't work anymore #1

Flopsey opened this issue Jan 5, 2021 · 1 comment · May be fixed by #2
Assignees
Labels
bug Something isn't working

Comments

@Flopsey
Copy link
Owner

Flopsey commented Jan 5, 2021

Traceback (most recent call last):
  File "/usr/local/Homebrew/Library/Taps/flopsey/homebrew-open-cask/cmd/brewcask-open", line 19, in <module>
    data = json.loads(p.stdout)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/json/__init__.py", line 357, in loads
    return _default_decoder.decode(s)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

@Flopsey Flopsey added the bug Something isn't working label Jan 5, 2021
@Flopsey Flopsey self-assigned this Jan 5, 2021
@Flopsey
Copy link
Owner Author

Flopsey commented Nov 1, 2021

Use --json=v2

Flopsey added a commit that referenced this issue Nov 1, 2021
@Flopsey Flopsey linked a pull request Nov 1, 2021 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant