garc icon indicating copy to clipboard operation
garc copied to clipboard

All searches now failing with KeyError: -1

Open peka7777777 opened this issue 3 years ago • 3 comments

root:/app# garc search maga --number_gabs=1 Traceback (most recent call last): File "/usr/local/bin/garc", line 8, in sys.exit(main()) File "/usr/local/lib/python3.8/site-packages/garc/command.py", line 121, in main for thing in things: File "/usr/local/lib/python3.8/site-packages/garc/client.py", line 88, in search max_id = posts[-1]['id'] KeyError: -1

peka7777777 avatar Sep 16 '21 12:09 peka7777777

This seems to be a result of opening too many sessions with a single user account (I am running garc in ephemeral containers so each new instance creates a new session on the account), not sure if there is a programatic way to close down sessions once they are opened (Certainly possible from the UI) but looking more at it

peka7777777 avatar Sep 17 '21 10:09 peka7777777

Did you ever find a solution? i was using garc to research gba but it looks like I'm getting a last_published_date = posts[-1]['created_at'] error now

djkemmet avatar Mar 07 '22 05:03 djkemmet

I have this issue, too. I also don't have any other sessions running.

elleobrien avatar Jun 07 '22 18:06 elleobrien