kieran-lock / autokahoot Goto Github PK
View Code? Open in Web Editor NEWA fully-featured Kahoot quiz bot
Home Page: https://kahoot.it/
License: GNU General Public License v3.0
A fully-featured Kahoot quiz bot
Home Page: https://kahoot.it/
License: GNU General Public License v3.0
After running git clone https://github.com/Kieran-Lock/AutoKahoot.git
and then running the command python3 main.py
i am hit with error code
python3: can't open file 'C:\Users\GrensingJulian5I\main.py': [Errno 2] No such file or directory
File "C:\Users\ ____\Downloads\AutoKahoot-main\autokahoot\bot.py", line 3, in
from aiocometd_noloop import Client as CometDClient
ModuleNotFoundError: No module named 'aiocometd_noloop'
I installed 'aiocometd_noloop' but it gave the same error
~/KahootH/AutoKahoot$ python3 main.py
Quiz ID: 45db2b22-f7d5-423c-8f99-2b1f1c8862f3
Lobby Pin: 9768414
Bot Username: Test
Exception in callback TransportBase._connect_done(<Task cancell.../utils.py:22>>)
handle: <Handle TransportBase._connect_done(<Task cancell.../utils.py:22>>)>
Traceback (most recent call last):
File "/home/runner/KahootH/.pythonlibs/lib/python3.10/site-packages/aiocometd_noloop/utils.py", line 27, in wrapper
return await coro_func(*args, **kwargs)
File "/home/runner/KahootH/.pythonlibs/lib/python3.10/site-packages/aiocometd_noloop/transports/base.py", line 486, in _connect
result = await self._send_payload_with_auth(payload)
File "/home/runner/KahootH/.pythonlibs/lib/python3.10/site-packages/aiocometd_noloop/transports/base.py", line 280, in _send_payload_with_auth
response = await self._send_payload(payload)
File "/home/runner/KahootH/.pythonlibs/lib/python3.10/site-packages/aiocometd_noloop/transports/base.py", line 307, in _send_payload
return await self._send_final_payload(payload, headers=headers)
File "/home/runner/KahootH/.pythonlibs/lib/python3.10/site-packages/aiocometd_noloop/transports/websocket.py", line 169, in _send_final_payload
return await self._send_socket_payload(socket, payload)
File "/home/runner/KahootH/.pythonlibs/lib/python3.10/site-packages/aiocometd_noloop/transports/websocket.py", line 209, in _send_socket_payload
return await future
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/nix/store/rwxj49zghamyhy07b67yhiq64bmznvmm-python3-3.10.14/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/runner/KahootH/.pythonlibs/lib/python3.10/site-packages/aiocometd_noloop/transports/base.py", line 503, in _connect_done
result: Union[JsonObject, Exception] = future.result()
asyncio.exceptions.CancelledError
Exception in callback WebSocketTransport._receive_done(>)
handle: <Handle WebSocketTransport._receive_done(>)>
Traceback (most recent call last):
File "/home/runner/KahootH/.pythonlibs/lib/python3.10/site-packages/aiocometd_noloop/transports/websocket.py", line 230, in _receive
response = await socket.receive()
File "/home/runner/KahootH/.pythonlibs/lib/python3.10/site-packages/aiohttp/client_ws.py", line 244, in receive
msg = await self._reader.read()
File "/home/runner/KahootH/.pythonlibs/lib/python3.10/site-packages/aiohttp/streams.py", line 681, in read
return await super().read()
File "/home/runner/KahootH/.pythonlibs/lib/python3.10/site-packages/aiohttp/streams.py", line 640, in read
await self._waiter
asyncio.exceptions.CancelledError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/nix/store/rwxj49zghamyhy07b67yhiq64bmznvmm-python3-3.10.14/lib/python3.10/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/home/runner/KahootH/.pythonlibs/lib/python3.10/site-packages/aiocometd_noloop/transports/websocket.py", line 259, in _receive_done
result = future.result()
asyncio.exceptions.CancelledError
Traceback (most recent call last):
File "/home/runner/KahootH/AutoKahoot/main.py", line 21, in
run(main())
File "/nix/store/rwxj49zghamyhy07b67yhiq64bmznvmm-python3-3.10.14/lib/python3.10/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/nix/store/rwxj49zghamyhy07b67yhiq64bmznvmm-python3-3.10.14/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
return future.result()
File "/home/runner/KahootH/AutoKahoot/main.py", line 17, in main
await bot.play(lobby, client)
File "/home/runner/KahootH/AutoKahoot/autokahoot/bot.py", line 29, in play
await lobby.quiz.rounds[question_index].send_answer(client, lobby)
TypeError: list indices must be integers or slices, not NoneType
I get error fatal: could not create work tree dir 'AutoKahoot': Permission denied when i use the command
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.