reddit-place-script-2022 icon indicating copy to clipboard operation
reddit-place-script-2022 copied to clipboard

Error when starting

Open ELPoupa opened this issue 3 years ago • 3 comments

Hi, when I start the software I get this error before closing itself. I use the latest version

http://image.noelshack.com/fichiers/2022/13/7/1649021358-fdzfzffz.png

Thanks in advance

ELPoupa avatar Apr 03 '22 21:04 ELPoupa

Try running the script on the latest latest version (Your script didn't match up with the latest version)

Risewill23 avatar Apr 03 '22 21:04 Risewill23

This is happening in:

        if response.json()["data"] is None:
            waitTime = math.floor(
                response.json()["errors"][0]["extensions"]["nextAvailablePixelTs"]
            )
            logger.error(
                "Thread #{} : Failed placing pixel: rate limited", thread_index
            )
        else:
            waitTime = math.floor(
                response.json()["data"]["act"]["data"][0]["data"][
                    "nextAvailablePixelTimestamp"
                ]
            )
            logger.info("Thread #{} : Succeeded placing pixel", thread_index)

thoroc avatar Apr 03 '22 21:04 thoroc

I think its because there's no awaiting and the script didn't have time to get the response

Risewill23 avatar Apr 03 '22 21:04 Risewill23