Closed ZerXGIT closed 3 years ago
Please try to create a virtual env on your machine. https://github.com/Tkd-Alex/Twitch-Channel-Points-Miner-v2/#how-to-use
Now there is a new Error when i run the script (python3 run.py):
Traceback (most recent call last):
File "run.py", line 5, in
We have already discussed this kind on problems in other issue. You are currently using a wrong version of python
No I am running with (python3.8 run.py)
Next error:
24/03/21 15:43:33 - INFO - [login_flow]: You'll have to login to Twitch!
24/03/21 15:43:34 - ERROR - [login_flow]: Unknown error: {'error': 'Incorrect username or password.', 'error_code': 1014, 'error_description': 'user does not exist'}
Traceback (most recent call last):
File "run.py", line 62, in
Well, obviously 'error_description': 'user does not exist'
means that your username is not found on the twitch platform. This is probably a typo on your end.
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior: run run.py (python3.8 run.py)
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/home/testing/.local/lib/python3.8/site-packages/requests/adapters.py", line 439, in send resp = conn.urlopen( File "/home/testing/.local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen retries = retries.increment( File "/home/testing/.local/lib/python3.8/site-packages/urllib3/util/retry.py", line 573, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.twitch.tv', port=443): Max retries exceeded with url: /helix/users?login=papaplatte (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "run.py", line 47, in
twitch_miner.mine(
File "/home/testing/Twitch-Channel-Points-Miner-v2/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 97, in mine
self.run(streamers, followers)
File "/home/testing/Twitch-Channel-Points-Miner-v2/TwitchChannelPointsMiner/TwitchChannelPointsMiner.py", line 155, in run
streamer.channel_id = self.twitch.get_channel_id(username)
File "/home/testing/Twitch-Channel-Points-Miner-v2/TwitchChannelPointsMiner/classes/Twitch.py", line 359, in get_channel_id
json_response = self.__do_helix_request(f"/users?login={streamer_username}")
File "/home/testing/Twitch-Channel-Points-Miner-v2/TwitchChannelPointsMiner/classes/Twitch.py", line 389, in __do_helix_request
response = self.twitch_login.session.get(url)
File "/home/testing/.local/lib/python3.8/site-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, kwargs)
File "/home/testing/.local/lib/python3.8/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, send_kwargs)
File "/home/testing/.local/lib/python3.8/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/home/testing/.local/lib/python3.8/site-packages/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='api.twitch.tv', port=443): Max retries exceeded with url: /helix/users?login=papaplatte (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available."))
Expected behavior A clear and concise description of what you expected to happen.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.