Skip to content

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

@rodpacker

Description

@rodpacker

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions