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]: Unhandled exception in script #154

Closed akaruihoseki closed 2 months ago

akaruihoseki commented 1 year ago

What happened?

Failed to execute script' gui' due to unhandled exception: unable to open database file

Traceback (most recent call last): File "gui.py", line 133, in File "base.py", line 362, in fetch_cookies cookies = browser_cookie3.load(domain_name="www.udemy.com") File "browser_cookie3__init.py", line 1035, in load File "browser_cookie3__init__.py", line 973, in chrome File "browser_cookie3__init__.py", line 387, in load File "browser_cookie3\init__.py", line 145, in _sqlite3_connect_readonly sqlite3.OperationalError: unable to open database file image

Enroller

GUI

OS

Windows

Relevant log output

No response

Terms

vhick commented 1 year ago

image

Same unhandled exception in the script but different error:

Traceback (most recent call last): File "urllib3\connection.py", line 174, in _new_conn File "urllib3\util\connection.py", line 72, in create_connection File "socket.py", line 955, in getaddrinfo socket.gaierror: [Errno 11004] getaddrinfo failed

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 186, in _new_conn urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x000002B833F58430>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed

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='api.github.com', port=443): Max retries exceeded with url: /repos/techtanic/Discounted-Udemy-Course-Enroller/releases/latest (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002B833F58430>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "gui.py", line 124, in File "base.py", line 484, in check_for_update 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 520, in send requests.exceptions.ConnectionError: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /repos/techtanic/Discounted-Udemy-Course-Enroller/releases/latest (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x000002B833F58430>: Failed to establish a new connection: [Errno 11004] getaddrinfo failed'))

techtanic commented 10 months ago

Can you tell me the steps to reproduce it

akaruihoseki commented 10 months ago

Using "auto login" causes this error.