Raymo111 / kahoot-answer-bot

A bot to win Kahoots
189 stars 130 forks source link

Deprecated Loop Parameters #19

Closed Varuna3 closed 1 year ago

Varuna3 commented 2 years ago

As of python 3.10, the loop parameter was removed from Semaphore(). The bot no longer works unless you use an old python version.

ejsupernova commented 2 years ago

I got that too

Raymo111 commented 2 years ago

This is an upstream issue with AIOCometd (https://github.com/robertmrk/aiocometd/issues/13), I have no control over it.

Rc-Cookie commented 2 years ago

That does not seem to be the only issue here though, because the bot also doesn't join Kahoots in python 3.9. Maybe that doesn't have to do with the deprecation?

Raymo111 commented 2 years ago

What error do you get? It works for me.

Rc-Cookie commented 2 years ago

Simply nothing happens. The console output states it's logged in, but the name doesn't appear in the Kahoot. I re-downloaded the latest version, but still the same. I actually worked on a java translation of this bot. While not complete, I was past the state "Username accepted", but it also doesn't work no more. Maybe Kahoot changed something?

Raymo111 commented 2 years ago

Hmmm it's possible that Kahoot made a breaking change that'll require a rewrite. Does it work with Python 3.8? I'll have to investigate this, I got as far as to run it to the username accepted part but didn't think to check the actual joining.

Rc-Cookie commented 2 years ago

I was running 3.7 before, also didn't work

Rc-Cookie commented 2 years ago

Interestingly, while not showing up the username you took is blocked then

Brewer5700x commented 1 year ago

I'm having this same issue trying to use this bot. Has this issue been fixed? Is there an older version of python I can use to run it?

sealldeveloper commented 1 year ago

Work fine with me when I use 3.9.17 on M1