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

Show error message that Wayland is not supported #72

Open
mikebarkmin opened this issue Sep 27, 2023 · 0 comments
Open

Show error message that Wayland is not supported #72

mikebarkmin opened this issue Sep 27, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@mikebarkmin
Copy link

pynput does not support Wayland. Unfortunately, it took me a while to figure out why the RecorderService did not work.

I got the message: The extra packages required by manim_voiceover[recorder] are not installed .... This is a misleading error, since they were installed, but pynput did not load. Pynput did not load because it does not work on Wayland.

I would suggest adding something like this to the helper.py at around line 162 in the error handling block:

        if "failed to acquire X connection" in str(e):
            raise ImportError(
                f'Wayland is not supported!'
            )
@mikebarkmin mikebarkmin added the enhancement New feature or request label Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants