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

"ValueError: No JSON object could be decoded error" #28

Open
rodpacker opened this issue Jan 7, 2018 · 4 comments
Open

"ValueError: No JSON object could be decoded error" #28

rodpacker opened this issue Jan 7, 2018 · 4 comments

Comments

@rodpacker
Copy link

rodpacker commented Jan 7, 2018

Hey mate,

thx for sharing this script. I am getting the following error after having installed python dependencies and having changed username and pw:

python /home/.../Desktop/500px-Bot-master/500px.py
Traceback (most recent call last):
File "/home/.../Desktop/500px-Bot-master/500px.py", line 230, in
retrieveLists()
File "/home/.../Desktop/500px-Bot-master/500px.py", line 56, in retrieveLists
pendingFollowList = json.loads(f.read())
File "/usr/lib/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded

any idea what could be causing this?

thanks for your help

@rodpacker rodpacker reopened this Jan 19, 2018
@rodpacker
Copy link
Author

Hi,

is my question too simple or is this not getting supported anymore?

thanks

@shane-tw
Copy link
Owner

Sorry, this isn't really being supported anymore as I've lost interest in it and I'm working full time now so I don't have time to work on it anyway.
Your question wasn't too simple, it hasn't come up before.

@rodpacker
Copy link
Author

rodpacker commented May 24, 2018 via email

@daler445
Copy link

Hi.

This happens when you reach a certain size of data (here - number of followers or following), it cannot write data and crashes.

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

3 participants