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

raise JSONDecodeError("Expecting value", s, err.value) from None #51

Open
sarthak501 opened this issue Mar 25, 2024 · 0 comments
Open

Comments

@sarthak501
Copy link

Traceback (most recent call last):
File "/home/runner/gp/main.py", line 3, in
perplexity = Perplexity()
File "/home/runner/gp/.pythonlibs/lib/python3.10/site-packages/perplexity/perplexity.py", line 28, in init
self.sid: str = self._get_sid()
File "/home/runner/gp/.pythonlibs/lib/python3.10/site-packages/perplexity/perplexity.py", line 80, in _get_sid
return loads(self.session.get(
File "/nix/store/8w6mm5q1n7i7cs1933im5vkbgvjlglfn-python3-3.10.13/lib/python3.10/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/nix/store/8w6mm5q1n7i7cs1933im5vkbgvjlglfn-python3-3.10.13/lib/python3.10/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/nix/store/8w6mm5q1n7i7cs1933im5vkbgvjlglfn-python3-3.10.13/lib/python3.10/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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant