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

GUI Mode Working in Terminal on macOS (with Camera Access Prompt) #283

Closed
haoruizhou opened this issue Sep 7, 2024 · 1 comment · Fixed by #287
Closed

GUI Mode Working in Terminal on macOS (with Camera Access Prompt) #283

haoruizhou opened this issue Sep 7, 2024 · 1 comment · Fixed by #287

Comments

@haoruizhou
Copy link

Issue: GUI Mode Working in Terminal on macOS (with Camera Access Prompt)

Description:
I am providing this remark that the GUI mode does work in Terminal, but requires additional steps for camera access.

Tested Version:
extract_otp_secrets_2.8.1_macos_x86_64 on macOS Sequoia 15.1 beta.

Steps to Reproduce:

  1. Run the program in Terminal for the first time.
  2. Wait approximately 30 seconds - 1 minute on the first run. Terminal will display the following error:
    OpenCV: not authorized to capture video (status 0), requesting...
    OpenCV: camera failed to properly initialize!
    
  3. macOS will then prompt to request camera access.
  4. After allowing camera access, rerun the program.
  5. On the second run, the GUI prompt shows correctly and is fully operable.

Additional Context:

This is in response to the reported issue:

"⚠️ It seems the GUI mode is not working in Terminal on macOS. In tests no GUI window was opened. (Remarks and hints about macOS are welcome since I do not know macOS.)"

It appears that the issue is related to camera access permissions in macOS, and once allowed, the GUI functions as expected.

@scito scito closed this as completed in #287 Sep 8, 2024
@scito scito closed this as completed in 7c31f98 Sep 8, 2024
scito added a commit that referenced this issue Sep 8, 2024
improve macOS cmd instructions, fixes #283
@scito
Copy link
Owner

scito commented Sep 8, 2024

Thanks for the contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants