Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Script not working , giving error #2

Closed
Harry-kp opened this issue May 7, 2023 · 1 comment
Closed

Script not working , giving error #2

Harry-kp opened this issue May 7, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Harry-kp
Copy link
Owner

Harry-kp commented May 7, 2023

INFO:root:Reading config.yaml file successfully..............
INFO:root:Fetching the ques..............
Traceback (most recent call last):
File "script.py", line 29, in
bot.fetch_question()
File "C:\Users\ROUNAK\Documents\cheggbot\chegg.py", line 102, in fetch_question
res_data = json.loads(response.text)
File "C:\Users\ROUNAK\AppData\Local\Programs\Python\Python38\lib\json_init_.py", line 357, in loads
return _default_decoder.decode(s)
File "C:\Users\ROUNAK\AppData\Local\Programs\Python\Python38\lib\json\decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\ROUNAK\AppData\Local\Programs\Python\Python38\lib\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)

@Harry-kp Harry-kp added the bug Something isn't working label May 7, 2023
@Harry-kp Harry-kp self-assigned this May 7, 2023
@Harry-kp
Copy link
Owner Author

Harry-kp commented May 7, 2023

This issue has been fixed in the PR.

@Harry-kp Harry-kp closed this as completed May 7, 2023
@Harry-kp Harry-kp pinned this issue May 7, 2023
Repository owner locked and limited conversation to collaborators May 7, 2023
@Harry-kp Harry-kp converted this issue into discussion #3 May 7, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant