e621dl icon indicating copy to clipboard operation
e621dl copied to clipboard

Not working - Value Error, no JSON object could be decoded

Open lylatveteran opened this issue 5 years ago • 12 comments

I don't know if you even still work on this, but this was the most awesome tool ever when it worked. Nowadays, this message is all I get when I try to start it. I double click on the Run_e621dl_In_Windows file, like the instructions say to I've also attempted to change the last-used-by date like what was suggested, but nothing seems to work.

Any info would be helpful

lylatveteran avatar Oct 13 '19 02:10 lylatveteran

I don't know if you even still work on this, but this was the most awesome tool ever when it worked. Nowadays, this message is all I get when I try to start it. I double click on the Run_e621dl_In_Windows file, like the instructions say to I've also attempted to change the last-used-by date like what was suggested, but nothing seems to work.

Any info would be helpful

You need to add a minimum of 1 tag.

BluBudgies avatar Oct 24 '19 00:10 BluBudgies

I have. And I've tried using other tags as well. Maybe it has to do with the way they are added?

For example, I tested out a tag: Arbok and put it in the tags file like this...

Instructions:

Add tags/artists to download to this file, one group per line. Any tag

combination that works on the web site will work here, including all the

meta-tags (see https://e621.net/help/cheatsheet for more information on

tags and meta-tags).

NOTE: All lines in this file that begin with # are treated as comments and

are ignored by e621dl

Each line in this file will be treated as a separate group, and a new folder

inside the downloads directory will be created for each line in this file.

List any tags, artists, meta-tags, or groups of tags you would like to

track below:

Arbok

Maybe I'm not supposed to skip a line? Or is there another way I'm supposed to put it in?


From: BluBudgies [email protected] Sent: Wednesday, October 23, 2019 7:03 PM To: wwyaiykycnf/e621dl [email protected] Cc: lylatveteran [email protected]; Author [email protected] Subject: Re: [wwyaiykycnf/e621dl] Not working - Value Error, no JSON object could be decoded (#51)

I don't know if you even still work on this, but this was the most awesome tool ever when it worked. Nowadays, this message is all I get when I try to start it. I double click on the Run_e621dl_In_Windows file, like the instructions say to I've also attempted to change the last-used-by date like what was suggested, but nothing seems to work.

Any info would be helpful

You need to add a minimum of 1 tag.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/wwyaiykycnf/e621dl/issues/51?email_source=notifications&email_token=AJ5LWTFNLBEPISCJX3QSOBLQQDQ6XA5CNFSM4JAFC5FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECDIAUA#issuecomment-545685584, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ5LWTHKXFPDVIJD6B2FWFLQQDQ6XANCNFSM4JAFC5FA.

lylatveteran avatar Oct 27 '19 01:10 lylatveteran

I am also having the same issue e621dl INFO running e621dl version 2.4.6 e621dl INFO e621dl was last run on 2019-10-30 Traceback (most recent call last): File "e621dl.py", line 93, in current_page, default.MAX_RESULTS) File "C:\Users\Luke\Downloads\e621dl-2.4.6\e621dl-2.4.6\lib\e621_api.py", line 26, in get_posts results = loads(SPOOF.open(request).read().decode()) File "C:\Python27\lib\json_init_.py", line 339, in loads return _default_decoder.decode(s) File "C:\Python27\lib\json\decoder.py", line 364, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "C:\Python27\lib\json\decoder.py", line 382, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded I have tried adding tags with capital letters and lower case letters at the front and I have tried different spacings and adding commas in between tags but it doesn't seem to work any tips?

Redtile avatar Oct 31 '19 04:10 Redtile

Sup guys Since nobody is maintaining this anymore, I'll ask @wwyaiykycnf if he wants to add me as a collaborator so that I can maintain it in the original repo and help you guys.

Atm I can't look into your problem because I can't test as I'm on vacation but I will be able to next week

DatDraggy avatar Oct 31 '19 08:10 DatDraggy

The last run config is how far back e621dl will look for posts. So I would recommend something like: 2007-1-1 to grab all the posts on newly added tags and then you can change it back to the current date.

BluBudgies avatar Oct 31 '19 23:10 BluBudgies

The last run config is how far back e621dl will look for posts. So I would recommend something like: 2007-1-1 to grab all the posts on newly added tags and then you can change it back to the current date.

just tried this it didnt work and @DatDraggy that would be amazing I have been trying to find something like this for a while now and this is the closest I have come so far

Redtile avatar Oct 31 '19 23:10 Redtile

ok breif update, I fuggured out how to input tags they must be seperated with a return like so Tag1 Tag2 ETC... still getting the JSON error though and looking at the code I really cant tell whats wrong, will update further if I come across anything

Redtile avatar Nov 10 '19 07:11 Redtile

Hey.

It may be because of the date format. It doesn't work on dates, but instead on days. So, you'll want to put it as "4696" instead.

See if that sorts it for you.

-Wisp

On Sun, 10 Nov 2019, 07:30 Redtile, [email protected] wrote:

ok breif update, I fuggured out how to input tags they must be seperated with a return like so Tag1 Tag2 ETC... still getting the JSON error though and looking at the code I really cant tell whats wrong, will update further if I come across anything

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wwyaiykycnf/e621dl/issues/51?email_source=notifications&email_token=ALC3CQWVDJVKZBZAPDQVFWTQS6Z7XA5CNFSM4JAFC5FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUXIFY#issuecomment-552170519, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALC3CQSAPC4ZR6OJP5H35G3QS6Z7XANCNFSM4JAFC5FA .

WispTheHusky avatar Nov 10 '19 10:11 WispTheHusky

Thanks for all your help so far guys

Get Outlook for iOShttps://aka.ms/o0ukef


From: Wisp [email protected] Sent: Sunday, November 10, 2019 4:41:31 AM To: wwyaiykycnf/e621dl [email protected] Cc: lylatveteran [email protected]; Author [email protected] Subject: Re: [wwyaiykycnf/e621dl] Not working - Value Error, no JSON object could be decoded (#51)

Hey.

It may be because of the date format. It doesn't work on dates, but instead on days. So, you'll want to put it as "4696" instead.

See if that sorts it for you.

-Wisp

On Sun, 10 Nov 2019, 07:30 Redtile, [email protected] wrote:

ok breif update, I fuggured out how to input tags they must be seperated with a return like so Tag1 Tag2 ETC... still getting the JSON error though and looking at the code I really cant tell whats wrong, will update further if I come across anything

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wwyaiykycnf/e621dl/issues/51?email_source=notifications&email_token=ALC3CQWVDJVKZBZAPDQVFWTQS6Z7XA5CNFSM4JAFC5FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDUXIFY#issuecomment-552170519, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALC3CQSAPC4ZR6OJP5H35G3QS6Z7XANCNFSM4JAFC5FA .

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/wwyaiykycnf/e621dl/issues/51?email_source=notifications&email_token=AJ5LWTDY7C2IKP7D55DGEKLQS7QNXA5CNFSM4JAFC5FKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDU2JJY#issuecomment-552182951, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJ5LWTANGCEJOUATPNB7MNLQS7QNXANCNFSM4JAFC5FA.

lylatveteran avatar Nov 10 '19 11:11 lylatveteran

@WispTheHusky unfortunately that still doesn't work it now give the error of the config file being wrong and requiring the date format to be "YYYY-MM-DD" am I perhaps missing a file? it say it needs a JSON but I cant find any file in the folder that has a .json extension

Redtile avatar Nov 10 '19 20:11 Redtile

You may need to try the python method, I had some issues with the windows version myself.

BluBudgies avatar Nov 11 '19 08:11 BluBudgies

@BluBudgies how do I do that? I am currently running it in cmd as an admin Im not sure what you mean by the python method

Redtile avatar Nov 22 '19 09:11 Redtile