500px-Bot icon indicating copy to clipboard operation
500px-Bot copied to clipboard

"ValueError: No JSON object could be decoded error"

Open rodpacker opened this issue 8 years ago • 4 comments

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 avatar Jan 07 '18 15:01 rodpacker

Hi,

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

thanks

rodpacker avatar Jan 19 '18 11:01 rodpacker

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.

shane-tw avatar Feb 18 '18 23:02 shane-tw

Hey mate, sorry only read this now.  bummer, but thx for taking the time to reply anyway.

cheers

Ron

   

Gesendet: Montag, 19. Februar 2018 um 01:27 Uhr Von: "Shane O Donovan" [email protected] An: shanepm/500px-Bot [email protected] Cc: rodpacker [email protected], "State change" [email protected] Betreff: Re: [shanepm/500px-Bot] "ValueError: No JSON object could be decoded error" (#28)

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.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.

 

rodpacker avatar May 24 '18 10:05 rodpacker

Hi.

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

daler445 avatar Aug 10 '18 12:08 daler445