techtanic/Discounted-Udemy-Course-Enroller

[Bug]: Unhandled exception in script

Closed this issue · 3 comments

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

  • I am using the latest version available.
  • I agree to follow this project's Code of Conduct
vhick commented

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'))

Can you tell me the steps to reproduce it

Using "auto login" causes this error.