Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Не работает основной скрипт, выдаёт ошибки #1

Open
artemandrushko opened this issue Jan 28, 2024 · 2 comments

Comments

@artemandrushko
Copy link

Exception in thread Thread 2:
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.496.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1073, in _bootstrap_inner
self.run()
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.12_3.12.496.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1010, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\lbicb\PycharmProjects\DuolingoHackExperience\main.py", line 17, in my_timer
send_requests()
File "C:\Users\lbicb\PycharmProjects\DuolingoHackExperience\main.py", line 8, in send_requests
myId = data["id"]
~~~~^^^^^^
TypeError: 'NoneType' object is not subscriptable
HTTP Request failed

@st-man
Copy link

st-man commented Aug 28, 2024

Подтверждаю. От версии python не зависит. Пробовал 3.8.6, 3.10.5 и 3.12.3
Точно такие-же ошибки.

@artemandrushko
Copy link
Author

Подтверждаю. От версии python не зависит. Пробовал 3.8.6, 3.10.5 и 3.12.3 Точно такие-же ошибки.

Я проверил на маке и там всё работает. На винде так и продолжает не работать.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants