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

[Bug]: Unhandled exception in script #154

Open
2 tasks done
akaruihoseki opened this issue Aug 2, 2023 · 3 comments
Open
2 tasks done

[Bug]: Unhandled exception in script #154

akaruihoseki opened this issue Aug 2, 2023 · 3 comments
Labels
Status: Awaiting Response Waiting for a response/more information. Type: Bug Something isn't working

Comments

@akaruihoseki
Copy link

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
@akaruihoseki akaruihoseki added the Type: Bug Something isn't working label Aug 2, 2023
@vhick
Copy link

vhick commented Aug 20, 2023

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
Copy link
Owner

Can you tell me the steps to reproduce it

@techtanic techtanic added the Status: Awaiting Response Waiting for a response/more information. label Oct 23, 2023
@akaruihoseki
Copy link
Author

Using "auto login" causes this error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Awaiting Response Waiting for a response/more information. Type: Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants