techtanic / Discounted-Udemy-Course-Enroller

A script/software for automatically enrolling/joining 100% discounted Udemy courses for free. Get Paid Udemy courses for free with just a few clicks.
https://duce.techtanic.space
MIT License
785 stars 227 forks source link

[Bug]: There is an issue while running the program[ the error occurs when i am starting it ] #157

Closed revanthnandhan closed 2 months ago

revanthnandhan commented 10 months ago

What happened?

I am having this error which gives me some exception. It is occuring when i am running the program. I believe i lack some requirements but i failed to find any requirements section so if u could provide me with minimum requirements i would be glad to run it on my computer

raceback (most recent call last): File "base.py", line 328, in load_settings with open(f"duce-{self.interface}-settings.json") as f: FileNotFoundError: [Errno 2] No such file or directory: 'duce-gui-settings.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "urllib3\connection.py", line 174, in _new_conn File "urllib3\util\connection.py", line 95, in create_connection File "urllib3\util\connection.py", line 85, in create_connection TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "urllib3\connectionpool.py", line 703, in urlopen File "urllib3\connectionpool.py", line 386, in _make_request File "urllib3\connectionpool.py", line 1042, in _validate_conn File "urllib3\connection.py", line 363, in connect File "urllib3\connection.py", line 179, in _new_conn urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x0000020DE1FB1540>, 'Connection to raw.githubusercontent.com timed out. (connect timeout=None)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "requests\adapters.py", line 487, in send File "urllib3\connectionpool.py", line 787, in urlopen File "urllib3\util\retry.py", line 592, in increment urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /techtanic/Discounted-Udemy-Course-Enroller/master/duce-gui-settings.json (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000020DE1FB1540>, 'Connection to raw.githubusercontent.com timed out. (connect timeout=None)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "gui.py", line 123, in File "base.py", line 332, in load_settings requests.get( File "requests\api.py", line 73, in get File "requests\api.py", line 59, in request File "requests\sessions.py", line 587, in request File "requests\sessions.py", line 701, in send File "requests\adapters.py", line 508, in send requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /techtanic/Discounted-Udemy-Course-Enroller/master/duce-gui-settings.json (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000020DE1FB1540>, 'Connection to raw.githubusercontent.com timed out. (connect timeout=None)'))

image

https://i.imgur.com/XrWFshg.png

https://i.imgur.com/ByaaMBE.png

Enroller

GUI

OS

Windows

Relevant log output

Traceback (most recent call last):
  File "base.py", line 328, in load_settings
    with open(f"duce-{self.interface}-settings.json") as f:
FileNotFoundError: [Errno 2] No such file or directory: 'duce-gui-settings.json'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "urllib3\connection.py", line 174, in _new_conn
  File "urllib3\util\connection.py", line 95, in create_connection
  File "urllib3\util\connection.py", line 85, in create_connection
TimeoutError: [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "urllib3\connectionpool.py", line 703, in urlopen
  File "urllib3\connectionpool.py", line 386, in _make_request
  File "urllib3\connectionpool.py", line 1042, in _validate_conn
  File "urllib3\connection.py", line 363, in connect
  File "urllib3\connection.py", line 179, in _new_conn
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x0000020DE1FB1540>, 'Connection to raw.githubusercontent.com timed out. (connect timeout=None)')

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "requests\adapters.py", line 487, in send
  File "urllib3\connectionpool.py", line 787, in urlopen
  File "urllib3\util\retry.py", line 592, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /techtanic/Discounted-Udemy-Course-Enroller/master/duce-gui-settings.json (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000020DE1FB1540>, 'Connection to raw.githubusercontent.com timed out. (connect timeout=None)'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "gui.py", line 123, in <module>
  File "base.py", line 332, in load_settings
    requests.get(
  File "requests\api.py", line 73, in get
  File "requests\api.py", line 59, in request
  File "requests\sessions.py", line 587, in request
  File "requests\sessions.py", line 701, in send
  File "requests\adapters.py", line 508, in send
requests.exceptions.ConnectTimeout: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /techtanic/Discounted-Udemy-Course-Enroller/master/duce-gui-settings.json (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x0000020DE1FB1540>, 'Connection to raw.githubusercontent.com timed out. (connect timeout=None)'))

Terms